Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

There is no procedure with the name `apoc.help` registered for this database instance

I've built and installed the "apoc" procedures according to the github page (The apoc-1.0.0-SNAPSHOT.jar file was copied into the plugins directory after the suerver was stopped, and then I started the server again) but when I try to call any of the procedures, I get an error message.

ex:

$ call apoc.help('search') ;

"There is no procedure with the name apoc.help registered for this database instance. Please ensure you've spelled the procedure name correctly and that the procedure is properly deployed."

I have come across the issue on both MacOs and Windows installations. I'm running Neo4j 3.0.0 as a server (locally on port 7474).

Have I missed any of the settings?

Thanks, Babak.

like image 283
Babak Tourani Avatar asked Apr 27 '16 18:04

Babak Tourani


People also ask

What is APOC in Neo4j?

APOC is an add-on library for Neo4j that provides hundreds of procedures and functions adding a lot of useful functionality. The library covers a lot of things, that's why we provide a searchable Overview of all APOC functions and procedures.

Where is APOC conf in Neo4j?

To traverse to the Dbms folder, click the three dots (...), go to "open folder" -> DBMS, the dbms folder will open, then navigate to "conf" folder inside it & you could find the "neo4j. conf" file. Now you need to create a new "apoc.


2 Answers

I had to manually add this line to the .neo4j.conf file:

dbms.directories.plugins=/Applications/Neo4j\ Community\ Edition.app/Contents/Resources/app/plugins

(assuming that's where you dropped the APOC jar) and then restart the server.

(It's a little confusing as there's an option in the management app to configure this path, but it seems not actually to enable plug-ins on the server.)

like image 118
stephent Avatar answered Oct 04 '22 19:10

stephent


For Windows users it should look like this:

dbms.directories.plugins=c:/Program\ Files/Neo4j\ CE\ 3.0.0/plugins

Assuming You have Neo4j installed at Neo4j CE 3.0.0. The import

like image 28
maklipsa Avatar answered Oct 04 '22 19:10

maklipsa