Neo4j supports which version of GDS

I have installed latest version of neo4j==5.25.1

I have downloaded latest version of GDS plugin==2.11.0

But its not working.

Error:

2024-11-04 11:01:04.041+0000 INFO  [] GDS compatibility: for Neo4j 5.23 -- not available, for Neo4j 5.24 -- not available
2024-11-04 11:01:04.046+0000 ERROR Failed to start Neo4j on localhost:7474.
java.lang.RuntimeException: Error starting Neo4j database server at C:\Users\61097809\Downloads\neo4j-community-5.25.1\data\databases
        at org.neo4j.graphdb.facade.DatabaseManagementServiceFactory.startDatabaseServer(DatabaseManagementServiceFactory.java:288) ~[neo4j-5.25.1.jar:5.25.1]
        at org.neo4j.graphdb.facade.DatabaseManagementServiceFactory.build(DatabaseManagementServiceFactory.java:223) ~[neo4j-5.25.1.jar:5.25.1]
        at org.neo4j.server.CommunityBootstrapper.createNeo(CommunityBootstrapper.java:38) ~[neo4j-5.25.1.jar:5.25.1]
        at org.neo4j.server.NeoBootstrapper.start(NeoBootstrapper.java:185) [neo4j-5.25.1.jar:5.25.1]
        at org.neo4j.server.NeoBootstrapper.start(NeoBootstrapper.java:100) [neo4j-5.25.1.jar:5.25.1]
        at org.neo4j.server.CommunityEntryPoint.main(CommunityEntryPoint.java:30) [neo4j-5.25.1.jar:5.25.1]
Caused by: org.neo4j.kernel.lifecycle.LifecycleException: Component 'org.neo4j.kernel.extension.GlobalExtensions@3c89bb12' failed to initialize. Please see the attached cause exception "GDS 2.11.0 is not compatible with Neo4j version: 5.25.1".
        at org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.init(LifeSupport.java:334) ~[neo4j-common-5.25.1.jar:5.25.1]
        at org.neo4j.kernel.lifecycle.LifeSupport.init(LifeSupport.java:56) ~[neo4j-common-5.25.1.jar:5.25.1]
        at org.neo4j.kernel.lifecycle.LifeSupport.start(LifeSupport.java:85) ~[neo4j-common-5.25.1.jar:5.25.1]
        at org.neo4j.graphdb.facade.DatabaseManagementServiceFactory.startDatabaseServer(DatabaseManagementServiceFactory.java:279) ~[neo4j-5.25.1.jar:5.25.1]
        ... 5 more
Caused by: org.neo4j.kernel.extension.FailedToBuildExtensionException: Failed to build kernel extension Extension:PackageVerificationExtension[gds.internal.verification] because it is compiled with a reference to a class, method, or field, that is not in the class path: 'GDS 2.11.0 is not compatible with Neo4j version: 5.25.1'. The most common cause of this problem, is that Neo4j has been upgraded without also upgrading all installed extensions, such as APOC. Make sure that all of your extensions are build against your specific version of Neo4j.
        at org.neo4j.kernel.extension.ExtensionFailureStrategies.wrap(ExtensionFailureStrategies.java:56) ~[neo4j-kernel-5.25.1.jar:5.25.1]
        at org.neo4j.kernel.extension.ExtensionFailureStrategies$1.handle(ExtensionFailureStrategies.java:68) ~[neo4j-kernel-5.25.1.jar:5.25.1]
        at org.neo4j.kernel.extension.AbstractExtensions.init(AbstractExtensions.java:68) ~[neo4j-kernel-5.25.1.jar:5.25.1]
        at org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.init(LifeSupport.java:317) ~[neo4j-common-5.25.1.jar:5.25.1]
        at org.neo4j.kernel.lifecycle.LifeSupport.init(LifeSupport.java:56) ~[neo4j-common-5.25.1.jar:5.25.1]
        at org.neo4j.kernel.lifecycle.LifeSupport.start(LifeSupport.java:85) ~[neo4j-common-5.25.1.jar:5.25.1]
        at org.neo4j.graphdb.facade.DatabaseManagementServiceFactory.startDatabaseServer(DatabaseManagementServiceFactory.java:279) ~[neo4j-5.25.1.jar:5.25.1]
        ... 5 more
Caused by: java.lang.LinkageError: GDS 2.11.0 is not compatible with Neo4j version: 5.25.1
        at org.neo4j.gds.compat.ProxyUtil$ProxyInfo.unsupported(ProxyUtil.java:247) ~[neo4j-graph-data-science-2.11.0.jar:?]
        at org.neo4j.gds.compat.ProxyUtil.findProxy(ProxyUtil.java:54) ~[neo4j-graph-data-science-2.11.0.jar:?]
        at org.neo4j.gds.compat.Neo4jProxy.<clinit>(Neo4jProxy.java:48) ~[neo4j-graph-data-science-2.11.0.jar:?]
        at com.neo4j.gds.configuration.PackageVerificationExtension.newInstance(PackageVerificationExtension.java:36) ~[neo4j-graph-data-science-2.11.0.jar:?]
        at com.neo4j.gds.configuration.PackageVerificationExtension.newInstance(PackageVerificationExtension.java:22) ~[neo4j-graph-data-science-2.11.0.jar:?]
        at org.neo4j.kernel.extension.AbstractExtensions.newInstance(AbstractExtensions.java:124) ~[neo4j-kernel-5.25.1.jar:5.25.1]
        at org.neo4j.kernel.extension.AbstractExtensions.init(AbstractExtensions.java:62) ~[neo4j-kernel-5.25.1.jar:5.25.1]
        at org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.init(LifeSupport.java:317) ~[neo4j-common-5.25.1.jar:5.25.1]
        at org.neo4j.kernel.lifecycle.LifeSupport.init(LifeSupport.java:56) ~[neo4j-common-5.25.1.jar:5.25.1]
        at org.neo4j.kernel.lifecycle.LifeSupport.start(LifeSupport.java:85) ~[neo4j-common-5.25.1.jar:5.25.1]
        at org.neo4j.graphdb.facade.DatabaseManagementServiceFactory.startDatabaseServer(DatabaseManagementServiceFactory.java:279) ~[neo4j-5.25.1.jar:5.25.1]
        ... 5 more
2024-11-04 11:01:04.057+0000 INFO  Neo4j Server shutdown initiated by request
2024-11-04 11:01:04.057+0000 INFO  Stopped.
Neo4j web server failed to start. See log for more info.
Run with '--verbose' for a more detailed error message.

Hi there,

GDS 2.11 does not support Neo4j 5.25.1 (as it says in the error message); you can see the list of supported versions in the documentation: Supported Neo4j versions - Neo4j Graph Data Science

GDS 2.12 will soon be released and will support 5.25.1.

Thanks @paul.horn for the reply!

The mentioned link does not show any GDS that supports 5.25.1, so that means I need to wait until GDS 2.12 is released?
I cannot downgrade my neo4j now. So waiting is what I need to do?

Thanks!

Depending on how you have installed Neo4j, you might find a compatible version in the products folder of the Neo4j installation (it would be next to lib or plugins) and you can move the GDS jar from that folder to plugins to install that version (and remove the older GDS jar, having both in there is not going to work).

If this does not apply to your installation of Neo4j, then, yes, you'd have to wait until 2.12 is released (which will be within the next 24 hours).

Yes, have checked the products folder, it only has genai plugin.

Anyways, 24 Hrs seems a relief. Thanks for the update @paul.horn
Will wait until tomorrow!

Thanks!

@jay7ta

odd.. I just downlaoded Neo4j 5.25.1 as a tar and see more than just genai, as evidence

~/single$ cd instance1/neo4j-enterprise-5.25.1/products/


neo4j@ubuntu22dockerdebjava17:~/single/instance1/neo4j-enterprise-5.25.1/products$ ls
bloom-plugin-5.x-2.16.0.jar    neo4j-graph-data-science-2.12.0.jar          README.txt
neo4j-genai-plugin-5.25.1.jar  neo4j-ops-manager-server-1.11.0-unix.tar.gz

Not sure @dana_canzano but thanks for letting me know it comes with these many plugins.

I have community version of neo4j & also I have downloaded via my company's portal. Maybe they might have some restriction or policy setup.

Thanks!

Any update on GDS2.12 release? @paul.horn

GDS 2.12 is shipped, but the website doesn't reflect that yet :confused: It should be available in Neo4j Desktop or in Docker, or you can download it from https://graphdatascience.ninja/neo4j-graph-data-science-2.12.0.jar (which is where the deployment center eventually will point to).

Thank you @paul.horn . Its working fine.

Any news on the release of GDS2.12?

GDS 2.12 is published, the update to the product page is in progress. You can download 2.12 from https://graphdatascience.ninja/neo4j-graph-data-science-2.12.0.jar or https://graphdatascience.ninja/neo4j-graph-data-science-2.12.0.zip or by downloading the Neo4j enterprise bundle and moving it from the product folder. It should also be available in Neo4j Desktop and Docker.

and GDS 2.12 is now available for download via Neo4j Deployment Center - Graph Database & Analytics