Search code examples
neo4jservercypherneo4j-apoc

Neo4j: How could I install APOC on Neo4j Server?


I need to install APOC on Neo4j Server how could I do? I created a folder "plugins" and after I executed the following command:

dbms.security.procedures.unrestricted=apoc.*

But I have this error:

Neo.ClientError.Statement.SyntaxError: Invalid input 'b': expected 'r/R' or 
'e/E' (line 1, column 2 (offset: 1))
"dbms.security.procedures.unrestricted=apoc.*"^

Solution

  • For anyone facing issues with restarting Neo4j instance after placing the apoc jar in the plugins folder: Latest version of the APOC jar doesn't work with all Neo4j installations. One needs to use the right APOC version.

    For example, You can find the compatibility matrix for 3.2 version of Neo4j here: https://neo4j-contrib.github.io/neo4j-apoc-procedures/index32.html#_version_compatibility_matrix