-
Notifications
You must be signed in to change notification settings - Fork 426
Closed
Description
Trying to get node-red up and running on my Raspberry Pi. The docker command I am using is:
docker run -it -p 1880:1880 --restart=always --name="nodered" -v /media/data/node-red/:/data -e FLOWS=flows.json nodered/node-red-docker:rpi
Full log output is:
npm info it worked if it ends with ok
npm info using npm@2.15.1
npm info using node@v4.4.4
npm info prestart node-red-docker@0.14.6
npm info start node-red-docker@0.14.6
> node-red-docker@0.14.6 start /usr/src/node-red
> node $NODE_OPTIONS node_modules/node-red/red.js -v $FLOWS "--userDir" "/data"
Welcome to Node-RED
===================
12 Sep 21:00:37 - [info] Node-RED version: v0.14.6
12 Sep 21:00:37 - [info] Node.js version: v4.4.4
12 Sep 21:00:37 - [info] Linux 4.4.13-v7+ arm LE
12 Sep 21:00:37 - [info] Loading palette nodes
{ [Error: EACCES: permission denied, open '/data/.config.json']
errno: -13,
code: 'EACCES',
syscall: 'open',
path: '/data/.config.json' }
12 Sep 21:00:45 - [info] Server now running at http://127.0.0.1:1880/
12 Sep 21:01:59 - [error] Node-RED runtime not started
^C12 Sep 21:02:18 - [info] Stopping flows
/media/data/node-red contains a settings.js file and a flows.json file too, any ideas what might be causing this permissions problem?
Metadata
Metadata
Assignees
Labels
No labels