cancel
Showing results for 
Search instead for 
Did you mean: 

Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.

Install GRAPH DATA SCIENCE in neo4j version 4

Hello
we are trying to make " [GRAPH DATA SCIENCE]" work with neo4j stand alone server 4.0.1 by copying
"neo4j-graph-data-science-1.1.0-alpha02-standalone.jar" in /var/lib/neo4j/plugins and also by setting
dbms.security.procedures.unrestricted=gds.*.

In the browser RETURN gds.version() returns"1.1.0-alpha02" but Return gds.list() is throwing the following error
Unknown function 'gds.list' (line 1, column 8 (offset: 7))
"RETURN gds.list()"

Am i missing some thing here

//Sathish

20 REPLIES 20

GDS Library is not yet moved to 4.0. Use Neo4j 3.5 instead.

Is it coming soon?

Define "soon" 😉 ...

Hmm lets say in 2-3 months?

I guess that should work.

Hi,

I am also facing the same issue. Neo4j version is 3.5.17. Can you tell if there is something we are missing

Make sure you have the jar file in /plugins - not the zip file.

I have the jar file placed at /plugins.. Have cross checked it.. Still not working

please paste latest startup sequence of your logs/debug.log.

Hello, I'm actually facing the same problem. So I was wondering where we can find the jar files instead of the zip ones ? I don't find it anywhere and gds still not working. Could you help please ? Thanks 🙂

Hi... Was this resolved using 3.5.17 ? Im stuck on the 4.0.3 and wondering if down grading and reloading all my data is worth the effort or. to simply wait till the end of the month for the library release

no it wasn't.. Also I couldn't find anything about gds in my logs..

@ami.ta @guarav.malhotra - please download GDS 1.2 preview release from the Neo4j download center, and place it in your plugins folder. That release is compatible with Neo4j 4.0.

@alicia.frame
I downloaded GDS 1.2 (neo4j-graph-data-science-1.2.0-alpha01-standalone), unzipped it and placed the jar in the right directory (using the 'open folder -> Plugins' button in Neo4j Desktop)

I added in my settings:
dbms.security.procedures.unrestricted="apoc.,gds."
dbms.security.procedures.whitelist="apoc.,gds."

But when I start the DB, I get:
2020-05-04 20:20:10.321+0000 WARN The 'dbms.security.procedures.unrestricted' setting is overridden. Setting value changed from '"apoc.,gds."' to 'apoc.*'.

And GDS does not work. Any hint, please?

Actually, I got it working using the pre-release version of neo4j Desktop.

But now I am trying to make it work from a docker image:

FROM neo4j:4.0.3-enterprise


ENV NEO4JLABS_PLUGINS='["apoc"]'

ENV NEO4J_dbms_security_procedures_unrestricted="apoc.*,gds.*"

ENV NEO4J_dbms_security_procedures_whitelist="apoc.*,gds.*"

ENV NEO4J_apoc_import_file_enabled="true"

ENV NEO4J_apoc_export_file_enabled="true"

ENV NEO4J_ACCEPT_LICENSE_AGREEMENT="yes"

ENV NEO4J_dbms_default__listen__address="0.0.0.0"

ENV NEO4J_dbms_allow__upgrade="true"

COPY neo4j/plugins/ /var/lib/neo4j/plugins

EXPOSE 7474 7473 7687

CMD ["neo4j"]

But the jar is not recognized...

Neo4j failed: Component 'org.neo4j.server.database.LifecycleManagingDatabaseService@6b70d1fb' was successfully initialized, but failed to start. Please see the attached cause exception "Some jar procedure files are invalid, see log for details."

Any idea?

It's CALL gds.list() and RETURN gds.version().

For step by step installation instructions see: https://neo4j.com/docs/graph-data-science/current/installation/

GDS 1.2 preview is compatible with Neo4j 4.x .


hIall ,
im getting below error 

 

Unknown function 'gds.version' (line 1, column 8 (offset: 7)) "RETURN gds.version()"

 

code : gds = GraphDataScience(HOST, auth=(USERNAME, PASSWORD))

 

gds version is 1.3 and neo4j is 3.5 still error , can any one help here

Hey @DK ,
As stated in https://neo4j.com/docs/graph-data-science/current/installation/supported-neo4j-versions/, GDS 1.3 is not compatible with Neo4j 3.5. The last compatible version was GDS 1.1.

I would highly recommend to update Neo4j to a more recent version