cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to install graph-algorithms on neo4j 3.5 running on k8s

tozzifan
Node

Hello,
I deployed Neo4j 3.5 in a kubernetes cluster by using an helm chart.

In my installation I need both apoc than algo plugin.
I successfull installed plugins, but when I tried to run procedure to calculate pageRank I ran into sandbox error

  • algo.pageRank is unavailable because it is sandboxed and has dependencies outside of the sandbox. Sandboxing is controlled by the dbms.security.procedures.unrestricted setting. Only unrestrict procedures you can trust with access to database internals.

Here is my YAML file for helm

acceptLicenseAgreement: "yes"

neo4jPassword: "..."
imageTag: 3.5.9-enterprise

# Cores
core:

  envFrom: []

  resources: {}

  standalone: true
  numberOfServers: 3
  persistentVolume:
    enabled: true
  initContainers:
    - name: init-plugins
      image: "appropriate/curl:latest"
      imagePullPolicy: "IfNotPresent"
      volumeMounts:
      - name: plugins
        mountPath: /plugins
      command:
        - "/bin/sh"
        - "-c"
        - |
          curl -L https://github.com/neo4j-contrib/neo4j-apoc-procedures/releases/download/3.5.0.11/apoc-3.5.0.11-all.jar -O
          cp apoc-3.5.0.11-all.jar /plugins/ && curl -L https://github.com/neo4j-contrib/neo4j-graph-algorithms/releases/download/3.5.4.0/graph-algorithms-algo-3.5.4.0.jar -O
          cp graph-algorithms-algo-3.5.4.0.jar /plugins/
  extraVars:
  - name: NEO4J_dbms_security_procedures_unrestricted
    value: "algo.*"

What am I doing wrong?

0 REPLIES 0
Nodes 2022
Nodes
NODES 2022, Neo4j Online Education Summit

On November 16 and 17 for 24 hours across all timezones, you’ll learn about best practices for beginners and experts alike.