-
Notifications
You must be signed in to change notification settings - Fork 172
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
Why am I encountering an issue with the GDS library on a Neo4j Docker container on Windows, despite it working on Linux? #429
Comments
It sounds like docker for windows isn't loading the GDS plugin properly. Docker for windows/mac runs in a virtual machine and that can introduce weird runtime conditions. |
@jennyowen Thank you for the reply here is the output: DEBUGGING ENABLED
|
Hmm it looks like it's not even trying to load the plugin. It just gives the error Are you sure you're properly typing out |
Just a quick update on my experience with the plugin installation process. Uploading the plugin directly from commands is completely out of the question for now on Windows. I used the following Docker command:
While this allowed me to manually create a folder for the plugin i still had to download and paste the .jar file into the plugin directory and finally it worked.
|
@studyVersion - try adding this to your docker run |
Legend, thanks a lot! |
I'm running a Neo4j container with the GDS library installed using the following command:
docker run --name testneo4j -p 7474:7474 -p 7687:7687 -v /path/to/neo4j/data:/data -e NEO4J_AUTH=neo4j/12345678 --env NEO4J_PLUGINS='["graph-data-science"]' -d neo4j:latest
On Linux, the query RETURN gds.version() works fine, indicating that the library is installed properly. However, when I run the same query on Windows 11, I get the following error:
Neo.ClientError.Statement.SyntaxError Unknown function 'gds.version' (line 1, column 8 (offset: 7)) "EXPLAIN return gds.version()" ^
I'd like to avoid using a virtual machine and run the container on my localhost instead. Does anyone have an idea what's causing this issue and how to resolve it?
The text was updated successfully, but these errors were encountered: