ERROR: for root_traefik_1 Cannot start service traefik: error while creating mount source path ‘/local-files’:Creating root_n8n_1 … error
ERROR: for root_n8n_1 Cannot start service n8n: error while creating mount source path ‘/local-files’: mkdir /local-files: read-only file system
ERROR: for traefik Cannot start service traefik: error while creating mount source path ‘/local-files’: mkdir /local-files: read-only file system
ERROR: for n8n Cannot start service n8n: error while creating mount source path ‘/local-files’: mkdir /local-files: read-only file system
ERROR: Encountered errors while bringing up the project.
Can anyone help me to run my server again please.
Best regards;
What do you mean with your JSON files? Do you mean the workflows?
If so, and you were using SQLite (the default database), that’s persisted in the .n8n folder. Where is that folder? It depends on what you set the env variable DATA_FOLDER. If you did not set the env variable, it took the default value /root/n8n/.
You can remove the line - /local-files:/files from the traefik configuration. It is not used anyway. You can probably also remove it from the n8n configuration unless you really have planned to save files there. If you want to, then you should also change it to a valid path. I guess that the folder /local-files does not exist and it can not be created.
You workflows are saved in the folder to which the variable DATA_FOLDER is set to. You will probably find that information in the .env file.