Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to verify the installation on a neo4j server (v5.5.0)? #301

Open
3190100993 opened this issue Mar 21, 2023 · 3 comments
Open

How to verify the installation on a neo4j server (v5.5.0)? #301

3190100993 opened this issue Mar 21, 2023 · 3 comments

Comments

@3190100993
Copy link

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.

@jbarrasa
Copy link
Collaborator

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.

@3190100993
Copy link
Author

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.

@corinabioinformatic
Copy link

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

image

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"]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants