Unable to install GDS plugin on Neo4j server

Hi,

We have Neo4j Server 5.3.0 (enterprise edition) installed in a kubernetes cluster using the helm chart.
I'm currently trying to install GDS plugin with such configuration of the helm chart

neo4j:
  name: gds-no-license
  acceptLicenseAgreement: "yes"
  edition: enterprise
volumes:
  data:
    mode: defaultStorageClass
env:
  NEO4J_PLUGINS: '["graph-data-science", "apoc"]'
config:
  dbms.security.procedures.unrestricted: "gds.*,apoc.*"

the neo4j pod is up and runnig and i see in logs it has been installed

Installing Plugin 'graph-data-science' from /var/lib/neo4j/products/neo4j-graph-data-science-2.2.6.jar to /plugins/graph-data-science.jar
Applying default values for plugin graph-data-science to neo4j.conf

But when i just simply try to check the version in the neo4j browser RETURN gds.version()
i get Unknown function 'gds.version'

Does anyone know what's wrong here?

Thanks in advance!

Hello @Ororom ,
Could you try to also set dbms.security.procedures.allowlist=gds.* in the config?

Hello @florentin_dorre
unfortunately that didn't help

Hi @Ororom

I just tried the below config and its working absolutely fine for me with the latest v5 helm charts available.

neo4j:
  name: licenses2
  acceptLicenseAgreement: "yes"
  edition: enterprise
  password: my-password
volumes:
  data:
    mode: defaultStorageClass

env:  
  NEO4J_PLUGINS: '["graph-data-science"]'
config:
  dbms.security.procedures.unrestricted: "gds.*,apoc.*,bloom.*"

May be try with a fresh helm install after delete all the old pv,pvc's which you might be referring to in earlier tries

Thanks,
Harshit

Hi @harshit.singhvi
That's not my case, since I have a live database. But thanks for the hint, maybe I should update the version of Neo4j

Thanks everyone for your help. I found the cause of the issue.
We had a configuration for plugins in volumes section of the helm file from an older version of Neo4j. That's broke the plugin installation. When i removed that, everything worked fine.

      volumes:
        data:
          mode: "volume"
          volume:
            persistentVolumeClaim:
              claimName: claimName
        plugins:
          mode: "share"
          share:
            name: "data"