Skip to content
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

Error installing Neosemantics (n10s) plugin on Neo4j Community Edition 5.25 on Kubernetes #327

Open
tawalke opened this issue Nov 28, 2024 · 2 comments

Comments

@tawalke
Copy link

tawalke commented Nov 28, 2024

I am installing Neo4j using the latest helm chart on Kubernetes noted here:
https://github.com/neo4j/helm-charts/releases

I have mounted (per the instructions noted here: https://neo4j.com/docs/operations-manual/current/kubernetes/plugins/) a volume that has a plugins folder noted in my values.yaml file.

These are the values noted in my values.yaml file:
env:
NEO4J_PLUGINS: '["graph-data-science", "apoc", "n10s"]'

Neo4j Configuration (yaml format)
config:
server.config.strict_validation.enabled: "false"
dbms.security.procedures.unrestricted: "gds.,apoc.,n10s.* "
dbms.security.procedures.allowlist: "gds., apoc., n10s.*"
server.unmanaged_extension_classes: n10s.endpoint=/rdf

I have downloaded the latest release of Neosemantics from the releases folder from here: https://github.com/neo4j-labs/neosemantics/releases/ and added it to my plugins folder on the volume per the instructions (see screenshot below):
image

Upon restarting it shows me the following information noting the n10s is NOT installed:

image

If I add a line to set the config directly to point the plugins folder that holds the neosemantics jar file in my values.yaml file like this:
**config:

server.directories.plugins: "/plugins"

server.config.strict_validation.enabled: "false"
dbms.security.procedures.unrestricted: "gds.,apoc.,n10s.* "
dbms.security.procedures.allowlist: "gds.,apoc.,n10s.*"
server.unmanaged_extension_classes: n10s.endpoint=/rdf**

I then get the following error and the pod Crashes as it is unable to start:

image

If I remove the n10s from the plugin environment variable, then it notes that unmanaged extension is loaded at the endpoint:
image

Please advise what is the correct way to install n10s on my Kubernetes cluster so that I can replicate my local Docker environment to allow for testing and creation of my graph for others to develop against.

@tawalke
Copy link
Author

tawalke commented Dec 4, 2024

Hello? Any thoughts?

@forsakendaemon
Copy link

The most recent version of Neosemantics is for Neo4J 5.20.0, I believe.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants