neosemantics icon indicating copy to clipboard operation
neosemantics copied to clipboard

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

Open tawalke opened this issue 11 months ago • 2 comments

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 avatar Nov 28 '24 04:11 tawalke