13

Need to set apoc.import.file.enabled=true in apoc.conf, but cannot find it anywhere.

user11879807
  • 251
  • 1
  • 3
  • 11

1 Answers1

4

Neo4j does not require a separate apoc.conf file. You can simply add the setting to the neo4j.conf file, restart, and it should work.

As of 12/5/2022: this works for both the apoc.import.file.enabled =true AND the apoc.export.file.enabled =true settings.

Austin
  • 8,018
  • 2
  • 31
  • 37
blackrain
  • 425
  • 3
  • 8
  • 1
    I am not able to locate this file, is it the same as neo4j.conf ? – user11879807 Apr 24 '20 at 18:17
  • 4
    yes, add it to neo4j.conf. Also if you get error using apoc, see this https://neo4j.com/developer/kb/explanation-of-error-procedure-is-not-available-due-to-having-restricted-access-rights-check-configuration/ – blackrain Apr 24 '20 at 19:21
  • 3
    Find the location of "neo4j.conf" and create that apoc.conf file beside that. – Cihan Yakar Dec 31 '21 at 08:32
  • In version 5.4 I had to create a separate file`apoc.conf` as Cihan Yakar wrote. By adding apoc configs to `neo4j.conf`, DBMS was not starting. – scabbiaza Mar 23 '23 at 08:45