neosemantics
neosemantics copied to clipboard
How to verify the installation on a neo4j server (v5.5.0)?
When I type "show procedures", it shows some contents. But if I type "call dbms.procedures()" or ":GET /rdf/ping", it ain't right. I wonder if I could continue.
hi @3190100993
If call dbms.procedures()
does not work it probably means you're on 5.x and now the way to get the list of procs is show procedures
so all good as long as you see the n10s.*
ones listed there.
You can try this: show procedures where name starts with "n10s"
to get those only
If :GET /rdf/ping
throws an error it probably means you have not installed the http extension. You sill will be able to use all procedures but you won't have the /rdf/*
http endpoint available.
To get it to work follow the instructions in the manual.
(basically all you have to do is add this line dbms.unmanaged_extension_classes=n10s.endpoint=/rdf
to your neo4j config and restart your instance)
Hope this helps.
Cheers,
JB.
Well,I tried "show procedures where name starts with "n10s"", but it shows "no changes,no records". And I did add the line "dbms.unmanaged_extension_classes=n10s.endpoint=/rdf" to my neo4j conf, so I wonder where the problem is.
Hi @jbarrasa !
Same problem for me.
I am using neo4j from docker and i want to add the plugin n10s.
But when I run the browser and as the instructions said, I check in CYPHER using :GET http://localhost:7474/rdf/ping
I got the error of the picture above. SHOW PROCEDURES also does not show procedures with n10s prefix.
I am using the image: neo4j:5.18
Also when I run the docker-compose.yaml , the messages seems to indicate that neo4j is installing succesfully n10s:
neo4j | Fetching versions.json for Plugin 'n10s' from https://neo4j-labs.github.io/neosemantics/versions.json
neo4j | Installing Plugin 'n10s' from https://github.com/neo4j-labs/neosemantics/releases/download/5.18.0/neosemantics-5.18.0.jar to /var/lib/neo4j/plugins/n10s.jar
neo4j | Applying default values for plugin n10s to neo4j.conf
neo4j | Skipping dbms.security.procedures.unrestricted for plugin n10s because it is already set.
neo4j | You may need to add semantics.* to the dbms.security.procedures.unrestricted setting in your configuration file.
Any advice? I am using an update reference from this other ticket
My environment variables are:
- NEO4J_AUTH=XXX/XXX
- NEO4J_HOME=/var/lib/neo4j
- NEO4J_apoc_export_file_enabled=true
- NEO4J_apoc_import_file_enabled=true
- NEO4J_apoc_import_file_use__neo4j__config=true
- NEO4J_dbms_security_procedures_unrestricted=apoc.*, semantics.*
- NEO4J_dbms_security_procedures_allowlist=apoc.*, semantics.*
- NEO4J_server.unmanaged_extension_classes=n10s.endpoint=/rdf
- NEO4J_PLUGINS=["apoc", "n10s"]