neo4j / graph-data-science

Source code for the Neo4j Graph Data Science library of graph algorithms.
https://neo4j.com/docs/graph-data-science/current/
Other
596 stars 157 forks source link

docker-neo4j gds plugin broken url - version: <4.4.6 #231

Closed sathishsw closed 1 year ago

sathishsw commented 1 year ago

At docker-neo4j, version <= 4.4.5, the graph-data-science plugin url has been configured with: https://s3-eu-west-1.amazonaws.com/com.neo4j.graphalgorithms. This URL is inaccessible/broken now.

I understand the later versions are migrated to https://graphdatascience.ninja/versions.json.

Also, for version 4.4.12, configuring the property 'dbms.directories.data' with custom path has not been considered and reported with error message:

Consider unsetting SECURE_FILE_PERMISSIONS environment variable, to enable docker to write to /data/databases.

The configuration

securityContext:
  runAsNonRoot: true
config:
  dbms.logs.user.stdout_enabled: "true"
  dbms.directories.logs: "/test"
  dbms.directories.data: "/test/neo4j-data"
  dbms.security.procedures.unrestricted: "gds.*"

Also tried with the environment companions for the above properties

env:
  NEO4J_dbms_directories_data: "/test/neo4j-data"
  NEO4J_dbms_logs_user_stdout__enabled: "true"
  NEO4J_dbms_directories_logs: "/test"
  NEO4J_dbms_security_procedures_unrestricted: "gds.*"
jennyowen commented 1 year ago

team, is it possible to set https://s3-eu-west-1.amazonaws.com/com.neo4j.graphalgorithms as a redirect to the new location?

knutwalker commented 1 year ago

@jennyowen unfortunately not. We tried to set it up this way but this is the direct object URL, not via the "serve HTTP" S3 feature. Their redirects work only for the latter and are ignored for direct object URLs.

jennyowen commented 1 year ago

@sathishdeveloper The https://s3-eu-west-1.amazonaws.com/com.neo4j.graphalgorithms url should work again now. If you still want the other stuff solving please raise that as a separate issue on the neo4j/docker-neo4j repository.

sathishsw commented 1 year ago

Many thanks @jennyowen