Here is my attempt but keep saying: no such file or directory
jan
May 3, 2023, 6:26pm
2
As you run n8n in Docker will it not know about the files on your local filesystem. For n8n being able to read the files you have to mount the folder which contains the files. Do you have Docker experience?
jan
May 3, 2023, 7:38pm
3
Btw. here is an example how to copy them in instead of mounting:
Hi I’ve tried this:
But I’m still unsure of where to put my workflows.json file so I can run;
docker exec -it -u node n8nDocker n8n import:workflow --input=workflows.json
I’ve tried putting the file in /home/myusername and linking directly in the command, but as n8n is in Docker I’m assuming that will never work. So I tried in
/var/lib/docker/volumes/n8nDocker-data/_data/workflows.json and still nothing.
I always get;
ENOENT: no such file or directory, open 'workflows.json'
Thank you