I have a docker environment where I am upgrading
Neo4j from 4.3 to 5.5 failed with the below exception.
Added below setting in neo4j.conf file
dbms.security.procedures.unrestricted=apoc.*
Logs
[neo4j/b59ed865] error upon initialization, running: CALL apoc.cypher.runSchemaFile("file")
org.neo4j.graphdb.QueryExecutionException: There is no procedure with the name apoc.cypher.runSchemaFile
registered for this database instance. Please ensure you've spelled the procedure name correctly and that the procedure is properly deployed.
at org.neo4j.kernel.impl.query.QueryExecutionKernelException.asUserException(QueryExecutionKernelException.java:32) ~[neo4j-kernel-5.5.0.jar:5.5.0]
at org.neo4j.kernel.impl.coreapi.TransactionImpl.execute(TransactionImpl.java:239) ~[neo4j-kernel-5.5.0.jar:5.5.0]
at org.neo4j.kernel.impl.coreapi.TransactionImpl.execute(TransactionImpl.java:225) ~[neo4j-kernel-5.5.0.jar:5.5.0]
at org.neo4j.kernel.impl.coreapi.TransactionImpl.execute(TransactionImpl.java:220) ~[neo4j-kernel-5.5.0.jar:5.5.0]
at apoc.cypher.CypherInitializer.lambda$available$0(CypherInitializer.java:80) ~[apoc.jar:5.5.0]
at apoc.util.Util.retryInTx(Util.java:167) ~[apoc.jar:5.5.0]
at apoc.util.Util.retryInTx(Util.java:177) ~[apoc.jar:5.5.0]
at apoc.util.Util.retryInTx(Util.java:177) ~[apoc.jar:5.5.0]
at apoc.util.Util.retryInTx(Util.java:177) ~[apoc.jar:5.5.0]
at apoc.util.Util.retryInTx(Util.java:177) ~[apoc.jar:5.5.0]
at apoc.util.Util.retryInTx(Util.java:177) ~[apoc.jar:5.5.0]
at apoc.cypher.CypherInitializer.lambda$available$2(CypherInitializer.java:80) ~[apoc.jar:5.5.0]
at java.lang.Thread.run(Thread.java:833) ~[?:?]
Caused by: org.neo4j.kernel.impl.query.QueryExecutionKernelException: There is no procedure with the name apoc.cypher.runSchemaFile
registered for this database instance. Please ensure you've spelled the procedure name correctly and that the procedure is properly deployed.
at org.neo4j.cypher.internal.javacompat.ExecutionEngine.executeQuery(ExecutionEngine.java:123) ~[neo4j-cypher-5.5.0.jar:5.5.0]
at org.neo4j.cypher.internal.javacompat.ExecutionEngine.executeQuery(ExecutionEngine.java:106) ~[neo4j-cypher-5.5.0.jar:5.5.0]
at org.neo4j.kernel.impl.coreapi.TransactionImpl.execute(TransactionImpl.java:235) ~[neo4j-kernel-5.5.0.jar:5.5.0]
... 11 more
Caused by: org.neo4j.exceptions.CypherExecutionException: There is no procedure with the name apoc.cypher.runSchemaFile
registered for this database instance. Please ensure you've spelled the procedure name correctly and that the procedure is properly deployed.
at org.neo4j.cypher.internal.spi.ExceptionTranslatingPlanContext.procedureSignature(ExceptionTranslatingPlanContext.scala:119) ~[neo4j-cypher-5.5.0.jar:5.5.0]
at org.neo4j.cypher.internal.compiler.phases.RewriteProcedureCalls.$anonfun$resolveProcedure$1(RewriteProcedureCalls.scala:70) ~[neo4j-cypher-planner-5.5.0.jar:5.5.0]