I have the apoc jar in the plugins directory and file.cyp in the import directory.
I want to use call apoc.cypher.runFile("file.cyp"); to execute cypher from script file, and i have the configuration as below:
When i run the call apoc.cypher.runFile("file.cyp"); i have this error:
Failed to invoke procedure `apoc.cypher.runFile`: Caused by: java.lang.RuntimeException: Import from files not enabled, please set apoc.import.file.enabled=true in your neo4j.conf
Check if this property is at multiple places. And if it is in cluster, Make sure this property is added in all the instances and restarted.
Working file for me on neo4j community 3.5.14.