Hi I tried to upgrade my old nodered/node-red-docker container with the new image nodered/node-red version 1.2.1
The container is not starting properly / restarting every minute. I mounted the old volume to /data.
The log is:
> node-red-docker@1.2.1 start /usr/src/node-red
> node $NODE_OPTIONS node_modules/node-red/red.js $FLOWS "--userDir" "/data"
18 Oct 05:11:46 - [warn] Flushing file /data/.config.nodes.json.$$$ to disk failed : Error: EACCES: permission denied, open '/data/.config.nodes.json.$$$'
18 Oct 05:11:46 - [error] Failed to start server:
18 Oct 05:11:46 - [error] Error: EACCES: permission denied, open '/data/.config.nodes.json.$$$'
18 Oct 05:11:46 - [warn] Flushing file /data/.config.users.json.$$$ to disk failed : Error: EACCES: permission denied, open '/data/.config.users.json.$$$'
18 Oct 05:11:46 - [warn] Flushing file /data/.config.projects.json.$$$ to disk failed : Error: EACCES: permission denied, open '/data/.config.projects.json.$$$'
18 Oct 05:11:46 - [warn] Flushing file /data/.config.runtime.json.$$$ to disk failed : Error: EACCES: permission denied, open '/data/.config.runtime.json.$$$'
Update:
When i create a new volume every thing works fine.
I changed the old volume to public, now it works. The old flows seem to be lost. 