Unable to start neo4j server 5.26 after installing GDS 2.13.2

Hello, I'm trying to configure a Neo4j 5.26 with GDS 2.13.2. I'm using the Bitnami Neo4j vm hosted on google cloud. I download the 2.13.2 GDS .jar file and placed it in an Object storage bucket, then I use wget to download the plugin /opt/bitnami/neo4j/plugins folder.
Java Version : openjdk 17.0.14 2025-01-21 LTS
When I launch in Neo4j using sudo neo4j start I get the "Failed to start Neo4j error". Upon checking neo4j.log. i get the following error :

08:21:28.214+0000 ERROR Failed to start Neo4j on 0.0.0.0:7474.
java.lang.RuntimeException: Error starting Neo4j database server at /bitnami/neo4j/data/databases
at org.neo4j.graphdb.facade.DatabaseManagementServiceFactory.startDatabaseServer(DatabaseManagementServiceFactory.java:288) ~[neo4j-5.26.2.>
at org.neo4j.graphdb.facade.DatabaseManagementServiceFactory.build(DatabaseManagementServiceFactory.java:223) ~[neo4j-5.26.2.jar:5.26.2]
at org.neo4j.server.CommunityBootstrapper.createNeo(CommunityBootstrapper.java:38) ~[neo4j-5.26.2.jar:5.26.2]
at org.neo4j.server.NeoBootstrapper.start(NeoBootstrapper.java:185) [neo4j-5.26.2.jar:5.26.2]
at org.neo4j.server.NeoBootstrapper.start(NeoBootstrapper.java:100) [neo4j-5.26.2.jar:5.26.2]
at org.neo4j.server.CommunityEntryPoint.main(CommunityEntryPoint.java:30) [neo4j-5.26.2.jar:5.26.2]
Caused by: org.neo4j.kernel.lifecycle.LifecycleException: Component 'org.neo4j.procedure.impl.GlobalProceduresRegistry@3e1f1046' was successfully i>
at org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.start(LifeSupport.java:364) ~[neo4j-common-5.26.2.jar:5.26.2]
at org.neo4j.kernel.lifecycle.LifeSupport.start(LifeSupport.java:91) ~[neo4j-common-5.26.2.jar:5.26.2]
at org.neo4j.graphdb.facade.DatabaseManagementServiceFactory.startDatabaseServer(DatabaseManagementServiceFactory.java:279) ~[neo4j-5.26.2.>
... 5 more
Caused by: java.util.zip.ZipException: Some jar procedure files (neo4j-graph-data-science-2.13.2.jar) are invalid, see log for details.
at org.neo4j.procedure.impl.ProcedureClassLoader.enumerateClasses(ProcedureClassLoader.java:223) ~[neo4j-procedure-5.26.2.jar:5.26.2]
at org.neo4j.procedure.impl.ProcedureClassLoader.setup(ProcedureClassLoader.java:77) ~[neo4j-procedure-5.26.2.jar:5.26.2]
at org.neo4j.procedure.impl.ProcedureClassLoader.setup(ProcedureClassLoader.java:60) ~[neo4j-procedure-5.26.2.jar:5.26.2]
at org.neo4j.procedure.impl.ProcedureJarLoader.loadProceduresFromDir(ProcedureJarLoader.java:77) ~[neo4j-procedure-5.26.2.jar:5.26.2]
at org.neo4j.procedure.impl.GlobalProceduresRegistry.unguardedLoadFromDisk(GlobalProceduresRegistry.java:239) ~[neo4j-procedure-5.26.2.jar:>
at org.neo4j.procedure.impl.GlobalProceduresRegistry.start(GlobalProceduresRegistry.java:208) ~[neo4j-procedure-5.26.2.jar:5.26.2]
at org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.start(LifeSupport.java:347) ~[neo4j-common-5.26.2.jar:5.26.2]
at org.neo4j.kernel.lifecycle.LifeSupport.start(LifeSupport.java:91) ~[neo4j-common-5.26.2.jar:5.26.2]
at org.neo4j.graphdb.facade.DatabaseManagementServiceFactory.startDatabaseServer(DatabaseManagementServiceFactory.java:279) ~[neo4j-5.26.2.>
... 5 more
2025-03-01 08:21:28.222+0000 INFO Neo4j Server shutdown initiated by request
2025-03-01 08:21:28.222+0000 INFO Stopped.

There's another thread about this:

GDS and 5.26

That thread is about 2025.02 and 2.13.2. In my case it's 5.26 along with 2.13.2 which is supposed to be the version that is compatible.

1 Like

@shah.syed9908

what are the results of

ls -al plugins/*
md5sum plugins/*

I am not able to replicate the error, but the results of my ls and md5sum are ( and specific to the GDS plugin )

 ls -al ../plugins/*
-rw-r--r-- 1 neo4j neo4j 63936757 Mar  2 00:06 ../plugins/neo4j-graph-data-science-2.13.2.jar
-rw-r--r-- 1 neo4j neo4j     2217 Jan 29 11:42 ../plugins/README.txt
neo4j@ubuntu22dockerdebjava17:~/single/instance1/neo4j-community-5.26.2/bin$ 

md5sum ../plugins/*
8dd5056a90ae61bccc27200b0ea5aa68  ../plugins/neo4j-graph-data-science-2.13.2.jar
4aefeebd213acbe6519f031b08d75f9e  ../plugins/README.txt

Hello, Thank you for you response.
Apparently downloading it using wget from the object storage was causing an issue. When I directly uploaded to the file to the VM, it worked. I still checked md5sum for both versions (the one uploaded directly and the one downloaded from object storage) and there was indeed an issue with file integrity for the .jar file that was downloaded using object storage. I don't know what exactly is causing the file to download inccorectly, but I now I have GDS installed in my Neo4j. Thanks !