Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.
04-21-2021 08:22 AM
Hello,
Im using neo4j 4.2.2 - an installation based on the official helm chart.
neosemantic-4.2.0.0..jar
I would like to deploy neo4j with apoc and n10s plugin.
for APOC - I just mention "apoc" in the plugin section in the values file
But the APOC jar not found under plugin dir - when connecting to neo4j pod i can find the apoc under /var/lib/neo4j/labs and in /plugins (It can cause to issues?,from my point its working as well)
The MAIN ISSUE is with the n10s plugin,
for install it I add the following to the common-config.yaml
NEO4J_dbms_connector_http_listen__address: "0.0.0.0:7474"
NEO4J_dbms_connector_http_advertised__address: "0.0.0.0:7474"
NEO4J_dbms_security_procedures_unrestricted: "n10s.,apoc."
NEO4J_dbms_unmanaged__extension__classes: "n10s.extension=/rdf"
In addition in the values file I added under core section
initContainers:
## init containers to run before the Neo4j replica pod e.g. to install custom plugins
## They can also be used to restore from last available backup, to ensure that newly joining
## core members have less TX history to catch up on before joining the cluster.
## Note that this is specifically not needed for APOC, which is included by default.
- name: init-plugins
image: "appropriate/curl:latest"
imagePullPolicy: "IfNotPresent"
volumeMounts:
- name: plugins
mountPath: /plugins
command: ["/bin/sh","-c","curl -L https://github.com/neo4j-labs/neosemantics/releases/download/4.2.0.0/neosemantics-4.2.0.0.jar -O && cp neosemantics-4.2.0.0.jar /plugins/"]
In the log file I can see:
2021-04-21 14:50:09.430+0000 INFO [o.n.s.m.ThirdPartyJAXRSModule] Mounted unmanaged extension [n10s.extension] at [/rdf]
2021-04-21 14:50:10.323+0000 INFO [c.n.s.e.EnterpriseNeoWebServer] Remote interface available at http://0.0.0.0:7474/
2021-04-21 14:50:10.323+0000 INFO [o.n.s.AbstractNeoWebServer$ServerComponentsLifecycleAdapter] Web server started.
But Im getting 404 once i try to access localhost:7474/rdf/ping
In addition, the n10s.jar not found in the /var/lib/neo4j/plugins just under /plugin dir
Tnx In advance!!
Solved! Go to Solution.
04-22-2021 01:29 AM
The problem was that I used NEO4J_dbms_unmanaged__extension__classes: "n10s.extension=/rdf"
instaned NEO4J_dbms_unmanaged__extension__classes: "n10s.endpoint=/rdf"
04-22-2021 01:29 AM
The problem was that I used NEO4J_dbms_unmanaged__extension__classes: "n10s.extension=/rdf"
instaned NEO4J_dbms_unmanaged__extension__classes: "n10s.endpoint=/rdf"
All the sessions of the conference are now available online