When trying to import a local CSV with LOAD CSV
, I get an error:
neo4j@neo4j> LOAD CSV FROM "file:///artists.csv" AS row return row;
+-----+
| row |
+-----+
Couldn't load the external resource at: file:/var/lib/neo4j/import/artists.csv
artists.csv
is straight from the LOAD CSV
docs:
> cat /var/lib/neo4j/import/artists.csv
1,ABBA,1992
2,Roxette,1986
3,Europe,1979
4,The Cardigans,1992
And it seems to have the proper permissions:
> ls -la /var/lib/neo4j/import/artists.csv
-rw-r--r--. 1 neo4j neo4j 62 Jan 2 21:12 /var/lib/neo4j/import/artists.csv
Our config includes the following:
dbms.security.allow_csv_import_from_file_urls=true
server.directories.import=/var/lib/neo4j/import
Using a self-hosted cluster. We are able to load CSV's from URL's with no problems.