I am having issues with starting my database after trying to update apoc.
I replaced apoc-*.jar in the plugins folder:
In short it says:
Plugin jar file: /var/lib/neo4j/plugins/apoc-4.1.0.0-all.jar corrupted.
see more detailed debug info below see [1].
It ends up in a restart loop.
I am following these instructions: https://neo4j.com/labs/apoc/4.1/installation/
It seems that the Github releases provide corrupted files.
When using the jar file from my Neo4j Desktop the database starts again.
Any ideas how to solve that?
I have all the necessary conf file lines added.
Also downloaded the files newly from Github already.
I am using:
neo4j version 4.1.0 community edition
apoc-4.1.0.1
also tried apoc-4.1.0.2-all.jar or apoc-4.1.0.0-all.jar from Github.
[1] More detailed debug info mentioned above:
2020-10-12 08:42:05.762+0000 INFO [o.n.k.a.DatabaseAvailabilityGuard] [system] Database system is ready.
2020-10-12 08:42:05.763+0000 INFO [o.n.m.DatabaseHealth] [system] Database health set to OK
2020-10-12 08:42:05.765+0000 ERROR [o.n.k.a.p.GlobalProcedures] Plugin jar file: /var/lib/neo4j/plugins/apoc-4.1.0.0-all.jar corrupted.
2020-10-12 08:42:05.768+0000 INFO [o.n.d.d.DefaultDatabaseManager] Stop 'system' database.
2020-10-12 08:42:05.769+0000 INFO [o.n.k.a.DatabaseAvailabilityGuard] [system] Requirement `Database unavailable` makes database system unavailable.
2020-10-12 08:42:05.769+0000 INFO [o.n.k.a.DatabaseAvailabilityGuard] [system] Database system is unavailable.
2020-10-12 08:42:05.786+0000 INFO [o.n.k.i.t.l.c.CheckPointerImpl] [system] Checkpoint triggered by "Database shutdown" @ txId: 25 checkpoint started...
2020-10-12 08:42:05.871+0000 INFO [o.n.k.i.t.l.c.CheckPointerImpl] [system] Checkpoint triggered by "Database shutdown" @ txId: 25 checkpoint completed in 83ms
2020-10-12 08:42:05.885+0000 INFO [o.n.k.i.t.l.p.LogPruningImpl] [system] No log version pruned. The strategy used was '7 days'. Last checkpoint was made in log version 0.
2020-10-12 08:42:05.936+0000 ERROR [o.n.g.f.DatabaseManagementServiceFactory] Error starting Neo4j database server at /var/lib/neo4j/data/databases Component 'org.neo4j.procedure.impl.GlobalProceduresRegistry@6dfa915a' was successfully initialized, but failed to start. Please see the attached cause exception "Some jar procedure files are invalid, see log for details.".
org.neo4j.kernel.lifecycle.LifecycleException: Component 'org.neo4j.procedure.impl.GlobalProceduresRegistry@6dfa915a' was successfully initialized, but failed to start. Please see the attached cause exception "Some jar procedure files are invalid, see log for details.".
at org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.start(LifeSupport.java:463)
at org.neo4j.kernel.lifecycle.LifeSupport.start(LifeSupport.java:110)
at org.neo4j.graphdb.facade.DatabaseManagementServiceFactory.startDatabaseServer(DatabaseManagementServiceFactory.java:189)
at org.neo4j.graphdb.facade.DatabaseManagementServiceFactory.build(DatabaseManagementServiceFactory.java:158)
at org.neo4j.server.CommunityBootstrapper.createNeo(CommunityBootstrapper.java:36)
at org.neo4j.server.NeoBootstrapper.start(NeoBootstrapper.java:117)
at org.neo4j.server.NeoBootstrapper.start(NeoBootstrapper.java:87)
at org.neo4j.server.CommunityEntryPoint.main(CommunityEntryPoint.java:35)
Caused by: java.util.zip.ZipException: Some jar procedure files are invalid, see log for details.
at org.neo4j.procedure.impl.ProcedureJarLoader.loadProceduresFromDir(ProcedureJarLoader.java:76)
at org.neo4j.procedure.impl.GlobalProceduresRegistry.start(GlobalProceduresRegistry.java:342)
at org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.start(LifeSupport.java:442)
... 7 more
2020-10-12 08:42:05.936+0000 INFO [o.n.g.f.DatabaseManagementServiceFactory] Shutdown started