Skip to content

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

@tawalke

Description

@tawalke

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions