Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

APOC 5.14.0 Crashes Neo4j On Startup #548

Closed
inf3rnus opened this issue Dec 2, 2023 · 11 comments
Closed

APOC 5.14.0 Crashes Neo4j On Startup #548

inf3rnus opened this issue Dec 2, 2023 · 11 comments
Assignees

Comments

@inf3rnus
Copy link

inf3rnus commented Dec 2, 2023

Expected Behavior (Mandatory)

Inits DB successfully

Actual Behavior (Mandatory)

Does not init DB successfully

How to Reproduce the Problem

  1. Install Neo4j Desktop
  2. Create a new DB, Neo4j DB version 5.14.0
  3. Install the APOC 5.14.0 plugin
  4. Start the DB
  5. Watch it explode

Specifications (Mandatory)

Versions

  • OS: Ubuntu 18.04 LTS
  • Neo4j: 5.14.0
  • Neo4j-Apoc: 5.14.0
  • Java: java 21.0.1 2023-10-17 LTS (Also failed for openjdk 17.0.7 2023-04-18)
  • Neo4j Desktop 1.5.9

Some logs for your convenience:

2023-12-02 00:42:12.495+0000 WARN  Use of deprecated setting 'dbms.backup.enabled'. It is replaced by 'server.backup.enabled'.
2023-12-02 00:42:12.495+0000 WARN  Use of deprecated setting 'dbms.jvm.additional'. It is replaced by 'server.jvm.additional'.
2023-12-02 00:42:12.495+0000 WARN  Use of deprecated setting 'dbms.memory.pagecache.size'. It is replaced by 'server.memory.pagecache.size'.
2023-12-02 00:42:12.495+0000 WARN  Use of deprecated setting 'dbms.memory.heap.max_size'. It is replaced by 'server.memory.heap.max_size'.
2023-12-02 00:42:12.496+0000 WARN  Use of deprecated setting 'dbms.memory.heap.initial_size'. It is replaced by 'server.memory.heap.initial_size'.
2023-12-02 00:42:12.502+0000 INFO  Starting...
2023-12-02 00:42:13.966+0000 INFO  ======== Neo4j 5.14.0 ========
2023-12-02 00:42:13.979+0000 INFO  This instance is ServerId{e1870003} (e1870003-a1b2-4c64-a8c7-50d154a9779c)
2023-12-02 00:42:14.005+0000 INFO  Progress tracking: enabled
2023-12-02 00:42:14.005+0000 INFO  Memory usage guard: minimum estimate
2023-12-02 00:42:14.006+0000 INFO  GDS license file: null
2023-12-02 00:42:14.006+0000 INFO  GDS license state: unlicensed
2023-12-02 00:42:14.006+0000 INFO  Arrow write back: disabled
2023-12-02 00:42:14.008+0000 INFO  Register GraphDataScience...
2023-12-02 00:42:14.017+0000 INFO  GraphDataScience registered.
2023-12-02 00:42:14.017+0000 INFO  Register GraphDataScienceExtras...
2023-12-02 00:42:14.017+0000 INFO  GraphDataScienceExtras registered.
2023-12-02 00:42:14.017+0000 INFO  Register MetricsFacade...
2023-12-02 00:42:14.018+0000 INFO  MetricsFacade registered.
2023-12-02 00:42:14.018+0000 INFO  Register legacy Task Store/ Registry...
2023-12-02 00:42:14.018+0000 INFO  Task Store/ Registry registered.
2023-12-02 00:42:14.018+0000 INFO  Register legacy User Log Registry...
2023-12-02 00:42:14.019+0000 INFO  User Log Registry registered.
2023-12-02 00:42:14.156+0000 INFO  GDS compatibility: for Neo4j Settings 5.x -- available, for Neo4j Settings 4.4 -- not available, selected: Neo4j Settings 5.x
2023-12-02 00:42:14.156+0000 INFO  GDS compatibility: for Neo4j 4.4 -- not available, for Neo4j 5.6 -- not available, for Neo4j 5.7 -- not available, for Neo4j 5.8 -- not available, for Neo4j 5.9 -- not available, for Neo4j 5.10 -- not available, for Neo4j 5.11 -- not available, for Neo4j 5.12 -- not available, for Neo4j 5.13 -- not available, for Neo4j 5.14 -- available, selected: Neo4j 5.14
2023-12-02 00:42:29.518+0000 ERROR Failed to start Neo4j on localhost:7474.
java.lang.RuntimeException: Error starting Neo4j database server at /home/inf3rnus/.config/Neo4j Desktop/Application/relate-data/dbmss/dbms-f28ad998-477a-418d-8034-522f5482d009/data/databases
	at org.neo4j.graphdb.facade.DatabaseManagementServiceFactory.startDatabaseServer(DatabaseManagementServiceFactory.java:272) ~[neo4j-5.14.0.jar:5.14.0]
	at org.neo4j.graphdb.facade.DatabaseManagementServiceFactory.build(DatabaseManagementServiceFactory.java:208) ~[neo4j-5.14.0.jar:5.14.0]
	at com.neo4j.server.enterprise.EnterpriseDBMSProvider.createManagementService(EnterpriseDBMSProvider.java:39) ~[neo4j-enterprise-5.14.0.jar:5.14.0]
	at com.neo4j.server.enterprise.EnterpriseDBMSProvider.<init>(EnterpriseDBMSProvider.java:29) ~[neo4j-enterprise-5.14.0.jar:5.14.0]
	at com.neo4j.server.enterprise.EnterpriseDBMSFactory.createManagementService(EnterpriseDBMSFactory.java:19) ~[neo4j-enterprise-5.14.0.jar:5.14.0]
	at com.neo4j.server.enterprise.EnterpriseBootstrapper.createNeo(EnterpriseBootstrapper.java:25) ~[neo4j-enterprise-5.14.0.jar:5.14.0]
	at org.neo4j.server.NeoBootstrapper.start(NeoBootstrapper.java:187) [neo4j-5.14.0.jar:5.14.0]
	at org.neo4j.server.NeoBootstrapper.start(NeoBootstrapper.java:99) [neo4j-5.14.0.jar:5.14.0]
	at com.neo4j.server.enterprise.EnterpriseEntryPoint.main(EnterpriseEntryPoint.java:19) [neo4j-enterprise-5.14.0.jar:5.14.0]
Caused by: org.neo4j.kernel.lifecycle.LifecycleException: Component 'org.neo4j.procedure.impl.GlobalProceduresRegistry@59d5c537' was successfully initialized, but failed to start. Please see the attached cause exception "Failed to register procedures for the following reasons:".
	at org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.start(LifeSupport.java:364) ~[neo4j-common-5.14.0.jar:5.14.0]
	at org.neo4j.kernel.lifecycle.LifeSupport.start(LifeSupport.java:91) ~[neo4j-common-5.14.0.jar:5.14.0]
	at org.neo4j.graphdb.facade.DatabaseManagementServiceFactory.startDatabaseServer(DatabaseManagementServiceFactory.java:263) ~[neo4j-5.14.0.jar:5.14.0]
	... 8 more
Caused by: org.neo4j.internal.kernel.api.exceptions.ProcedureException: Failed to register procedures for the following reasons:
	at org.neo4j.procedure.impl.ProcedureClassLoader.resolve(ProcedureClassLoader.java:190) ~[neo4j-procedure-5.14.0.jar:5.14.0]
	at org.neo4j.procedure.impl.ProcedureClassLoader.resolveAll(ProcedureClassLoader.java:135) ~[neo4j-procedure-5.14.0.jar:5.14.0]
	at org.neo4j.procedure.impl.ProcedureClassLoader.setup(ProcedureClassLoader.java:84) ~[neo4j-procedure-5.14.0.jar:5.14.0]
	at org.neo4j.procedure.impl.ProcedureClassLoader.setup(ProcedureClassLoader.java:62) ~[neo4j-procedure-5.14.0.jar:5.14.0]
	at org.neo4j.procedure.impl.ProcedureJarLoader.loadProceduresFromDir(ProcedureJarLoader.java:82) ~[neo4j-procedure-5.14.0.jar:5.14.0]
	at org.neo4j.procedure.impl.GlobalProceduresRegistry.unguardedLoadFromDisk(GlobalProceduresRegistry.java:240) ~[neo4j-procedure-5.14.0.jar:5.14.0]
	at org.neo4j.procedure.impl.GlobalProceduresRegistry.start(GlobalProceduresRegistry.java:209) ~[neo4j-procedure-5.14.0.jar:5.14.0]
	at org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.start(LifeSupport.java:347) ~[neo4j-common-5.14.0.jar:5.14.0]
	at org.neo4j.kernel.lifecycle.LifeSupport.start(LifeSupport.java:91) ~[neo4j-common-5.14.0.jar:5.14.0]
	at org.neo4j.graphdb.facade.DatabaseManagementServiceFactory.startDatabaseServer(DatabaseManagementServiceFactory.java:263) ~[neo4j-5.14.0.jar:5.14.0]
	... 8 more
	Suppressed: java.lang.IncompatibleClassChangeError: class org.objectweb.asm.CurrentFrame cannot inherit from final class org.objectweb.asm.Frame
		at java.lang.ClassLoader.defineClass1(Native Method) ~[?:?]
		at java.lang.ClassLoader.defineClass(ClassLoader.java:1012) ~[?:?]
		at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:150) ~[?:?]
		at jdk.internal.loader.BuiltinClassLoader.defineClass(BuiltinClassLoader.java:862) ~[?:?]
		at jdk.internal.loader.BuiltinClassLoader.findClassOnClassPathOrNull(BuiltinClassLoader.java:760) ~[?:?]
		at jdk.internal.loader.BuiltinClassLoader.loadClassOrNull(BuiltinClassLoader.java:681) ~[?:?]
		at jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:639) ~[?:?]
		at jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:188) ~[?:?]
		at java.lang.ClassLoader.loadClass(ClassLoader.java:574) ~[?:?]
		at java.lang.ClassLoader.loadClass(ClassLoader.java:520) ~[?:?]
		at org.neo4j.procedure.impl.ProcedureClassLoader.resolve(ProcedureClassLoader.java:150) ~[neo4j-procedure-5.14.0.jar:5.14.0]
		at org.neo4j.procedure.impl.ProcedureClassLoader.resolveAll(ProcedureClassLoader.java:135) ~[neo4j-procedure-5.14.0.jar:5.14.0]
		at org.neo4j.procedure.impl.ProcedureClassLoader.setup(ProcedureClassLoader.java:84) ~[neo4j-procedure-5.14.0.jar:5.14.0]
		at org.neo4j.procedure.impl.ProcedureClassLoader.setup(ProcedureClassLoader.java:62) ~[neo4j-procedure-5.14.0.jar:5.14.0]
		at org.neo4j.procedure.impl.ProcedureJarLoader.loadProceduresFromDir(ProcedureJarLoader.java:82) ~[neo4j-procedure-5.14.0.jar:5.14.0]
		at org.neo4j.procedure.impl.GlobalProceduresRegistry.unguardedLoadFromDisk(GlobalProceduresRegistry.java:240) ~[neo4j-procedure-5.14.0.jar:5.14.0]
		at org.neo4j.procedure.impl.GlobalProceduresRegistry.start(GlobalProceduresRegistry.java:209) ~[neo4j-procedure-5.14.0.jar:5.14.0]
		at org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.start(LifeSupport.java:347) ~[neo4j-common-5.14.0.jar:5.14.0]
		at org.neo4j.kernel.lifecycle.LifeSupport.start(LifeSupport.java:91) ~[neo4j-common-5.14.0.jar:5.14.0]
		at org.neo4j.graphdb.facade.DatabaseManagementServiceFactory.startDatabaseServer(DatabaseManagementServiceFactory.java:263) ~[neo4j-5.14.0.jar:5.14.0]
		at org.neo4j.graphdb.facade.DatabaseManagementServiceFactory.build(DatabaseManagementServiceFactory.java:208) ~[neo4j-5.14.0.jar:5.14.0]
		at com.neo4j.server.enterprise.EnterpriseDBMSProvider.createManagementService(EnterpriseDBMSProvider.java:39) ~[neo4j-enterprise-5.14.0.jar:5.14.0]
		at com.neo4j.server.enterprise.EnterpriseDBMSProvider.<init>(EnterpriseDBMSProvider.java:29) ~[neo4j-enterprise-5.14.0.jar:5.14.0]
		at com.neo4j.server.enterprise.EnterpriseDBMSFactory.createManagementService(EnterpriseDBMSFactory.java:19) ~[neo4j-enterprise-5.14.0.jar:5.14.0]
		at com.neo4j.server.enterprise.EnterpriseBootstrapper.createNeo(EnterpriseBootstrapper.java:25) ~[neo4j-enterprise-5.14.0.jar:5.14.0]
		at org.neo4j.server.NeoBootstrapper.start(NeoBootstrapper.java:187) [neo4j-5.14.0.jar:5.14.0]
		at org.neo4j.server.NeoBootstrapper.start(NeoBootstrapper.java:99) [neo4j-5.14.0.jar:5.14.0]
		at com.neo4j.server.enterprise.EnterpriseEntryPoint.main(EnterpriseEntryPoint.java:19) [neo4j-enterprise-5.14.0.jar:5.14.0]
2023-12-02 00:42:29.519+0000 INFO  Neo4j Server shutdown initiated by request
2023-12-02 00:42:29.519+0000 INFO  Stopped.

Chat GPT says there's a mismatch between the compiled libraries and the libraries they rely on. .jar's too complex for me to make any progress on myself in a reasonable amount of time, although it is a tempting bug hunt.

I'm probably not the only one experiencing this problem, but it's really frustrating because the thing I need to test is a .dump from Aura and that .dump does not work on lower versions of neo4j.

With that said, apoc-5.14.0-core.jar does work with neo4j-enterprise via the .tar.gz based install (neo4j being run directly from the terminal)... And if this is useful info, it was not working earlier this week, and now happens to be working on my machine today... So either the contents of the .jar with the label apoc-5.14.0-core.jar changed on your releases page, or something weird is happening with specifically my machine.

O yeah, one other thing I tried was taking apoc-5.14.0-core.jar that's working on the .tar.gz based install, and I tried adding it as a plugin to the version of neorj 5.14.0 that I'm running in Neo4j Desktop. This produced the same error. Config file says to allow all apoc.* procedures, so hopefully that's also some useful info.

Team neo4j to the rescue! Please save me <3

@Lojjs
Copy link
Contributor

Lojjs commented Dec 4, 2023

Hi @inf3rnus, this sounds concerning. I have not heard this from anyone else and our testing of 5.14 did not indicate any issues.

According to the stacktrace this seems to be the main issue:

java.lang.IncompatibleClassChangeError: class org.objectweb.asm.CurrentFrame cannot inherit from final class org.objectweb.asm.Frame

CurrentFrame and Frame are part of ow2.asm. In our dependencies trees I can see:

  • Neo4j has ow2.asm 9.6 as a dependency. This has been updated from 9.5 in Neo4j 5.14
  • APOC has ow2.asm 9.3 and ow2.asm 5.0.3 as a transitive dependencies from some other dependencies. This has not been changed recently.

I guess there might be some conflict between the different versions here, but it surprises me that others have not seen it. Do you have some other plugin/library apart from APOC installed?

@Lojjs Lojjs self-assigned this Dec 4, 2023
@inf3rnus
Copy link
Author

inf3rnus commented Dec 4, 2023

Yeah, definitely is gnarly

I guess there might be some conflict between the different versions here, but it surprises me that others have not seen it. Do you have some other plugin/library apart from APOC installed?

Nope, this occurs when instantiating a brand new 5.14 db and then installing the plugin. Checked the plugins folder as well and there's only the jwt plugin and the apoc plugin installed.

If it's useful, what I have not done is attempted to download Neo4j Desktop completely fresh. Current version I'm using has been upgraded over a few years gradually. I doubt that is a likely culprit, but I suppose it's possible.

If you guys have VM's I'd see if you can replicate it on Ubuntu 18.04 with virtual box or something, if so, that would certainly eliminate something specific with my machine from the mix/make it easier to hunt down the bug.

@inf3rnus
Copy link
Author

inf3rnus commented Dec 4, 2023

One other thing, previous versions, e.g. 5.13 work fine with their respective APOC plugin

@Lojjs
Copy link
Contributor

Lojjs commented Dec 5, 2023

@inf3rnus Are you using AuraDS or some sort of GDS plugin? Because I can see GDS output in your stacktrace

@inf3rnus
Copy link
Author

inf3rnus commented Dec 5, 2023

O you're right, here's the stack trace with it uninstalled

2023-12-05 16:41:33.893+0000 INFO  Starting...
2023-12-05 16:41:35.248+0000 INFO  ======== Neo4j 5.14.0 ========
2023-12-05 16:41:35.261+0000 INFO  This instance is ServerId{e1870003} (e1870003-a1b2-4c64-a8c7-50d154a9779c)
2023-12-05 16:41:44.564+0000 ERROR Failed to start Neo4j on localhost:7474.
java.lang.RuntimeException: Error starting Neo4j database server at /home/inf3rnus/.config/Neo4j Desktop/Application/relate-data/dbmss/dbms-f28ad998-477a-418d-8034-522f5482d009/data/databases
	at org.neo4j.graphdb.facade.DatabaseManagementServiceFactory.startDatabaseServer(DatabaseManagementServiceFactory.java:272) ~[neo4j-5.14.0.jar:5.14.0]
	at org.neo4j.graphdb.facade.DatabaseManagementServiceFactory.build(DatabaseManagementServiceFactory.java:208) ~[neo4j-5.14.0.jar:5.14.0]
	at com.neo4j.server.enterprise.EnterpriseDBMSProvider.createManagementService(EnterpriseDBMSProvider.java:39) ~[neo4j-enterprise-5.14.0.jar:5.14.0]
	at com.neo4j.server.enterprise.EnterpriseDBMSProvider.<init>(EnterpriseDBMSProvider.java:29) ~[neo4j-enterprise-5.14.0.jar:5.14.0]
	at com.neo4j.server.enterprise.EnterpriseDBMSFactory.createManagementService(EnterpriseDBMSFactory.java:19) ~[neo4j-enterprise-5.14.0.jar:5.14.0]
	at com.neo4j.server.enterprise.EnterpriseBootstrapper.createNeo(EnterpriseBootstrapper.java:25) ~[neo4j-enterprise-5.14.0.jar:5.14.0]
	at org.neo4j.server.NeoBootstrapper.start(NeoBootstrapper.java:187) [neo4j-5.14.0.jar:5.14.0]
	at org.neo4j.server.NeoBootstrapper.start(NeoBootstrapper.java:99) [neo4j-5.14.0.jar:5.14.0]
	at com.neo4j.server.enterprise.EnterpriseEntryPoint.main(EnterpriseEntryPoint.java:19) [neo4j-enterprise-5.14.0.jar:5.14.0]
Caused by: org.neo4j.kernel.lifecycle.LifecycleException: Component 'org.neo4j.procedure.impl.GlobalProceduresRegistry@79cdf2d4' was successfully initialized, but failed to start. Please see the attached cause exception "Failed to register procedures for the following reasons:".
	at org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.start(LifeSupport.java:364) ~[neo4j-common-5.14.0.jar:5.14.0]
	at org.neo4j.kernel.lifecycle.LifeSupport.start(LifeSupport.java:91) ~[neo4j-common-5.14.0.jar:5.14.0]
	at org.neo4j.graphdb.facade.DatabaseManagementServiceFactory.startDatabaseServer(DatabaseManagementServiceFactory.java:263) ~[neo4j-5.14.0.jar:5.14.0]
	... 8 more
Caused by: org.neo4j.internal.kernel.api.exceptions.ProcedureException: Failed to register procedures for the following reasons:
	at org.neo4j.procedure.impl.ProcedureClassLoader.resolve(ProcedureClassLoader.java:190) ~[neo4j-procedure-5.14.0.jar:5.14.0]
	at org.neo4j.procedure.impl.ProcedureClassLoader.resolveAll(ProcedureClassLoader.java:135) ~[neo4j-procedure-5.14.0.jar:5.14.0]
	at org.neo4j.procedure.impl.ProcedureClassLoader.setup(ProcedureClassLoader.java:84) ~[neo4j-procedure-5.14.0.jar:5.14.0]
	at org.neo4j.procedure.impl.ProcedureClassLoader.setup(ProcedureClassLoader.java:62) ~[neo4j-procedure-5.14.0.jar:5.14.0]
	at org.neo4j.procedure.impl.ProcedureJarLoader.loadProceduresFromDir(ProcedureJarLoader.java:82) ~[neo4j-procedure-5.14.0.jar:5.14.0]
	at org.neo4j.procedure.impl.GlobalProceduresRegistry.unguardedLoadFromDisk(GlobalProceduresRegistry.java:240) ~[neo4j-procedure-5.14.0.jar:5.14.0]
	at org.neo4j.procedure.impl.GlobalProceduresRegistry.start(GlobalProceduresRegistry.java:209) ~[neo4j-procedure-5.14.0.jar:5.14.0]
	at org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.start(LifeSupport.java:347) ~[neo4j-common-5.14.0.jar:5.14.0]
	at org.neo4j.kernel.lifecycle.LifeSupport.start(LifeSupport.java:91) ~[neo4j-common-5.14.0.jar:5.14.0]
	at org.neo4j.graphdb.facade.DatabaseManagementServiceFactory.startDatabaseServer(DatabaseManagementServiceFactory.java:263) ~[neo4j-5.14.0.jar:5.14.0]
	... 8 more
	Suppressed: java.lang.IncompatibleClassChangeError: class org.objectweb.asm.CurrentFrame cannot inherit from final class org.objectweb.asm.Frame
		at java.lang.ClassLoader.defineClass1(Native Method) ~[?:?]
		at java.lang.ClassLoader.defineClass(ClassLoader.java:1017) ~[?:?]
		at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:150) ~[?:?]
		at jdk.internal.loader.BuiltinClassLoader.defineClass(BuiltinClassLoader.java:862) ~[?:?]
		at jdk.internal.loader.BuiltinClassLoader.findClassOnClassPathOrNull(BuiltinClassLoader.java:760) ~[?:?]
		at jdk.internal.loader.BuiltinClassLoader.loadClassOrNull(BuiltinClassLoader.java:681) ~[?:?]
		at jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:639) ~[?:?]
		at jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:188) ~[?:?]
		at java.lang.ClassLoader.loadClass(ClassLoader.java:579) ~[?:?]
		at java.lang.ClassLoader.loadClass(ClassLoader.java:525) ~[?:?]
		at org.neo4j.procedure.impl.ProcedureClassLoader.resolve(ProcedureClassLoader.java:150) ~[neo4j-procedure-5.14.0.jar:5.14.0]
		at org.neo4j.procedure.impl.ProcedureClassLoader.resolveAll(ProcedureClassLoader.java:135) ~[neo4j-procedure-5.14.0.jar:5.14.0]
		at org.neo4j.procedure.impl.ProcedureClassLoader.setup(ProcedureClassLoader.java:84) ~[neo4j-procedure-5.14.0.jar:5.14.0]
		at org.neo4j.procedure.impl.ProcedureClassLoader.setup(ProcedureClassLoader.java:62) ~[neo4j-procedure-5.14.0.jar:5.14.0]
		at org.neo4j.procedure.impl.ProcedureJarLoader.loadProceduresFromDir(ProcedureJarLoader.java:82) ~[neo4j-procedure-5.14.0.jar:5.14.0]
		at org.neo4j.procedure.impl.GlobalProceduresRegistry.unguardedLoadFromDisk(GlobalProceduresRegistry.java:240) ~[neo4j-procedure-5.14.0.jar:5.14.0]
		at org.neo4j.procedure.impl.GlobalProceduresRegistry.start(GlobalProceduresRegistry.java:209) ~[neo4j-procedure-5.14.0.jar:5.14.0]
		at org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.start(LifeSupport.java:347) ~[neo4j-common-5.14.0.jar:5.14.0]
		at org.neo4j.kernel.lifecycle.LifeSupport.start(LifeSupport.java:91) ~[neo4j-common-5.14.0.jar:5.14.0]
		at org.neo4j.graphdb.facade.DatabaseManagementServiceFactory.startDatabaseServer(DatabaseManagementServiceFactory.java:263) ~[neo4j-5.14.0.jar:5.14.0]
		at org.neo4j.graphdb.facade.DatabaseManagementServiceFactory.build(DatabaseManagementServiceFactory.java:208) ~[neo4j-5.14.0.jar:5.14.0]
		at com.neo4j.server.enterprise.EnterpriseDBMSProvider.createManagementService(EnterpriseDBMSProvider.java:39) ~[neo4j-enterprise-5.14.0.jar:5.14.0]
		at com.neo4j.server.enterprise.EnterpriseDBMSProvider.<init>(EnterpriseDBMSProvider.java:29) ~[neo4j-enterprise-5.14.0.jar:5.14.0]
		at com.neo4j.server.enterprise.EnterpriseDBMSFactory.createManagementService(EnterpriseDBMSFactory.java:19) ~[neo4j-enterprise-5.14.0.jar:5.14.0]
		at com.neo4j.server.enterprise.EnterpriseBootstrapper.createNeo(EnterpriseBootstrapper.java:25) ~[neo4j-enterprise-5.14.0.jar:5.14.0]
		at org.neo4j.server.NeoBootstrapper.start(NeoBootstrapper.java:187) [neo4j-5.14.0.jar:5.14.0]
		at org.neo4j.server.NeoBootstrapper.start(NeoBootstrapper.java:99) [neo4j-5.14.0.jar:5.14.0]
		at com.neo4j.server.enterprise.EnterpriseEntryPoint.main(EnterpriseEntryPoint.java:19) [neo4j-enterprise-5.14.0.jar:5.14.0]
2023-12-05 16:41:44.565+0000 INFO  Neo4j Server shutdown initiated by request
2023-12-05 16:41:44.565+0000 INFO  Stopped.

@mmopitz
Copy link

mmopitz commented Dec 19, 2023

Hi there,
I'm having the same issue

OS: ubuntu 20.04 running in a virtualbox virtual machine
neo4j-desktop:1.5.8
apoc: 5.14.0 (according to neo4j desktop)

I used neo4j desktop to create a fresh new neo4j 5.14.0 database.
Without apoc the database starts without issues.

With apoc I get a very familier looking Stacktrace:

2023-12-19 13:21:15.805+0000 INFO  Starting...
2023-12-19 13:21:18.391+0000 INFO  ======== Neo4j 5.14.0 ========
2023-12-19 13:21:18.416+0000 INFO  This instance is ServerId{01681350} (01681350-d183-4a51-ab02-ff088043d970)
2023-12-19 13:21:30.552+0000 ERROR Failed to start Neo4j on localhost:7474.
java.lang.RuntimeException: Error starting Neo4j database server at /home/mo/.local/share/neo4j-relate/dbmss/dbms-02134fa6-54cd-478e-9cdc-856e61b80ad0/data/databases
	at org.neo4j.graphdb.facade.DatabaseManagementServiceFactory.startDatabaseServer(DatabaseManagementServiceFactory.java:272) ~[neo4j-5.14.0.jar:5.14.0]
	at org.neo4j.graphdb.facade.DatabaseManagementServiceFactory.build(DatabaseManagementServiceFactory.java:208) ~[neo4j-5.14.0.jar:5.14.0]
	at com.neo4j.server.enterprise.EnterpriseDBMSProvider.createManagementService(EnterpriseDBMSProvider.java:39) ~[neo4j-enterprise-5.14.0.jar:5.14.0]
	at com.neo4j.server.enterprise.EnterpriseDBMSProvider.<init>(EnterpriseDBMSProvider.java:29) ~[neo4j-enterprise-5.14.0.jar:5.14.0]
	at com.neo4j.server.enterprise.EnterpriseDBMSFactory.createManagementService(EnterpriseDBMSFactory.java:19) ~[neo4j-enterprise-5.14.0.jar:5.14.0]
	at com.neo4j.server.enterprise.EnterpriseBootstrapper.createNeo(EnterpriseBootstrapper.java:25) ~[neo4j-enterprise-5.14.0.jar:5.14.0]
	at org.neo4j.server.NeoBootstrapper.start(NeoBootstrapper.java:187) [neo4j-5.14.0.jar:5.14.0]
	at org.neo4j.server.NeoBootstrapper.start(NeoBootstrapper.java:99) [neo4j-5.14.0.jar:5.14.0]
	at com.neo4j.server.enterprise.EnterpriseEntryPoint.main(EnterpriseEntryPoint.java:19) [neo4j-enterprise-5.14.0.jar:5.14.0]
Caused by: org.neo4j.kernel.lifecycle.LifecycleException: Component 'org.neo4j.procedure.impl.GlobalProceduresRegistry@7b5833ee' was successfully initialized, but failed to start. Please see the attached cause exception "Failed to register procedures for the following reasons:".
	at org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.start(LifeSupport.java:364) ~[neo4j-common-5.14.0.jar:5.14.0]
	at org.neo4j.kernel.lifecycle.LifeSupport.start(LifeSupport.java:91) ~[neo4j-common-5.14.0.jar:5.14.0]
	at org.neo4j.graphdb.facade.DatabaseManagementServiceFactory.startDatabaseServer(DatabaseManagementServiceFactory.java:263) ~[neo4j-5.14.0.jar:5.14.0]
	... 8 more
Caused by: org.neo4j.internal.kernel.api.exceptions.ProcedureException: Failed to register procedures for the following reasons:
	at org.neo4j.procedure.impl.ProcedureClassLoader.resolve(ProcedureClassLoader.java:190) ~[neo4j-procedure-5.14.0.jar:5.14.0]
	at org.neo4j.procedure.impl.ProcedureClassLoader.resolveAll(ProcedureClassLoader.java:135) ~[neo4j-procedure-5.14.0.jar:5.14.0]
	at org.neo4j.procedure.impl.ProcedureClassLoader.setup(ProcedureClassLoader.java:84) ~[neo4j-procedure-5.14.0.jar:5.14.0]
	at org.neo4j.procedure.impl.ProcedureClassLoader.setup(ProcedureClassLoader.java:62) ~[neo4j-procedure-5.14.0.jar:5.14.0]
	at org.neo4j.procedure.impl.ProcedureJarLoader.loadProceduresFromDir(ProcedureJarLoader.java:82) ~[neo4j-procedure-5.14.0.jar:5.14.0]
	at org.neo4j.procedure.impl.GlobalProceduresRegistry.unguardedLoadFromDisk(GlobalProceduresRegistry.java:240) ~[neo4j-procedure-5.14.0.jar:5.14.0]
	at org.neo4j.procedure.impl.GlobalProceduresRegistry.start(GlobalProceduresRegistry.java:209) ~[neo4j-procedure-5.14.0.jar:5.14.0]
	at org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.start(LifeSupport.java:347) ~[neo4j-common-5.14.0.jar:5.14.0]
	at org.neo4j.kernel.lifecycle.LifeSupport.start(LifeSupport.java:91) ~[neo4j-common-5.14.0.jar:5.14.0]
	at org.neo4j.graphdb.facade.DatabaseManagementServiceFactory.startDatabaseServer(DatabaseManagementServiceFactory.java:263) ~[neo4j-5.14.0.jar:5.14.0]
	... 8 more
	Suppressed: java.lang.IncompatibleClassChangeError: class org.objectweb.asm.CurrentFrame cannot inherit from final class org.objectweb.asm.Frame
		at java.lang.ClassLoader.defineClass1(Native Method) ~[?:?]
		at java.lang.ClassLoader.defineClass(ClassLoader.java:1017) ~[?:?]
		at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:150) ~[?:?]
		at jdk.internal.loader.BuiltinClassLoader.defineClass(BuiltinClassLoader.java:862) ~[?:?]
		at jdk.internal.loader.BuiltinClassLoader.findClassOnClassPathOrNull(BuiltinClassLoader.java:760) ~[?:?]
		at jdk.internal.loader.BuiltinClassLoader.loadClassOrNull(BuiltinClassLoader.java:681) ~[?:?]
		at jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:639) ~[?:?]
		at jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:188) ~[?:?]
		at java.lang.ClassLoader.loadClass(ClassLoader.java:579) ~[?:?]
		at java.lang.ClassLoader.loadClass(ClassLoader.java:525) ~[?:?]
		at org.neo4j.procedure.impl.ProcedureClassLoader.resolve(ProcedureClassLoader.java:150) ~[neo4j-procedure-5.14.0.jar:5.14.0]
		at org.neo4j.procedure.impl.ProcedureClassLoader.resolveAll(ProcedureClassLoader.java:135) ~[neo4j-procedure-5.14.0.jar:5.14.0]
		at org.neo4j.procedure.impl.ProcedureClassLoader.setup(ProcedureClassLoader.java:84) ~[neo4j-procedure-5.14.0.jar:5.14.0]
		at org.neo4j.procedure.impl.ProcedureClassLoader.setup(ProcedureClassLoader.java:62) ~[neo4j-procedure-5.14.0.jar:5.14.0]
		at org.neo4j.procedure.impl.ProcedureJarLoader.loadProceduresFromDir(ProcedureJarLoader.java:82) ~[neo4j-procedure-5.14.0.jar:5.14.0]
		at org.neo4j.procedure.impl.GlobalProceduresRegistry.unguardedLoadFromDisk(GlobalProceduresRegistry.java:240) ~[neo4j-procedure-5.14.0.jar:5.14.0]
		at org.neo4j.procedure.impl.GlobalProceduresRegistry.start(GlobalProceduresRegistry.java:209) ~[neo4j-procedure-5.14.0.jar:5.14.0]
		at org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.start(LifeSupport.java:347) ~[neo4j-common-5.14.0.jar:5.14.0]
		at org.neo4j.kernel.lifecycle.LifeSupport.start(LifeSupport.java:91) ~[neo4j-common-5.14.0.jar:5.14.0]
		at org.neo4j.graphdb.facade.DatabaseManagementServiceFactory.startDatabaseServer(DatabaseManagementServiceFactory.java:263) ~[neo4j-5.14.0.jar:5.14.0]
		at org.neo4j.graphdb.facade.DatabaseManagementServiceFactory.build(DatabaseManagementServiceFactory.java:208) ~[neo4j-5.14.0.jar:5.14.0]
		at com.neo4j.server.enterprise.EnterpriseDBMSProvider.createManagementService(EnterpriseDBMSProvider.java:39) ~[neo4j-enterprise-5.14.0.jar:5.14.0]
		at com.neo4j.server.enterprise.EnterpriseDBMSProvider.<init>(EnterpriseDBMSProvider.java:29) ~[neo4j-enterprise-5.14.0.jar:5.14.0]
		at com.neo4j.server.enterprise.EnterpriseDBMSFactory.createManagementService(EnterpriseDBMSFactory.java:19) ~[neo4j-enterprise-5.14.0.jar:5.14.0]
		at com.neo4j.server.enterprise.EnterpriseBootstrapper.createNeo(EnterpriseBootstrapper.java:25) ~[neo4j-enterprise-5.14.0.jar:5.14.0]
		at org.neo4j.server.NeoBootstrapper.start(NeoBootstrapper.java:187) [neo4j-5.14.0.jar:5.14.0]
		at org.neo4j.server.NeoBootstrapper.start(NeoBootstrapper.java:99) [neo4j-5.14.0.jar:5.14.0]
		at com.neo4j.server.enterprise.EnterpriseEntryPoint.main(EnterpriseEntryPoint.java:19) [neo4j-enterprise-5.14.0.jar:5.14.0]
2023-12-19 13:21:30.555+0000 INFO  Neo4j Server shutdown initiated by request
2023-12-19 13:21:30.555+0000 INFO  Stopped.

@mmopitz
Copy link

mmopitz commented Dec 19, 2023

Extending upon my previous comment.

I found a solution that seems to work for my use case.
I want to use the apoc.cypher.parallel2 function for some local testing.

I managed to get this to work by manually copying the latest core release apoc-5.15.0-core.jar plus apoc-5.14.0-extended.jar into my plugin directory (see screenshot)

Links:
apoc-extended: https://github.com/neo4j-contrib/neo4j-apoc-procedures/releases/tag/5.14.0
apoc-core: https://github.com/neo4j/apoc/releases/tag/5.15.0

Maybe that helps locating the problem.

image

@cybersam
Copy link

cybersam commented Dec 22, 2023

I am seeing same behavior after upgrading my desktop project from 5.14.0 (which was actually working just fine) to 5.15.0. Uninstalling APOC (version 5.15.0) allows the server to start normally, but reinstalling APOC causes the issue to reappear.

2023-12-22 19:09:50.636+0000 INFO  Starting...
2023-12-22 19:09:53.858+0000 INFO  ======== Neo4j 5.15.0 ========
2023-12-22 19:09:53.897+0000 INFO  This instance is ServerId{51420cc9} (51420cc9-ae30-459a-b314-fac733da48e5)
2023-12-22 19:09:53.961+0000 INFO  Progress tracking: enabled
2023-12-22 19:09:53.961+0000 INFO  Memory usage guard: minimum estimate
2023-12-22 19:09:53.964+0000 INFO  GDS license file: null
2023-12-22 19:09:53.965+0000 INFO  GDS license state: unlicensed
2023-12-22 19:09:53.966+0000 INFO  Arrow write back: disabled
2023-12-22 19:09:53.971+0000 INFO  Register GraphDataScience...
2023-12-22 19:09:53.995+0000 INFO  GraphDataScience registered.
2023-12-22 19:09:53.996+0000 INFO  Register GraphDataScienceExtras...
2023-12-22 19:09:53.996+0000 INFO  GraphDataScienceExtras registered.
2023-12-22 19:09:53.997+0000 INFO  Register MetricsFacade...
2023-12-22 19:09:53.999+0000 INFO  MetricsFacade registered.
2023-12-22 19:09:54.000+0000 INFO  Register legacy Task Store/ Registry...
2023-12-22 19:09:54.001+0000 INFO  Task Store/ Registry registered.
2023-12-22 19:09:54.001+0000 INFO  Register legacy User Log Registry...
2023-12-22 19:09:54.002+0000 INFO  User Log Registry registered.
2023-12-22 19:09:54.351+0000 INFO  GDS compatibility: for Neo4j Settings 5.x -- available, for Neo4j Settings 4.4 -- not available, selected: Neo4j Settings 5.x
2023-12-22 19:09:54.351+0000 INFO  GDS compatibility: for Neo4j 4.4 -- not available, for Neo4j 5.6 -- not available, for Neo4j 5.7 -- not available, for Neo4j 5.8 -- not available, for Neo4j 5.9 -- not available, for Neo4j 5.10 -- not available, for Neo4j 5.11 -- not available, for Neo4j 5.12 -- not available, for Neo4j 5.13 -- not available, for Neo4j 5.14 -- not available, for Neo4j 5.15 -- available, selected: Neo4j 5.15
2023-12-22 19:10:25.957+0000 ERROR Failed to start Neo4j on localhost:7474.
java.lang.RuntimeException: Error starting Neo4j database server at /Users/syang201/Library/Application Support/com.Neo4j.Relate/Data/dbmss/dbms-74ba5c34-7c6b-4f6a-b2eb-057a870a652f/data/databases
	at org.neo4j.graphdb.facade.DatabaseManagementServiceFactory.startDatabaseServer(DatabaseManagementServiceFactory.java:273) ~[neo4j-5.15.0.jar:5.15.0]
	at org.neo4j.graphdb.facade.DatabaseManagementServiceFactory.build(DatabaseManagementServiceFactory.java:209) ~[neo4j-5.15.0.jar:5.15.0]
	at com.neo4j.server.enterprise.EnterpriseDBMSProvider.createManagementService(EnterpriseDBMSProvider.java:39) ~[neo4j-enterprise-5.15.0.jar:5.15.0]
	at com.neo4j.server.enterprise.EnterpriseDBMSProvider.<init>(EnterpriseDBMSProvider.java:29) ~[neo4j-enterprise-5.15.0.jar:5.15.0]
	at com.neo4j.server.enterprise.EnterpriseDBMSFactory.createManagementService(EnterpriseDBMSFactory.java:19) ~[neo4j-enterprise-5.15.0.jar:5.15.0]
	at com.neo4j.server.enterprise.EnterpriseBootstrapper.createNeo(EnterpriseBootstrapper.java:25) ~[neo4j-enterprise-5.15.0.jar:5.15.0]
	at org.neo4j.server.NeoBootstrapper.start(NeoBootstrapper.java:187) [neo4j-5.15.0.jar:5.15.0]
	at org.neo4j.server.NeoBootstrapper.start(NeoBootstrapper.java:99) [neo4j-5.15.0.jar:5.15.0]
	at com.neo4j.server.enterprise.EnterpriseEntryPoint.main(EnterpriseEntryPoint.java:19) [neo4j-enterprise-5.15.0.jar:5.15.0]
Caused by: org.neo4j.kernel.lifecycle.LifecycleException: Component 'org.neo4j.procedure.impl.GlobalProceduresRegistry@46ea78f0' was successfully initialized, but failed to start. Please see the attached cause exception "Failed to register procedures for the following reasons:".
	at org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.start(LifeSupport.java:364) ~[neo4j-common-5.15.0.jar:5.15.0]
	at org.neo4j.kernel.lifecycle.LifeSupport.start(LifeSupport.java:91) ~[neo4j-common-5.15.0.jar:5.15.0]
	at org.neo4j.graphdb.facade.DatabaseManagementServiceFactory.startDatabaseServer(DatabaseManagementServiceFactory.java:264) ~[neo4j-5.15.0.jar:5.15.0]
	... 8 more
Caused by: org.neo4j.internal.kernel.api.exceptions.ProcedureException: Failed to register procedures for the following reasons:
	at org.neo4j.procedure.impl.ProcedureClassLoader.resolve(ProcedureClassLoader.java:190) ~[neo4j-procedure-5.15.0.jar:5.15.0]
	at org.neo4j.procedure.impl.ProcedureClassLoader.resolveAll(ProcedureClassLoader.java:135) ~[neo4j-procedure-5.15.0.jar:5.15.0]
	at org.neo4j.procedure.impl.ProcedureClassLoader.setup(ProcedureClassLoader.java:84) ~[neo4j-procedure-5.15.0.jar:5.15.0]
	at org.neo4j.procedure.impl.ProcedureClassLoader.setup(ProcedureClassLoader.java:62) ~[neo4j-procedure-5.15.0.jar:5.15.0]
	at org.neo4j.procedure.impl.ProcedureJarLoader.loadProceduresFromDir(ProcedureJarLoader.java:82) ~[neo4j-procedure-5.15.0.jar:5.15.0]
	at org.neo4j.procedure.impl.GlobalProceduresRegistry.unguardedLoadFromDisk(GlobalProceduresRegistry.java:240) ~[neo4j-procedure-5.15.0.jar:5.15.0]
	at org.neo4j.procedure.impl.GlobalProceduresRegistry.start(GlobalProceduresRegistry.java:209) ~[neo4j-procedure-5.15.0.jar:5.15.0]
	at org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.start(LifeSupport.java:347) ~[neo4j-common-5.15.0.jar:5.15.0]
	at org.neo4j.kernel.lifecycle.LifeSupport.start(LifeSupport.java:91) ~[neo4j-common-5.15.0.jar:5.15.0]
	at org.neo4j.graphdb.facade.DatabaseManagementServiceFactory.startDatabaseServer(DatabaseManagementServiceFactory.java:264) ~[neo4j-5.15.0.jar:5.15.0]
	... 8 more
	Suppressed: java.lang.IncompatibleClassChangeError: class org.objectweb.asm.CurrentFrame cannot inherit from final class org.objectweb.asm.Frame
		at java.lang.ClassLoader.defineClass1(Native Method) ~[?:?]
		at java.lang.ClassLoader.defineClass(ClassLoader.java:1017) ~[?:?]
		at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:150) ~[?:?]
		at jdk.internal.loader.BuiltinClassLoader.defineClass(BuiltinClassLoader.java:862) ~[?:?]
		at jdk.internal.loader.BuiltinClassLoader.findClassOnClassPathOrNull(BuiltinClassLoader.java:760) ~[?:?]
		at jdk.internal.loader.BuiltinClassLoader.loadClassOrNull(BuiltinClassLoader.java:681) ~[?:?]
		at jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:639) ~[?:?]
		at jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:188) ~[?:?]
		at java.lang.ClassLoader.loadClass(ClassLoader.java:579) ~[?:?]
		at java.lang.ClassLoader.loadClass(ClassLoader.java:525) ~[?:?]
		at org.neo4j.procedure.impl.ProcedureClassLoader.resolve(ProcedureClassLoader.java:150) ~[neo4j-procedure-5.15.0.jar:5.15.0]
		at org.neo4j.procedure.impl.ProcedureClassLoader.resolveAll(ProcedureClassLoader.java:135) ~[neo4j-procedure-5.15.0.jar:5.15.0]
		at org.neo4j.procedure.impl.ProcedureClassLoader.setup(ProcedureClassLoader.java:84) ~[neo4j-procedure-5.15.0.jar:5.15.0]
		at org.neo4j.procedure.impl.ProcedureClassLoader.setup(ProcedureClassLoader.java:62) ~[neo4j-procedure-5.15.0.jar:5.15.0]
		at org.neo4j.procedure.impl.ProcedureJarLoader.loadProceduresFromDir(ProcedureJarLoader.java:82) ~[neo4j-procedure-5.15.0.jar:5.15.0]
		at org.neo4j.procedure.impl.GlobalProceduresRegistry.unguardedLoadFromDisk(GlobalProceduresRegistry.java:240) ~[neo4j-procedure-5.15.0.jar:5.15.0]
		at org.neo4j.procedure.impl.GlobalProceduresRegistry.start(GlobalProceduresRegistry.java:209) ~[neo4j-procedure-5.15.0.jar:5.15.0]
		at org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.start(LifeSupport.java:347) ~[neo4j-common-5.15.0.jar:5.15.0]
		at org.neo4j.kernel.lifecycle.LifeSupport.start(LifeSupport.java:91) ~[neo4j-common-5.15.0.jar:5.15.0]
		at org.neo4j.graphdb.facade.DatabaseManagementServiceFactory.startDatabaseServer(DatabaseManagementServiceFactory.java:264) ~[neo4j-5.15.0.jar:5.15.0]
		at org.neo4j.graphdb.facade.DatabaseManagementServiceFactory.build(DatabaseManagementServiceFactory.java:209) ~[neo4j-5.15.0.jar:5.15.0]
		at com.neo4j.server.enterprise.EnterpriseDBMSProvider.createManagementService(EnterpriseDBMSProvider.java:39) ~[neo4j-enterprise-5.15.0.jar:5.15.0]
		at com.neo4j.server.enterprise.EnterpriseDBMSProvider.<init>(EnterpriseDBMSProvider.java:29) ~[neo4j-enterprise-5.15.0.jar:5.15.0]
		at com.neo4j.server.enterprise.EnterpriseDBMSFactory.createManagementService(EnterpriseDBMSFactory.java:19) ~[neo4j-enterprise-5.15.0.jar:5.15.0]
		at com.neo4j.server.enterprise.EnterpriseBootstrapper.createNeo(EnterpriseBootstrapper.java:25) ~[neo4j-enterprise-5.15.0.jar:5.15.0]
		at org.neo4j.server.NeoBootstrapper.start(NeoBootstrapper.java:187) [neo4j-5.15.0.jar:5.15.0]
		at org.neo4j.server.NeoBootstrapper.start(NeoBootstrapper.java:99) [neo4j-5.15.0.jar:5.15.0]
		at com.neo4j.server.enterprise.EnterpriseEntryPoint.main(EnterpriseEntryPoint.java:19) [neo4j-enterprise-5.15.0.jar:5.15.0]
2023-12-22 19:10:25.960+0000 INFO  Neo4j Server shutdown initiated by request
2023-12-22 19:10:25.962+0000 INFO  Stopped.

@cybersam
Copy link

cybersam commented Dec 22, 2023

I installed a new 5.14.0 Desktop project, and Desktop automatically installed APOC 5.15.0 (and GDS 2.5.6) along with it. The 5.14.0 server started up with no problems.

So, for me, version 5.14.0 of the server can start when using version 5.15.0 of APOC. But version 5.15.0 of the server cannot.

@gem-neo4j
Copy link
Contributor

Hello! We have investigated this a little more and are working on a fix, in the meantime, our local testing shows it is related to the naming of the jar that Desktop is giving, so a temporary workaround would be to rename the file:

In Neo4j Desktop:

  • Click the 3 dots next to the db
  • Click - Open folder -> Plugins
  • Rename the file: apoc5plus-5.15.0 to apoc-5.15.0-core
  • Restart db
Screenshot 2024-01-03 at 11 20 07

Let me know if this works in the meantime :) Sorry for the inconvenience

@johnscarboroughee
Copy link

This worked for me on 5.15. Thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants