3
votes

I just installed Neo4j 3.2.6 on Windows. I am trying to run apoc.load.json. I have moved the plugins folded. They really need to sort this out.

I run it and I'm getting this error:

Failed to invoke procedure apoc.load.json: Caused by: java.lang.RuntimeException: Import from files not enabled, please set apoc.import.file.enabled=true in your neo4j.conf

only one problem, there is no neo4j.conf.

Database starts fine. I can run other statement, just not APOC procedures.

Any ideas?

4

4 Answers

2
votes

You can take a look in the Neo4j file location docs. According to these docs the neo4j.conf file location in Windows installations is:

  • <neo4j-home>\conf\neo4j.conf for zip installations
  • %APPDATA%\Neo4j Community Edition\neo4j.conf for desktop installation (installer)
1
votes

For Neo4j Desktop:

C:\Users{user}\AppData\Roaming\Neo4j Desktop\Application\neo4jDatabases\database-{YOUR DATABASE HERE}\installation-{version}\plugins

0
votes

If you are not able to find in other directions, you can try searching in the below path where I found my configuration located:

C:\Users\{user}\.Neo4jDesktop\neo4jDatabases\database-{YOUR DATABASE HERE}\installation-{version}\conf

Hope it helps.

0
votes

Even though the Neo4j documentation says that for windows desktop neo4j.conf file location is %APPDATA%\Neo4j Community Edition\neo4j.conf, I couldn't find the file at that particular location.

I found the neo4j.conf file at below location :

{YOUR_NEO4J_DB_DIRECTORY}\neo4jDatabases\database-{SOME_VERSION_STRING}\installation-{YOUR_NEO4J_VERSION}\conf

Hope it helps someone!