Try again - Node-Red installation issues as Pi on November Jessie

1,153 views
Skip to first unread message

Peter Scargill

unread,
Jan 16, 2016, 9:12:40 AM1/16/16
to Node-RED
I have as some of you know a script for installing some apps including Node-Red on the Pi. I recently started bhaving and instead of doing everything as ROOT - did the installation as Pi.   I have had this work - as have others - but for some reason now everything in my script works EXCEPT the Node-Red installation which fails miserably.

I start with the November Jessie image and here is the part of the script that installs Node-Red and a boatload of nodes...


task_start "Node-Red" "Loading Node-Red"
if [ $skip -eq 0 ]  
then
# Dave provided most of this - installation of Node-Red and my selection of nodes
sudo apt-get remove -y nodered nodejs nodejs-legacy npm
sudo apt-get autoremove -y
sudo apt-get install -y build-essential python-dev python-rpi.gpio nodejs
sudo npm cache clean
sudo npm install -g --unsafe-perm node-red
sudo chmod +x /usr/bin/node-red-st*
sudo systemctl daemon-reload
mkdir .node-red
cd .node-red
sudo npm install -g node-red-admin
npm install moment
npm install node-red-contrib-grove
npm install node-red-contrib-bigtimer
npm install node-red-contrib-esplogin
npm install node-red-node-pushbullet
npm install node-red-contrib-freeboard
npm install node-red-node-openweathermap
npm install node-red-node-google
npm install node-red-node-sqlite
npm install node-red-contrib-ui
npm install node-red-node-emoncms
npm install node-red-node-geofence
npm install node-red-contrib-ivona
npm install node-red-contrib-moment
npm install node-red-contrib-particle
npm install node-red-contrib-graphs
npm install node-red-node-ledborg
npm install node-red-node-ping
npm install node-red-node-random
npm install node-red-node-smooth
npm install node-red-contrib-npm
npm install raspi-io
npm install node-red-contrib-gpio
task_end
fi

IT SEEMS to start falling over part way through the node installs if you look at the error messages below (ignore the unused variable messages for another package... everytghing else workds.

So now  on reboot - node-red-start starts - but fails spectacularly..

Here is what happens when I try node-red-start


pi@iot-demo-one:~ $
pi@iot-demo-one:~ $ node-red-start

Start Node-RED

Once Node-RED has started, point a browser at http://192.168.0.124:1880
On Pi Node-RED works better with the Iceweasel browser

Use   node-red-stop                          to stop Node-RED
Use   node-red-start                         to start Node-RED again
Use   sudo systemctl enable nodered.service  to autostart Node-RED at every boot
Use   sudo systemctl disable nodered.service to disable autostart on boot

To find more nodes and example flows - go to http://flows.nodered.org
You may also need to install and upgrade npm
      sudo apt-get install npm
      sudo npm i -g npm@2.x

Starting Node-RED graphical event wiring tool....
Started Node-RED graphical event wiring tool..
fs.js:549
return binding.open(pathModule._makeLong(path), stringToFlags(flags), mode);
^
Error: EACCES: permission denied, open '/home/pi/.node-red/settings.js'
at Error (native)
at Object.fs.openSync (fs.js:549:18)
at copyFileSync (/usr/lib/node_modules/node-red/node_modules/fs-extra/lib/copy-s                                                           ync/copy-file-sync.js:21:16)
at Object.copySync (/usr/lib/node_modules/node-red/node_modules/fs-extra/lib/cop                                                           y-sync/copy-sync.js:31:7)
at Object.<anonymous> (/usr/lib/node_modules/node-red/red.js:91:20)
at Module._compile (module.js:435:26)
at Object.Module._extensions..js (module.js:442:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:313:12)
at Function.Module.runMain (module.js:467:10)
nodered.service: main process exited, code=exited, status=1/FAILURE
Unit nodered.service entered failed state.
nodered.service holdoff time over, scheduling restart.
Stopping Node-RED graphical event wiring tool....
Starting Node-RED graphical event wiring tool....
Started Node-RED graphical event wiring tool..
fs.js:549
return binding.open(pathModule._makeLong(path), stringToFlags(flags), mode);
^
Error: EACCES: permission denied, open '/home/pi/.node-red/settings.js'
at Error (native)
at Object.fs.openSync (fs.js:549:18)
at copyFileSync (/usr/lib/node_modules/node-red/node_modules/fs-extra/lib/copy-s                                                           ync/copy-file-sync.js:21:16)
at Object.copySync (/usr/lib/node_modules/node-red/node_modules/fs-extra/lib/cop                                                           y-sync/copy-sync.js:31:7)
at Object.<anonymous> (/usr/lib/node_modules/node-red/red.js:91:20)
at Module._compile (module.js:435:26)
at Object.Module._extensions..js (module.js:442:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:313:12)
at Function.Module.runMain (module.js:467:10)
nodered.service: main process exited, code=exited, status=1/FAILURE
Unit nodered.service entered failed state.
nodered.service holdoff time over, scheduling restart.
Stopping Node-RED graphical event wiring tool....
Starting Node-RED graphical event wiring tool....
Started Node-RED graphical event wiring tool..
fs.js:549
return binding.open(pathModule._makeLong(path), stringToFlags(flags), mode);
^
Error: EACCES: permission denied, open '/home/pi/.node-red/settings.js'
at Error (native)
at Object.fs.openSync (fs.js:549:18)
at copyFileSync (/usr/lib/node_modules/node-red/node_modules/fs-extra/lib/copy-s                                                           ync/copy-file-sync.js:21:16)
at Object.copySync (/usr/lib/node_modules/node-red/node_modules/fs-extra/lib/cop                                                           y-sync/copy-sync.js:31:7)
at Object.<anonymous> (/usr/lib/node_modules/node-red/red.js:91:20)
at Module._compile (module.js:435:26)
at Object.Module._extensions..js (module.js:442:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:313:12)
at Function.Module.runMain (module.js:467:10)
nodered.service: main process exited, code=exited, status=1/FAILURE
Unit nodered.service entered failed state.
nodered.service holdoff time over, scheduling restart.
Stopping Node-RED graphical event wiring tool....
Starting Node-RED graphical event wiring tool....
Started Node-RED graphical event wiring tool..
fs.js:549
return binding.open(pathModule._makeLong(path), stringToFlags(flags), mode);
^
Error: EACCES: permission denied, open '/home/pi/.node-red/settings.js'
at Error (native)
at Object.fs.openSync (fs.js:549:18)
at copyFileSync (/usr/lib/node_modules/node-red/node_modules/fs-extra/lib/copy-sync/cop                                                    y-file-sync.js:21:16)
at Object.copySync (/usr/lib/node_modules/node-red/node_modules/fs-extra/lib/copy-sync/                                                    copy-sync.js:31:7)
at Object.<anonymous> (/usr/lib/node_modules/node-red/red.js:91:20)
at Module._compile (module.js:435:26)
at Object.Module._extensions..js (module.js:442:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:313:12)
at Function.Module.runMain (module.js:467:10)
nodered.service: main process exited, code=exited, status=1/FAILURE
Unit nodered.service entered failed state.
nodered.service holdoff time over, scheduling restart.
Stopping Node-RED graphical event wiring tool....
Starting Node-RED graphical event wiring tool....
Started Node-RED graphical event wiring tool..
fs.js:549
return binding.open(pathModule._makeLong(path), stringToFlags(flags), mode);
^
Error: EACCES: permission denied, open '/home/pi/.node-red/settings.js'
at Error (native)
at Object.fs.openSync (fs.js:549:18)
at copyFileSync (/usr/lib/node_modules/node-red/node_modules/fs-extra/lib/copy-sync/cop                                                    y-file-sync.js:21:16)
at Object.copySync (/usr/lib/node_modules/node-red/node_modules/fs-extra/lib/copy-sync/                                                    copy-sync.js:31:7)
at Object.<anonymous> (/usr/lib/node_modules/node-red/red.js:91:20)
at Module._compile (module.js:435:26)
at Object.Module._extensions..js (module.js:442:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:313:12)
at Function.Module.runMain (module.js:467:10)
nodered.service: main process exited, code=exited, status=1/FAILURE
Unit nodered.service entered failed state.
nodered.service holdoff time over, scheduling restart.
Stopping Node-RED graphical event wiring tool....
Starting Node-RED graphical event wiring tool....
Started Node-RED graphical event wiring tool..
fs.js:549
return binding.open(pathModule._makeLong(path), stringToFlags(flags), mode);
^
Error: EACCES: permission denied, open '/home/pi/.node-red/settings.js'
at Error (native)
at Object.fs.openSync (fs.js:549:18)
at copyFileSync (/usr/lib/node_modules/node-red/node_modules/fs-extra/lib/copy-sync/cop                                                    y-file-sync.js:21:16)
at Object.copySync (/usr/lib/node_modules/node-red/node_modules/fs-extra/lib/copy-sync/                                                    copy-sync.js:31:7)
at Object.<anonymous> (/usr/lib/node_modules/node-red/red.js:91:20)
at Module._compile (module.js:435:26)
at Object.Module._extensions..js (module.js:442:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:313:12)
at Function.Module.runMain (module.js:467:10)
nodered.service: main process exited, code=exited, status=1/FAILURE
Unit nodered.service entered failed state.
nodered.service holdoff time over, scheduling restart.
Stopping Node-RED graphical event wiring tool....
Starting Node-RED graphical event wiring tool....
Started Node-RED graphical event wiring tool..
fs.js:549
return binding.open(pathModule._makeLong(path), stringToFlags(flags), mode);
^
Error: EACCES: permission denied, open '/home/pi/.node-red/settings.js'
at Error (native)
at Object.fs.openSync (fs.js:549:18)
at copyFileSync (/usr/lib/node_modules/node-red/node_modules/fs-extra/lib/copy-sync/cop                                                    y-file-sync.js:21:16)
at Object.copySync (/usr/lib/node_modules/node-red/node_modules/fs-extra/lib/copy-sync/                                                    copy-sync.js:31:7)
at Object.<anonymous> (/usr/lib/node_modules/node-red/red.js:91:20)
at Module._compile (module.js:435:26)
at Object.Module._extensions..js (module.js:442:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:313:12)
at Function.Module.runMain (module.js:467:10)
nodered.service: main process exited, code=exited, status=1/FAILURE
Unit nodered.service entered failed state.
nodered.service holdoff time over, scheduling restart.
Stopping Node-RED graphical event wiring tool....
Starting Node-RED graphical event wiring tool....
Started Node-RED graphical event wiring tool..
fs.js:549
return binding.open(pathModule._makeLong(path), stringToFlags(flags), mode);
^
Error: EACCES: permission denied, open '/home/pi/.node-red/settings.js'
at Error (native)
at Object.fs.openSync (fs.js:549:18)
at copyFileSync (/usr/lib/node_modules/node-red/node_modules/fs-extra/lib/copy-sync/cop                                                    y-file-sync.js:21:16)
at Object.copySync (/usr/lib/node_modules/node-red/node_modules/fs-extra/lib/copy-sync/                                                    copy-sync.js:31:7)
at Object.<anonymous> (/usr/lib/node_modules/node-red/red.js:91:20)
at Module._compile (module.js:435:26)
at Object.Module._extensions..js (module.js:442:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:313:12)
at Function.Module.runMain (module.js:467:10)
nodered.service: main process exited, code=exited, status=1/FAILURE
Unit nodered.service entered failed state.
nodered.service holdoff time over, scheduling restart.
Stopping Node-RED graphical event wiring tool....
Starting Node-RED graphical event wiring tool....
Started Node-RED graphical event wiring tool..
fs.js:549
return binding.open(pathModule._makeLong(path), stringToFlags(flags), mode);
^
Error: EACCES: permission denied, open '/home/pi/.node-red/settings.js'
at Error (native)
at Object.fs.openSync (fs.js:549:18)
at copyFileSync (/usr/lib/node_modules/node-red/node_modules/fs-extra/lib/copy-sync/cop                                                    y-file-sync.js:21:16)
at Object.copySync (/usr/lib/node_modules/node-red/node_modules/fs-extra/lib/copy-sync/                                                    copy-sync.js:31:7)
at Object.<anonymous> (/usr/lib/node_modules/node-red/red.js:91:20)
at Module._compile (module.js:435:26)
at Object.Module._extensions..js (module.js:442:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:313:12)
at Function.Module.runMain (module.js:467:10)
nodered.service: main process exited, code=exited, status=1/FAILURE
Unit nodered.service entered failed state.
^Cpi@iot-demo-one:~ $
pi@iot-demo-one:~ $
pi@iot-demo-one:~ $
pi@iot-demo-one:~ $
pi@iot-demo-one:~ $
pi@iot-demo-one:~ $
pi@iot-demo-one:~ $
pi@iot-demo-one:~ $
pi@iot-demo-one:~ $
pi@iot-demo-one:~ $ sudo node-red-start

Start Node-RED

Once Node-RED has started, point a browser at http://192.168.0.124:1880
On Pi Node-RED works better with the Iceweasel browser

Use   node-red-stop                          to stop Node-RED
Use   node-red-start                         to start Node-RED again
Use   sudo systemctl enable nodered.service  to autostart Node-RED at every boot
Use   sudo systemctl disable nodered.service to disable autostart on boot

To find more nodes and example flows - go to http://flows.nodered.org
You may also need to install and upgrade npm
      sudo apt-get install npm
      sudo npm i -g npm@2.x

at Module.load (module.js:356:32)
at Function.Module._load (module.js:313:12)
at Function.Module.runMain (module.js:467:10)
nodered.service: main process exited, code=exited, status=1/FAILURE
Unit nodered.service entered failed state.
nodered.service holdoff time over, scheduling restart.
Stopping Node-RED graphical event wiring tool....
Starting Node-RED graphical event wiring tool....
Started Node-RED graphical event wiring tool..
Started Node-RED graphical event wiring tool..
fs.js:549
return binding.open(pathModule._makeLong(path), stringToFlags(flags), mode);
^
Error: EACCES: permission denied, open '/home/pi/.node-red/settings.js'
at Error (native)
at Object.fs.openSync (fs.js:549:18)
at copyFileSync (/usr/lib/node_modules/node-red/node_modules/fs-extra/lib/copy-sync/cop                                                    y-file-sync.js:21:16)
at Object.copySync (/usr/lib/node_modules/node-red/node_modules/fs-extra/lib/copy-sync/                                                    copy-sync.js:31:7)
at Object.<anonymous> (/usr/lib/node_modules/node-red/red.js:91:20)
at Module._compile (module.js:435:26)
at Object.Module._extensions..js (module.js:442:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:313:12)
at Function.Module.runMain (module.js:467:10)
nodered.service: main process exited, code=exited, status=1/FAILURE
Unit nodered.service entered failed state.
nodered.service holdoff time over, scheduling restart.
Stopping Node-RED graphical event wiring tool....
Starting Node-RED graphical event wiring tool....
Started Node-RED graphical event wiring tool..
fs.js:549
return binding.open(pathModule._makeLong(path), stringToFlags(flags), mode);
^
Error: EACCES: permission denied, open '/home/pi/.node-red/settings.js'
at Error (native)
at Object.fs.openSync (fs.js:549:18)
at copyFileSync (/usr/lib/node_modules/node-red/node_modules/fs-extra/lib/copy-sync/cop                                                    y-file-sync.js:21:16)
at Object.copySync (/usr/lib/node_modules/node-red/node_modules/fs-extra/lib/copy-sync/                                                    copy-sync.js:31:7)
at Object.<anonymous> (/usr/lib/node_modules/node-red/red.js:91:20)
at Module._compile (module.js:435:26)
at Object.Module._extensions..js (module.js:442:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:313:12)
at Function.Module.runMain (module.js:467:10)
nodered.service: main process exited, code=exited, status=1/FAILURE
Unit nodered.service entered failed state.
nodered.service holdoff time over, scheduling restart.
Stopping Node-RED graphical event wiring tool....
Starting Node-RED graphical event wiring tool....
Started Node-RED graphical event wiring tool..
fs.js:549
return binding.open(pathModule._makeLong(path), stringToFlags(flags), mode);
^
Error: EACCES: permission denied, open '/home/pi/.node-red/settings.js'
at Error (native)
at Object.fs.openSync (fs.js:549:18)
at copyFileSync (/usr/lib/node_modules/node-red/node_modules/fs-extra/lib/copy-sync/cop                                                    y-file-sync.js:21:16)
at Object.copySync (/usr/lib/node_modules/node-red/node_modules/fs-extra/lib/copy-sync/                                                    copy-sync.js:31:7)
at Object.<anonymous> (/usr/lib/node_modules/node-red/red.js:91:20)
at Module._compile (module.js:435:26)
at Object.Module._extensions..js (module.js:442:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:313:12)
at Function.Module.runMain (module.js:467:10)
nodered.service: main process exited, code=exited, status=1/FAILURE
Unit nodered.service entered failed state.
nodered.service holdoff time over, scheduling restart.
Stopping Node-RED graphical event wiring tool....
Starting Node-RED graphical event wiring tool....
Started Node-RED graphical event wiring tool..
fs.js:549
return binding.open(pathModule._makeLong(path), stringToFlags(flags), mode);
^
Error: EACCES: permission denied, open '/home/pi/.node-red/settings.js'
at Error (native)
at Object.fs.openSync (fs.js:549:18)
at copyFileSync (/usr/lib/node_modules/node-red/node_modules/fs-extra/lib/copy-sync/cop                                                    y-file-sync.js:21:16)
at Object.copySync (/usr/lib/node_modules/node-red/node_modules/fs-extra/lib/copy-sync/                                                    copy-sync.js:31:7)
at Object.<anonymous> (/usr/lib/node_modules/node-red/red.js:91:20)
at Module._compile (module.js:435:26)
at Object.Module._extensions..js (module.js:442:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:313:12)
at Function.Module.runMain (module.js:467:10)
nodered.service: main process exited, code=exited, status=1/FAILURE
Unit nodered.service entered failed state.
nodered.service holdoff time over, scheduling restart.
Stopping Node-RED graphical event wiring tool....
Starting Node-RED graphical event wiring tool....
Started Node-RED graphical event wiring tool..
fs.js:549
return binding.open(pathModule._makeLong(path), stringToFlags(flags), mode);
^
Error: EACCES: permission denied, open '/home/pi/.node-red/settings.js'
at Error (native)
at Object.fs.openSync (fs.js:549:18)
at copyFileSync (/usr/lib/node_modules/node-red/node_modules/fs-extra/lib/copy-sync/cop                                                    y-file-sync.js:21:16)
at Object.copySync (/usr/lib/node_modules/node-red/node_modules/fs-extra/lib/copy-sync/                                                    copy-sync.js:31:7)
at Object.<anonymous> (/usr/lib/node_modules/node-red/red.js:91:20)
at Module._compile (module.js:435:26)
at Object.Module._extensions..js (module.js:442:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:313:12)
at Function.Module.runMain (module.js:467:10)
nodered.service: main process exited, code=exited, status=1/FAILURE
Unit nodered.service entered failed state.
nodered.service holdoff time over, scheduling restart.
Stopping Node-RED graphical event wiring tool....
Starting Node-RED graphical event wiring tool....
Started Node-RED graphical event wiring tool..
fs.js:549
return binding.open(pathModule._makeLong(path), stringToFlags(flags), mode);
^
Error: EACCES: permission denied, open '/home/pi/.node-red/settings.js'
at Error (native)
at Object.fs.openSync (fs.js:549:18)
at copyFileSync (/usr/lib/node_modules/node-red/node_modules/fs-extra/lib/copy-sync/cop                                                    y-file-sync.js:21:16)
at Object.copySync (/usr/lib/node_modules/node-red/node_modules/fs-extra/lib/copy-sync/                                                    copy-sync.js:31:7)
at Object.<anonymous> (/usr/lib/node_modules/node-red/red.js:91:20)
at Module._compile (module.js:435:26)
at Object.Module._extensions..js (module.js:442:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:313:12)
at Function.Module.runMain (module.js:467:10)
nodered.service: main process exited, code=exited, status=1/FAILURE
Unit nodered.service entered failed state.
nodered.service holdoff time over, scheduling restart.
Stopping Node-RED graphical event wiring tool....
Starting Node-RED graphical event wiring tool....
Started Node-RED graphical event wiring tool..
fs.js:549
return binding.open(pathModule._makeLong(path), stringToFlags(flags), mode);
^
Error: EACCES: permission denied, open '/home/pi/.node-red/settings.js'
at Error (native)
at Object.fs.openSync (fs.js:549:18)
at copyFileSync (/usr/lib/node_modules/node-red/node_modules/fs-extra/lib/copy-sync/cop                                                    y-file-sync.js:21:16)
at Object.copySync (/usr/lib/node_modules/node-red/node_modules/fs-extra/lib/copy-sync/                                                    copy-sync.js:31:7)
at Object.<anonymous> (/usr/lib/node_modules/node-red/red.js:91:20)
at Module._compile (module.js:435:26)
at Object.Module._extensions..js (module.js:442:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:313:12)
at Function.Module.runMain (module.js:467:10)
nodered.service: main process exited, code=exited, status=1/FAILURE
Unit nodered.service entered failed state.
nodered.service holdoff time over, scheduling restart.
Stopping Node-RED graphical event wiring tool....
Starting Node-RED graphical event wiring tool....
Started Node-RED graphical event wiring tool..
^Cpi@iot-demo-one:~ $
pi@iot-demo-one:~ $



and here is the entire output of the script running  -note the errors in the node-red area.


Preparing to unpack .../libboost-timer-dev_1.55.0.2_armhf.deb ...
Unpacking libboost-timer-dev:armhf (1.55.0.2) ...
Selecting previously unselected package libboost-wave1.55-dev:armhf.
Preparing to unpack .../libboost-wave1.55-dev_1.55.0+dfsg-3_armhf.deb ...
Unpacking libboost-wave1.55-dev:armhf (1.55.0+dfsg-3) ...
Selecting previously unselected package libboost-wave-dev:armhf.
Preparing to unpack .../libboost-wave-dev_1.55.0.2_armhf.deb ...
Unpacking libboost-wave-dev:armhf (1.55.0.2) ...
Selecting previously unselected package libboost-all-dev.
Preparing to unpack .../libboost-all-dev_1.55.0.2_armhf.deb ...
Unpacking libboost-all-dev (1.55.0.2) ...
Selecting previously unselected package libcurl4-openssl-dev:armhf.
Preparing to unpack .../libcurl4-openssl-dev_7.38.0-4+deb8u2_armhf.deb ...
Unpacking libcurl4-openssl-dev:armhf (7.38.0-4+deb8u2) ...
Selecting previously unselected package libsqlite3-dev:armhf.
Preparing to unpack .../libsqlite3-dev_3.8.7.1-1+deb8u1_armhf.deb ...
Unpacking libsqlite3-dev:armhf (3.8.7.1-1+deb8u1) ...
Selecting previously unselected package libtool.
Preparing to unpack .../libtool_2.4.2-1.11_all.deb ...
Unpacking libtool (2.4.2-1.11) ...
Selecting previously unselected package libusb-dev.
Preparing to unpack .../libusb-dev_2%3a0.1.12-25_armhf.deb ...
Unpacking libusb-dev (2:0.1.12-25) ...
Selecting previously unselected package lksctp-tools.
Preparing to unpack .../lksctp-tools_1.0.16+dfsg-2_armhf.deb ...
Unpacking lksctp-tools (1.0.16+dfsg-2) ...
Selecting previously unselected package scons.
Preparing to unpack .../archives/scons_2.3.1-2_all.deb ...
Unpacking scons (2.3.1-2) ...
Selecting previously unselected package subversion.
Preparing to unpack .../subversion_1.8.10-6+deb8u2_armhf.deb ...
Unpacking subversion (1.8.10-6+deb8u2) ...
Selecting previously unselected package libhwloc-plugins.
Preparing to unpack .../libhwloc-plugins_1.10.0-3_armhf.deb ...
Unpacking libhwloc-plugins (1.10.0-3) ...
Processing triggers for man-db (2.7.0.2-5) ...
Setting up cmake-data (3.0.2-1) ...
Setting up cmake (3.0.2-1) ...
Setting up libapr1:armhf (1.5.1-3) ...
Setting up libaprutil1:armhf (1.5.4-1) ...
Setting up libboost-chrono1.55.0:armhf (1.55.0+dfsg-3) ...
Setting up libboost-context1.55.0:armhf (1.55.0+dfsg-3) ...
Setting up libboost-serialization1.55.0:armhf (1.55.0+dfsg-3) ...
Setting up libhwloc5:armhf (1.10.0-3) ...
Setting up libcr0 (0.8.5-2.2) ...
Setting up libibverbs1 (1.1.8-1.1) ...
Setting up libsctp1:armhf (1.0.16+dfsg-2) ...
Setting up libopenmpi1.6 (1.6.5-9.1+rpi1) ...
Setting up libboost-mpi1.55.0 (1.55.0+dfsg-3) ...
Setting up libboost-graph-parallel1.55.0 (1.55.0+dfsg-3) ...
Setting up libboost-graph1.55.0:armhf (1.55.0+dfsg-3) ...
Setting up libboost-locale1.55.0:armhf (1.55.0+dfsg-3) ...
Setting up libboost-math1.55.0:armhf (1.55.0+dfsg-3) ...
Setting up libboost-python1.55.0 (1.55.0+dfsg-3) ...
Setting up openmpi-common (1.6.5-9.1+rpi1) ...
Setting up openmpi-bin (1.6.5-9.1+rpi1) ...
update-alternatives: using /usr/bin/mpirun.openmpi to provide /usr/bin/mpirun (mpirun) in auto mode
Setting up mpi-default-bin (1.0.2+nmu2) ...
Setting up libboost-mpi-python1.55.0 (1.55.0+dfsg-3) ...
Setting up libboost-random1.55.0:armhf (1.55.0+dfsg-3) ...
Setting up libboost-signals1.55.0:armhf (1.55.0+dfsg-3) ...
Setting up libboost-test1.55.0:armhf (1.55.0+dfsg-3) ...
Setting up libboost-timer1.55.0:armhf (1.55.0+dfsg-3) ...
Setting up libboost-wave1.55.0:armhf (1.55.0+dfsg-3) ...
Setting up libpython2.7-dev:armhf (2.7.9-2) ...
Setting up libserf-1-1:armhf (1.3.8-1) ...
Setting up libsvn1:armhf (1.8.10-6+deb8u2) ...
Setting up ocl-icd-libopencl1:armhf (2.2.3-1+deb8u1) ...
Setting up autotools-dev (20140911.1) ...
Setting up icu-devtools (52.1-8+deb8u3) ...
Setting up libboost1.55-dev:armhf (1.55.0+dfsg-3) ...
Setting up libboost-dev:armhf (1.55.0.2) ...
Setting up libboost1.55-tools-dev (1.55.0+dfsg-3) ...
Setting up libboost-tools-dev (1.55.0.2) ...
Setting up libboost-atomic1.55-dev:armhf (1.55.0+dfsg-3) ...
Setting up libboost-atomic-dev:armhf (1.55.0.2) ...
Setting up libboost-chrono1.55-dev:armhf (1.55.0+dfsg-3) ...
Setting up libboost-chrono-dev:armhf (1.55.0.2) ...
Setting up libboost-context1.55-dev:armhf (1.55.0+dfsg-3) ...
Setting up libboost-context-dev:armhf (1.55.0.2) ...
Setting up libboost-coroutine1.55-dev:armhf (1.55.0+dfsg-3) ...
Setting up libboost-coroutine-dev (1.55.0.2) ...
Setting up libboost-serialization1.55-dev:armhf (1.55.0+dfsg-3) ...
Setting up libboost-date-time1.55-dev:armhf (1.55.0+dfsg-3) ...
Setting up libboost-date-time-dev:armhf (1.55.0.2) ...
Setting up libboost-exception1.55-dev:armhf (1.55.0+dfsg-3) ...
Setting up libboost-exception-dev:armhf (1.55.0.2) ...
Setting up libboost-system1.55-dev:armhf (1.55.0+dfsg-3) ...
Setting up libboost-filesystem1.55-dev:armhf (1.55.0+dfsg-3) ...
Setting up libboost-filesystem-dev:armhf (1.55.0.2) ...
Setting up libboost-test1.55-dev:armhf (1.55.0+dfsg-3) ...
Setting up libboost-graph1.55-dev:armhf (1.55.0+dfsg-3) ...
Setting up libboost-graph-dev:armhf (1.55.0.2) ...
Setting up libboost-graph-parallel1.55-dev (1.55.0+dfsg-3) ...
Setting up libboost-graph-parallel-dev (1.55.0.2) ...
Setting up libicu-dev:armhf (52.1-8+deb8u3) ...
Setting up libboost-regex1.55-dev:armhf (1.55.0+dfsg-3) ...
Setting up libboost-iostreams1.55-dev:armhf (1.55.0+dfsg-3) ...
Setting up libboost-iostreams-dev:armhf (1.55.0.2) ...
Setting up libboost-locale1.55-dev:armhf (1.55.0+dfsg-3) ...
Setting up libboost-locale-dev:armhf (1.55.0.2) ...
Setting up libboost-log1.55.0 (1.55.0+dfsg-3) ...
Setting up libboost-thread1.55-dev:armhf (1.55.0+dfsg-3) ...
Setting up libboost-log1.55-dev (1.55.0+dfsg-3) ...
Setting up libboost-log-dev (1.55.0.2) ...
Setting up libboost-math1.55-dev:armhf (1.55.0+dfsg-3) ...
Setting up libboost-math-dev:armhf (1.55.0.2) ...
Setting up libibverbs-dev (1.1.8-1.1) ...
Setting up libltdl-dev:armhf (2.4.2-1.11) ...
Setting up libhwloc-dev:armhf (1.10.0-3) ...
Setting up libopenmpi-dev (1.6.5-9.1+rpi1) ...
update-alternatives: using /usr/lib/openmpi/include to provide /usr/include/mpi (mpi) in auto mode
Setting up mpi-default-dev (1.0.2+nmu2) ...
Setting up libboost-mpi1.55-dev (1.55.0+dfsg-3) ...
Setting up libboost-mpi-dev (1.55.0.2) ...
Setting up libboost-mpi-python1.55-dev (1.55.0+dfsg-3) ...
Setting up libboost-mpi-python-dev (1.55.0.2) ...
Setting up libboost-program-options1.55-dev:armhf (1.55.0+dfsg-3) ...
Setting up libboost-program-options-dev:armhf (1.55.0.2) ...
Setting up libpython-dev:armhf (2.7.9-1) ...
Setting up python2.7-dev (2.7.9-2) ...
Setting up python-dev (2.7.9-1) ...
Setting up libboost-python1.55-dev (1.55.0+dfsg-3) ...
Setting up libboost-python-dev (1.55.0.2) ...
Setting up libboost-random1.55-dev:armhf (1.55.0+dfsg-3) ...
Setting up libboost-random-dev:armhf (1.55.0.2) ...
Setting up libboost-regex-dev:armhf (1.55.0.2) ...
Setting up libboost-serialization-dev:armhf (1.55.0.2) ...
Setting up libboost-signals1.55-dev:armhf (1.55.0+dfsg-3) ...
Setting up libboost-signals-dev:armhf (1.55.0.2) ...
Setting up libboost-system-dev:armhf (1.55.0.2) ...
Setting up libboost-test-dev:armhf (1.55.0.2) ...
Setting up libboost-thread-dev:armhf (1.55.0.2) ...
Setting up libboost-timer1.55-dev:armhf (1.55.0+dfsg-3) ...
Setting up libboost-timer-dev:armhf (1.55.0.2) ...
Setting up libboost-wave1.55-dev:armhf (1.55.0+dfsg-3) ...
Setting up libboost-wave-dev:armhf (1.55.0.2) ...
Setting up libboost-all-dev (1.55.0.2) ...
Setting up libcurl4-openssl-dev:armhf (7.38.0-4+deb8u2) ...
Setting up libsqlite3-dev:armhf (3.8.7.1-1+deb8u1) ...
Setting up libtool (2.4.2-1.11) ...
Setting up libusb-dev (2:0.1.12-25) ...
Setting up lksctp-tools (1.0.16+dfsg-2) ...
Setting up scons (2.3.1-2) ...
Setting up subversion (1.8.10-6+deb8u2) ...
Setting up libhwloc-plugins (1.10.0-3) ...
Processing triggers for libc-bin (2.19-18+deb8u1) ...
                                                                            [OK]
--------------------------------------------------------------------------------
Mosquitto
--------------------------------------------------------------------------------
Elapsed Time: 00 hrs 14 mins 16 secs

Loading Mosquitto and setting up user
Resolving repo.mosquitto.org (repo.mosquitto.org)... 85.119.83.194, 2001:ba8:1f1:f271::2
Connecting to repo.mosquitto.org (repo.mosquitto.org)|85.119.83.194|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 3137 (3.1K) [application/octet-stream]
Saving to: ‘mosquitto-repo.gpg.key’

mosquitto-repo.gpg.key    100%[====================================>]   3.06K  --.-KB/s   in 0s

2016-01-16 12:43:04 (53.5 MB/s) - ‘mosquitto-repo.gpg.key’ saved [3137/3137]

OK
Resolving repo.mosquitto.org (repo.mosquitto.org)... 85.119.83.194, 2001:ba8:1f1:f271::2
Connecting to repo.mosquitto.org (repo.mosquitto.org)|85.119.83.194|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 49 [application/octet-stream]
Saving to: ‘mosquitto-jessie.list’

mosquitto-jessie.list     100%[====================================>]      49  --.-KB/s   in 0s

2016-01-16 12:43:06 (1.51 MB/s) - ‘mosquitto-jessie.list’ saved [49/49]

Get:1 http://repo.mosquitto.org jessie InRelease [3,884 B]
Hit http://archive.raspberrypi.org jessie InRelease
Hit http://mirrordirector.raspbian.org jessie/main armhf Packages
Hit http://mirrordirector.raspbian.org jessie/contrib armhf Packages
Get:2 http://repo.mosquitto.org jessie/main armhf Packages [2,182 B]
Hit http://mirrordirector.raspbian.org jessie/non-free armhf Packages
Hit http://mirrordirector.raspbian.org jessie/rpi armhf Packages
Hit http://archive.raspberrypi.org jessie/main armhf Packages
Hit http://archive.raspberrypi.org jessie/ui armhf Packages
Ign http://repo.mosquitto.org jessie/main Translation-en_GB
Ign http://repo.mosquitto.org jessie/main Translation-en
Ign http://archive.raspberrypi.org jessie/main Translation-en_GB
Ign http://archive.raspberrypi.org jessie/main Translation-en
Ign http://archive.raspberrypi.org jessie/ui Translation-en_GB
Ign http://archive.raspberrypi.org jessie/ui Translation-en
Ign http://mirrordirector.raspbian.org jessie/contrib Translation-en_GB
Ign http://mirrordirector.raspbian.org jessie/contrib Translation-en
Ign http://mirrordirector.raspbian.org jessie/main Translation-en_GB
Ign http://mirrordirector.raspbian.org jessie/main Translation-en
Ign http://mirrordirector.raspbian.org jessie/non-free Translation-en_GB
Ign http://mirrordirector.raspbian.org jessie/non-free Translation-en
Ign http://mirrordirector.raspbian.org jessie/rpi Translation-en_GB
Ign http://mirrordirector.raspbian.org jessie/rpi Translation-en
Fetched 6,066 B in 12s (472 B/s)
Reading package lists... Done
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
  libwebsockets3
Suggested packages:
  apparmor
The following NEW packages will be installed:
  libwebsockets3 mosquitto
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 157 kB of archives.
After this operation, 419 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://repo.mosquitto.org/debian/ jessie/main mosquitto armhf 1.4.7-0mosquitto1 [117 kB]
Get:2 http://mirrordirector.raspbian.org/raspbian/ jessie/main libwebsockets3 armhf 1.2.2-1 [40.2 kB]
Fetched 157 kB in 0s (316 kB/s)
Selecting previously unselected package libwebsockets3:armhf.
(Reading database ... 139817 files and directories currently installed.)
Preparing to unpack .../libwebsockets3_1.2.2-1_armhf.deb ...
Unpacking libwebsockets3:armhf (1.2.2-1) ...
Selecting previously unselected package mosquitto.
Preparing to unpack .../mosquitto_1.4.7-0mosquitto1_armhf.deb ...
Unpacking mosquitto (1.4.7-0mosquitto1) ...
Processing triggers for man-db (2.7.0.2-5) ...
Processing triggers for systemd (215-17+deb8u2) ...
Setting up libwebsockets3:armhf (1.2.2-1) ...
Setting up mosquitto (1.4.7-0mosquitto1) ...
Processing triggers for libc-bin (2.19-18+deb8u1) ...
Processing triggers for systemd (215-17+deb8u2) ...
======================================= UPdating mosquitto.conf
Enter desired user (admin for example) for Mosquitto: admin
Enter desired password for Mosquitto:
Enter desired password for Mosquitto (again) :
                                                                            [OK]
--------------------------------------------------------------------------------
Node-Red
--------------------------------------------------------------------------------
Elapsed Time: 00 hrs 20 mins 24 secs

Loading Node-Red
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package 'npm' is not installed, so not removed
The following packages were automatically installed and are no longer required:
  libc-ares2 libv8-3.14.5
Use 'apt-get autoremove' to remove them.
The following packages will be REMOVED:
  nodejs nodejs-legacy nodered
0 upgraded, 0 newly installed, 3 to remove and 0 not upgraded.
After this operation, 2,912 kB disk space will be freed.
(Reading database ... 139855 files and directories currently installed.)
Removing nodered (0.12.5) ...
Removing nodejs-legacy (0.10.29~dfsg-2) ...
Removing nodejs (0.10.29~dfsg-2) ...
Processing triggers for gnome-menus (3.13.3-6) ...
Processing triggers for desktop-file-utils (0.22-1) ...
Processing triggers for mime-support (3.58) ...
Processing triggers for gnome-icon-theme (3.12.0-1) ...
Processing triggers for man-db (2.7.0.2-5) ...
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
  libc-ares2 libv8-3.14.5
0 upgraded, 0 newly installed, 2 to remove and 0 not upgraded.
After this operation, 3,655 kB disk space will be freed.
(Reading database ... 133389 files and directories currently installed.)
Removing libc-ares2:armhf (1.10.0-2) ...
Removing libv8-3.14.5 (3.14.5.8-8.1+rpi1) ...
Processing triggers for libc-bin (2.19-18+deb8u1) ...

## Installing the NodeSource Node.js 4.x LTS Argon repo...


## Populating apt-get cache...

+ apt-get update
Hit http://repo.mosquitto.org jessie InRelease
Hit http://archive.raspberrypi.org jessie InRelease
Hit http://repo.mosquitto.org jessie/main armhf Packages
Hit http://mirrordirector.raspbian.org jessie/main armhf Packages
Hit http://mirrordirector.raspbian.org jessie/contrib armhf Packages
Hit http://mirrordirector.raspbian.org jessie/non-free armhf Packages
Hit http://mirrordirector.raspbian.org jessie/rpi armhf Packages
Hit http://archive.raspberrypi.org jessie/main armhf Packages
Hit http://archive.raspberrypi.org jessie/ui armhf Packages
Ign http://repo.mosquitto.org jessie/main Translation-en_GB
Ign http://repo.mosquitto.org jessie/main Translation-en
Ign http://archive.raspberrypi.org jessie/main Translation-en_GB
Ign http://archive.raspberrypi.org jessie/main Translation-en
Ign http://archive.raspberrypi.org jessie/ui Translation-en_GB
Ign http://archive.raspberrypi.org jessie/ui Translation-en
Ign http://mirrordirector.raspbian.org jessie/contrib Translation-en_GB
Ign http://mirrordirector.raspbian.org jessie/contrib Translation-en
Ign http://mirrordirector.raspbian.org jessie/main Translation-en_GB
Ign http://mirrordirector.raspbian.org jessie/main Translation-en
Ign http://mirrordirector.raspbian.org jessie/non-free Translation-en_GB
Ign http://mirrordirector.raspbian.org jessie/non-free Translation-en
Ign http://mirrordirector.raspbian.org jessie/rpi Translation-en_GB
Ign http://mirrordirector.raspbian.org jessie/rpi Translation-en
Reading package lists... Done

## Installing packages required for setup: apt-transport-https...

+ apt-get install -y apt-transport-https > /dev/null 2>&1

## Confirming "jessie" is supported...


## Adding the NodeSource signing key to your keyring...

OK

## Creating apt sources list file for the NodeSource Node.js 4.x LTS Argon repo...

+ echo 'deb https://deb.nodesource.com/node_4.x jessie main' > /etc/apt/sources.list.d/nodesource.list
+ echo 'deb-src https://deb.nodesource.com/node_4.x jessie main' >> /etc/apt/sources.list.d/nodesource.list

## Running `apt-get update` for you...

+ apt-get update
Hit http://repo.mosquitto.org jessie InRelease
Hit http://archive.raspberrypi.org jessie InRelease
Hit http://repo.mosquitto.org jessie/main armhf Packages
Hit http://mirrordirector.raspbian.org jessie/main armhf Packages
Hit http://mirrordirector.raspbian.org jessie/contrib armhf Packages
Hit http://mirrordirector.raspbian.org jessie/non-free armhf Packages
Hit http://mirrordirector.raspbian.org jessie/rpi armhf Packages
Hit http://archive.raspberrypi.org jessie/main armhf Packages
Hit http://archive.raspberrypi.org jessie/ui armhf Packages
Ign http://repo.mosquitto.org jessie/main Translation-en_GB
Ign http://repo.mosquitto.org jessie/main Translation-en
Get:1 https://deb.nodesource.com jessie InRelease [3,914 B]
Ign http://archive.raspberrypi.org jessie/main Translation-en_GB
Ign http://archive.raspberrypi.org jessie/main Translation-en
Ign http://archive.raspberrypi.org jessie/ui Translation-en_GB
Ign http://archive.raspberrypi.org jessie/ui Translation-en
Get:2 https://deb.nodesource.com jessie/main Sources [754 B]
Ign http://mirrordirector.raspbian.org jessie/contrib Translation-en_GB
Ign http://mirrordirector.raspbian.org jessie/contrib Translation-en
Ign http://mirrordirector.raspbian.org jessie/main Translation-en_GB
Ign http://mirrordirector.raspbian.org jessie/main Translation-en
Ign http://mirrordirector.raspbian.org jessie/non-free Translation-en_GB
Ign http://mirrordirector.raspbian.org jessie/non-free Translation-en
Ign http://mirrordirector.raspbian.org jessie/rpi Translation-en_GB
Get:3 https://deb.nodesource.com jessie/main armhf Packages [967 B]
Ign http://mirrordirector.raspbian.org jessie/rpi Translation-en
Get:4 https://deb.nodesource.com jessie/main Translation-en_GB [162 B]
Get:5 https://deb.nodesource.com jessie/main Translation-en [162 B]
Get:6 https://deb.nodesource.com jessie/main Translation-en_GB [162 B]
Get:7 https://deb.nodesource.com jessie/main Translation-en [162 B]
Get:8 https://deb.nodesource.com jessie/main Translation-en_GB [162 B]
Get:9 https://deb.nodesource.com jessie/main Translation-en [162 B]
Get:10 https://deb.nodesource.com jessie/main Translation-en_GB [162 B]
Get:11 https://deb.nodesource.com jessie/main Translation-en [162 B]
Get:12 https://deb.nodesource.com jessie/main Translation-en_GB [162 B]
Ign https://deb.nodesource.com jessie/main Translation-en_GB
Get:13 https://deb.nodesource.com jessie/main Translation-en [162 B]
Ign https://deb.nodesource.com jessie/main Translation-en
Fetched 5,635 B in 12s (453 B/s)
Reading package lists... Done

## Run `apt-get install nodejs` (as root) to install Node.js 4.x LTS Argon and npm

Reading package lists... Done
Building dependency tree
Reading state information... Done
build-essential is already the newest version.
python-dev is already the newest version.
python-dev set to manually installed.
python-rpi.gpio is already the newest version.
The following extra packages will be installed:
  rlwrap
The following NEW packages will be installed:
  nodejs rlwrap
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 7,572 kB of archives.
After this operation, 35.2 MB of additional disk space will be used.
Get:1 http://mirrordirector.raspbian.org/raspbian/ jessie/main rlwrap armhf 0.41-1 [70.3 kB]
Get:2 https://deb.nodesource.com/node_4.x/ jessie/main nodejs armhf 4.2.4-1nodesource1~jessie1 [7,502 kB]
Fetched 7,572 kB in 5s (1,289 kB/s)
Selecting previously unselected package rlwrap.
(Reading database ... 133381 files and directories currently installed.)
Preparing to unpack .../rlwrap_0.41-1_armhf.deb ...
Unpacking rlwrap (0.41-1) ...
Selecting previously unselected package nodejs.
Preparing to unpack .../nodejs_4.2.4-1nodesource1~jessie1_armhf.deb ...
Unpacking nodejs (4.2.4-1nodesource1~jessie1) ...
Processing triggers for man-db (2.7.0.2-5) ...
Setting up rlwrap (0.41-1) ...
update-alternatives: using /usr/bin/rlwrap to provide /usr/bin/readline-editor (readline-editor) in auto mode
Setting up nodejs (4.2.4-1nodesource1~jessie1) ...

> bcr...@0.8.5 install /usr/lib/node_modules/node-red/node_modules/bcrypt
> node-gyp rebuild

make: Entering directory '/usr/lib/node_modules/node-red/node_modules/bcrypt/build'
  CXX(target) Release/obj.target/bcrypt_lib/src/blowfish.o
  CXX(target) Release/obj.target/bcrypt_lib/src/bcrypt.o
  CXX(target) Release/obj.target/bcrypt_lib/src/bcrypt_node.o
  SOLINK_MODULE(target) Release/obj.target/bcrypt_lib.node
  COPY Release/bcrypt_lib.node
make: Leaving directory '/usr/lib/node_modules/node-red/node_modules/bcrypt/build'
npm WARN deprecated i18next...@1.10.3: you can use npm install i18next from version 2.0.0

> utf-8-v...@1.2.1 install /usr/lib/node_modules/node-red/node_modules/ws/node_modules/utf-8-validate
> node-gyp rebuild

make: Entering directory '/usr/lib/node_modules/node-red/node_modules/ws/node_modules/utf-8-validate/build'
  CXX(target) Release/obj.target/validation/src/validation.o
  SOLINK_MODULE(target) Release/obj.target/validation.node
  COPY Release/validation.node
make: Leaving directory '/usr/lib/node_modules/node-red/node_modules/ws/node_modules/utf-8-validate/build'

> buffe...@1.2.1 install /usr/lib/node_modules/node-red/node_modules/ws/node_modules/bufferutil
> node-gyp rebuild

make: Entering directory '/usr/lib/node_modules/node-red/node_modules/ws/node_modules/bufferutil/build'
  CXX(target) Release/obj.target/bufferutil/src/bufferutil.o
  SOLINK_MODULE(target) Release/obj.target/bufferutil.node
  COPY Release/bufferutil.node
make: Leaving directory '/usr/lib/node_modules/node-red/node_modules/ws/node_modules/bufferutil/build'
\
> seria...@2.0.6 install /usr/lib/node_modules/node-red/node_modules/node-red-node-serialport/node_modules/serialport
> node-pre-gyp install --fallback-to-build

make: Entering directory '/usr/lib/node_modules/node-red/node_modules/node-red-node-serialport/node_modules/serialport/build'
  CXX(target) Release/obj.target/serialport/src/serialport.o
  CXX(target) Release/obj.target/serialport/src/serialport_unix.o
  CXX(target) Release/obj.target/serialport/src/serialport_poller.o
  SOLINK_MODULE(target) Release/obj.target/serialport.node
  COPY Release/serialport.node
  COPY /usr/lib/node_modules/node-red/node_modules/node-red-node-serialport/node_modules/serialport/build/Release/node-v46-linux-arm/serialport.node
  TOUCH Release/obj.target/action_after_build.stamp
make: Leaving directory '/usr/lib/node_modules/node-red/node_modules/node-red-node-serialport/node_modules/serialport/build'
/usr/bin/node-red -> /usr/lib/node_modules/node-red/red.js
/usr/bin/node-red-pi -> /usr/lib/node_modules/node-red/bin/node-red-pi
node...@0.12.5 /usr/lib/node_modules/node-red
├── is-...@0.2.1
├── media...@0.3.0
├── on-he...@1.0.1
├── basic...@1.0.3
├── node-red...@0.1.1
├── cl...@1.0.2
├── sem...@5.1.0
├── must...@2.2.1
├── passport-h...@1.0.1 (passport...@1.0.0)
├── passport-oauth2...@0.1.2 (passport...@1.0.0)
├── bcry...@2.3.0
├── pass...@0.3.2 (passport...@1.0.0, pa...@0.0.1)
├── no...@3.0.6 (abb...@1.0.7)
├── fs.n...@0.0.4 (as...@0.1.22, re...@0.6.1)
├── co...@2.7.1 (va...@1.1.0)
├── follow-r...@0.0.7 (stream-...@0.1.0, de...@2.2.0)
├── raw-...@2.1.5 (unp...@1.0.0, by...@2.2.0, iconv...@0.4.13)
├── oauth...@1.2.0 (ui...@0.0.3, utils...@1.0.0, de...@2.2.0)
├── wh...@3.7.7
├── exp...@4.13.3 (conten...@1.0.1, escap...@1.0.2, merge-de...@1.0.0, coo...@0.1.3, array-...@1.1.1, cookie-s...@1.0.6, utils...@1.0.0, va...@1.0.1, met...@1.1.1, content-d...@0.5.0, fr...@0.3.0, path-to...@0.1.7, et...@1.7.0, serve-...@1.10.0, range-...@1.0.3, pars...@1.3.0, de...@1.0.1, q...@4.0.0, on-fi...@2.3.0, finalh...@0.4.0, de...@2.2.0, proxy...@1.0.10, typ...@1.6.10, acc...@1.2.13, se...@0.13.0)
├── body-...@1.14.2 (by...@2.2.0, conten...@1.0.1, de...@1.1.0, q...@5.2.0, on-fi...@2.3.0, http-...@1.3.1, de...@2.2.0, iconv...@0.4.13, typ...@1.6.10)
├── sent...@1.0.4 (lodash...@3.2.0)
├── bcr...@0.8.5 (bind...@1.2.1, n...@2.0.5)
├── node-red-...@0.1.0 (im...@0.8.14, nodem...@1.3.4)
├── fs-e...@0.26.4 (path-is-...@1.0.0, kl...@1.1.3, json...@2.2.3, grace...@4.1.2, rim...@2.5.0)
├── ugli...@2.6.1 (as...@0.2.10, uglify-to-...@1.0.2, sourc...@0.5.3, ya...@3.10.0)
├── mq...@1.6.3 (inhe...@2.0.1, reint...@1.0.2, xt...@4.0.1, mini...@1.2.0, readabl...@1.0.33, com...@1.0.0, mqtt-co...@2.1.1, end-of...@1.1.0, mqtt-...@3.4.6, concat...@1.5.1, hel...@0.1.0, websocke...@2.3.0)
├── node-red-n...@0.1.4 (twitt...@0.6.2, oa...@0.9.14, req...@2.67.0)
├── node-red-nod...@0.1.3 (feedp...@1.1.3, req...@2.65.0)
├── i18...@1.10.6 (coo...@0.5.1, js...@0.2.0, i18next...@1.10.3)
├── cr...@1.1.0 (moment-...@0.3.1)
├── che...@0.19.0 (enti...@1.1.1, dom-ser...@0.1.0, css-s...@1.0.0, htmlp...@3.8.3, lod...@3.10.1)
├── xml...@0.4.15 (s...@1.1.4, xmlbu...@4.2.1)
├── w...@0.8.1 (opt...@0.0.6, ult...@1.0.2, utf-8-v...@1.2.1, buffe...@1.2.1)
└── node-red-nod...@0.1.0 (seria...@2.0.6)
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|199.27.76.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 672 [text/plain]
Saving to: ‘/lib/systemd/system/nodered.service’

/lib/systemd/system/noder 100%[====================================>]     672  --.-KB/s   in 0s

2016-01-16 12:54:21 (1.89 MB/s) - ‘/lib/systemd/system/nodered.service’ saved [672/672]

Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|199.27.76.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1068 (1.0K) [text/plain]
Saving to: ‘/usr/bin/node-red-start’

/usr/bin/node-red-start   100%[====================================>]   1.04K  --.-KB/s   in 0s

2016-01-16 12:54:22 (3.89 MB/s) - ‘/usr/bin/node-red-start’ saved [1068/1068]

Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|199.27.76.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 226 [text/plain]
Saving to: ‘/usr/bin/node-red-stop’

/usr/bin/node-red-stop    100%[====================================>]     226  --.-KB/s   in 0s

2016-01-16 12:54:23 (30.9 MB/s) - ‘/usr/bin/node-red-stop’ saved [226/226]


> bcr...@0.8.5 install /usr/lib/node_modules/node-red-admin/node_modules/bcrypt
> node-gyp rebuild

gyp WARN EACCES user "root" does not have permission to access the dev dir "/root/.node-gyp/4.2.4"
gyp WARN EACCES attempting to reinstall using temporary dev dir "/usr/lib/node_modules/node-red-admin/node_modules/bcrypt/.node-gyp"
make: Entering directory '/usr/lib/node_modules/node-red-admin/node_modules/bcrypt/build'
  CXX(target) Release/obj.target/bcrypt_lib/src/blowfish.o
  CXX(target) Release/obj.target/bcrypt_lib/src/bcrypt.o
  CXX(target) Release/obj.target/bcrypt_lib/src/bcrypt_node.o
  SOLINK_MODULE(target) Release/obj.target/bcrypt_lib.node
  COPY Release/bcrypt_lib.node
make: Leaving directory '/usr/lib/node_modules/node-red-admin/node_modules/bcrypt/build'
/usr/bin/node-red-admin -> /usr/lib/node_modules/node-red-admin/node-red-admin.js
node-re...@0.1.2 /usr/lib/node_modules/node-red-admin
├── mini...@1.2.0
├── col...@1.1.2
├── bcry...@2.3.0
├── re...@1.0.7 (mute-...@0.0.5)
├── wh...@3.7.5
├── cli-...@0.3.1 (col...@1.0.3)
├── req...@2.67.0 (aws-...@0.6.0, foreve...@0.6.1, tunnel...@0.4.2, oauth...@0.8.0, is-typ...@1.0.0, case...@0.11.0, string...@0.0.5, isst...@0.1.2, json-stri...@5.0.1, ext...@3.0.0, tough-...@2.2.1, node...@1.4.7, q...@5.2.0, combine...@1.0.5, mime-...@2.1.9, form...@1.0.0-rc3, ha...@3.1.2, b...@1.0.0, http-si...@1.1.0, har-va...@2.0.5)
└── bcr...@0.8.5 (bind...@1.2.1, n...@2.0.5)
mom...@2.11.1 node_modules/moment
node-red-co...@1.0.3 node_modules/node-red-contrib-grove
node-red-con...@1.1.0 node_modules/node-red-contrib-bigtimer
└── sun...@1.7.0
node-red-con...@1.0.3 node_modules/node-red-contrib-esplogin
└── sun...@1.7.0
-
> webs...@1.0.22 install /home/pi/.node-red/node_modules/node-red-node-pushbullet/node_modules/pushbullet/node_modules/websocket
> (node-gyp rebuild 2> builderror.log) || (exit 0)

make: Entering directory '/home/pi/.node-red/node_modules/node-red-node-pushbullet/node_modules/pushbullet/node_modules/websocket/build'
  CXX(target) Release/obj.target/bufferutil/src/bufferutil.o
  SOLINK_MODULE(target) Release/obj.target/bufferutil.node
  COPY Release/bufferutil.node
  CXX(target) Release/obj.target/validation/src/validation.o
  SOLINK_MODULE(target) Release/obj.target/validation.node
  COPY Release/validation.node
make: Leaving directory '/home/pi/.node-red/node_modules/node-red-node-pushbullet/node_modules/pushbullet/node_modules/websocket/build'
node-red-nod...@0.0.7 node_modules/node-red-node-pushbullet
├── wh...@3.7.7
└── pushb...@1.4.3 (mi...@1.2.11, req...@2.44.0, webs...@1.0.22)
-
> node-red-cont...@0.0.6 postinstall /home/pi/.node-red/node_modules/node-red-contrib-freeboard
> node rewritefiles.js

node-red-cont...@0.0.6 node_modules/node-red-contrib-freeboard
├── must...@1.1.0
├── body-...@1.12.0 (conten...@1.0.1, raw-...@1.3.3, by...@1.0.0, de...@1.0.1, q...@2.3.3, on-fi...@2.2.1, iconv...@0.4.7, de...@2.1.3, typ...@1.6.10)
├── exp...@4.12.0 (utils...@1.0.0, cookie-s...@1.0.6, met...@1.1.1, va...@1.0.1, conten...@1.0.1, range-...@1.0.3, content-d...@0.5.0, pars...@1.3.0, merge-de...@0.0.2, coo...@0.1.2, fr...@0.2.4, finalh...@0.3.3, escap...@1.0.1, path-to...@0.1.3, de...@1.0.1, q...@2.3.3, on-fi...@2.2.1, proxy...@1.0.10, de...@2.1.3, se...@0.12.1, typ...@1.6.10, acc...@1.2.13, et...@1.5.1, serve-...@1.9.3)
└── free...@1.1.3
node-red-node-...@0.1.7 node_modules/node-red-node-openweathermap
node-red-n...@0.1.0 node_modules/node-red-node-google
├── cl...@0.1.11
├── mini...@2.0.4 (brace-e...@1.1.2)
└── req...@2.40.0 (foreve...@0.5.2, aws-...@0.5.0, tunnel...@0.4.2, oauth...@0.3.0, string...@0.0.5, json-stri...@5.0.1, tough-...@2.2.1, mime-...@1.0.2, q...@1.0.2, node...@1.4.7, http-si...@0.10.1, form...@0.1.4, ha...@1.1.1)
|
> sql...@3.1.1 install /home/pi/.node-red/node_modules/node-red-node-sqlite/node_modules/sqlite3
> node-pre-gyp install --fallback-to-build

gyp WARN EACCES user "root" does not have permission to access the dev dir "/root/.node-gyp/4.2.4"
gyp WARN EACCES attempting to reinstall using temporary dev dir "/home/pi/.node-red/node_modules/node-red-node-sqlite/node_modules/sqlite3/.node-gyp"
make: Entering directory '/home/pi/.node-red/node_modules/node-red-node-sqlite/node_modules/sqlite3/build'
make: *** No rule to make target '../.node-gyp/4.2.4/include/node/common.gypi', needed by 'Makefile'.  Stop.
make: Leaving directory '/home/pi/.node-red/node_modules/node-red-node-sqlite/node_modules/sqlite3/build'
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:270:23)
gyp ERR! stack     at emitTwo (events.js:87:13)
gyp ERR! stack     at ChildProcess.emit (events.js:172:7)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)
gyp ERR! System Linux 4.1.13-v7+
gyp ERR! command "/usr/bin/nodejs" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "build" "--fallback-to-build" "--module=/home/pi/.node-red/node_modules/node-red-node-sqlite/node_modules/sqlite3/lib/binding/node-v46-linux-arm/node_sqlite3.node" "--module_name=node_sqlite3" "--module_path=/home/pi/.node-red/node_modules/node-red-node-sqlite/node_modules/sqlite3/lib/binding/node-v46-linux-arm"
gyp ERR! cwd /home/pi/.node-red/node_modules/node-red-node-sqlite/node_modules/sqlite3
gyp ERR! node -v v4.2.4
gyp ERR! node-gyp -v v3.0.3
gyp ERR! not ok
node-pre-gyp ERR! build error
node-pre-gyp ERR! stack Error: Failed to execute '/usr/bin/nodejs /usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/home/pi/.node-red/node_modules/node-red-node-sqlite/node_modules/sqlite3/lib/binding/node-v46-linux-arm/node_sqlite3.node --module_name=node_sqlite3 --module_path=/home/pi/.node-red/node_modules/node-red-node-sqlite/node_modules/sqlite3/lib/binding/node-v46-linux-arm' (1)
node-pre-gyp ERR! stack     at ChildProcess.<anonymous> (/home/pi/.node-red/node_modules/node-red-node-sqlite/node_modules/sqlite3/node_modules/node-pre-gyp/lib/util/compile.js:83:29)
node-pre-gyp ERR! stack     at emitTwo (events.js:87:13)
node-pre-gyp ERR! stack     at ChildProcess.emit (events.js:172:7)
node-pre-gyp ERR! stack     at maybeClose (internal/child_process.js:818:16)
node-pre-gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:211:5)
node-pre-gyp ERR! System Linux 4.1.13-v7+
node-pre-gyp ERR! command "/usr/bin/nodejs" "/home/pi/.node-red/node_modules/node-red-node-sqlite/node_modules/sqlite3/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build"
node-pre-gyp ERR! cwd /home/pi/.node-red/node_modules/node-red-node-sqlite/node_modules/sqlite3
node-pre-gyp ERR! node -v v4.2.4
node-pre-gyp ERR! node-pre-gyp -v v0.6.14
node-pre-gyp ERR! not ok
Failed to execute '/usr/bin/nodejs /usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/home/pi/.node-red/node_modules/node-red-node-sqlite/node_modules/sqlite3/lib/binding/node-v46-linux-arm/node_sqlite3.node --module_name=node_sqlite3 --module_path=/home/pi/.node-red/node_modules/node-red-node-sqlite/node_modules/sqlite3/lib/binding/node-v46-linux-arm' (1)
npm ERR! Linux 4.1.13-v7+
npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install" "node-red-node-sqlite"
npm ERR! node v4.2.4
npm ERR! npm  v2.14.12
npm ERR! code ELIFECYCLE

npm ERR! sql...@3.1.1 install: `node-pre-gyp install --fallback-to-build`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the sql...@3.1.1 install script 'node-pre-gyp install --fallback-to-build'.
npm ERR! This is most likely a problem with the sqlite3 package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node-pre-gyp install --fallback-to-build
npm ERR! You can get their info via:
npm ERR!     npm owner ls sqlite3
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     /home/pi/.node-red/npm-debug.log
node-red-...@1.2.15 node_modules/node-red-contrib-ui
├── serve-...@1.10.0 (escap...@1.0.2, pars...@1.3.0, se...@0.13.0)
└── sock...@1.4.4 (has-b...@0.1.7, de...@2.2.0, socket.i...@2.2.6, socket.i...@0.4.0, engi...@1.6.7, socket.i...@1.4.4)
node-red-n...@0.0.9 node_modules/node-red-node-emoncms
node-red-no...@0.0.10 node_modules/node-red-node-geofence
└── geo...@2.0.18
\
> buffe...@2.1.3 install /home/pi/.node-red/node_modules/node-red-contrib-ivona/node_modules/slug/node_modules/unicode/node_modules/bufferstream/node_modules/buffertools
> node-gyp rebuild

gyp WARN EACCES user "root" does not have permission to access the dev dir "/root/.node-gyp/4.2.4"
gyp WARN EACCES attempting to reinstall using temporary dev dir "/home/pi/.node-red/node_modules/node-red-contrib-ivona/node_modules/slug/node_modules/unicode/node_modules/bufferstream/node_modules/buffertools/.node-gyp"
make: Entering directory '/home/pi/.node-red/node_modules/node-red-contrib-ivona/node_modules/slug/node_modules/unicode/node_modules/bufferstream/node_modules/buffertools/build'
  CXX(target) Release/obj.target/buffertools/buffertools.o
../buffertools.cc:356:1: warning: narrowing conversion of ‘-1’ from ‘int’ to ‘char’ inside { } [-Wnarrowing]
 };
 ^
../buffertools.cc:356:1: warning: narrowing conversion of ‘-1’ from ‘int’ to ‘char’ inside { } [-Wnarrowing]
../buffertools.cc:356:1: warning: narrowing conversion of ‘-1’ from ‘int’ to ‘char’ inside { } [-Wnarrowing]
../buffertools.cc:356:1: warning: narrowing conversion of ‘-1’ from ‘int’ to ‘char’ inside { } [-Wnarrowing]
../buffertools.cc:356:1: warning: narrowing conversion of ‘-1’ from ‘int’ to ‘char’ inside { } [-Wnarrowing]


<< lots of those errors - don't mean anything...>>


../buffertools.cc:356:1: warning: narrowing conversion of ‘-1’ from ‘int’ to ‘char’ inside { } [-Wnarrowing]
  SOLINK_MODULE(target) Release/obj.target/buffertools.node
  COPY Release/buffertools.node
make: Leaving directory '/home/pi/.node-red/node_modules/node-red-contrib-ivona/node_modules/slug/node_modules/unicode/node_modules/bufferstream/node_modules/buffertools/build'

> uni...@0.6.1 postinstall /home/pi/.node-red/node_modules/node-red-contrib-ivona/node_modules/slug/node_modules/unicode
> node install.js

try to read file /usr/share/unicode/UnicodeData.txt …
/usr/share/unicode/UnicodeData.txt not found.
try to read file /usr/share/unicode-data/UnicodeData.txt …
/usr/share/unicode-data/UnicodeData.txt not found.
try to read file UnicodeData.txt …
UnicodeData.txt not found.
try to download …
fetching …
saving data as Cc.js …
saving data as Zs.js …
saving data as Po.js …
saving data as Sc.js …
saving data as Ps.js …
saving data as Pe.js …
saving data as Sm.js …
saving data as Pd.js …
saving data as Nd.js …
saving data as Lu.js …
saving data as Sk.js …
saving data as Pc.js …
saving data as Ll.js …
saving data as So.js …
saving data as Lo.js …
saving data as Pi.js …
saving data as Cf.js …
saving data as No.js …
saving data as Pf.js …
saving data as Lt.js …
saving data as Lm.js …
saving data as Mn.js …
saving data as Me.js …
saving data as Mc.js …
saving data as Nl.js …
saving data as Zl.js …
saving data as Zp.js …
saving data as Cs.js …
saving data as Co.js …
done.
node-red-co...@0.0.2 node_modules/node-red-contrib-ivona
├── must...@2.2.1
├── ivona...@0.2.0 (aw...@0.4.2)
└── sl...@0.9.1 (uni...@0.6.1)
node-red-co...@1.0.2 node_modules/node-red-contrib-moment
node-red-con...@0.0.3 node_modules/node-red-contrib-particle
├── query...@0.2.0
├── event...@0.1.6 (orig...@1.0.0)
└── req...@2.67.0 (aws-...@0.6.0, foreve...@0.6.1, tunnel...@0.4.2, oauth...@0.8.0, is-typ...@1.0.0, case...@0.11.0, string...@0.0.5, isst...@0.1.2, json-stri...@5.0.1, ext...@3.0.0, tough-...@2.2.1, node...@1.4.7, q...@5.2.0, combine...@1.0.5, mime-...@2.1.9, form...@1.0.0-rc3, ha...@3.1.2, b...@1.0.0, http-si...@1.1.0, har-va...@2.0.5)
|
> utf-8-v...@1.2.1 install /home/pi/.node-red/node_modules/node-red-contrib-graphs/node_modules/ws/node_modules/utf-8-validate
> node-gyp rebuild

gyp WARN EACCES user "root" does not have permission to access the dev dir "/root/.node-gyp/4.2.4"
gyp WARN EACCES attempting to reinstall using temporary dev dir "/home/pi/.node-red/node_modules/node-red-contrib-graphs/node_modules/ws/node_modules/utf-8-validate/.node-gyp"
make: Entering directory '/home/pi/.node-red/node_modules/node-red-contrib-graphs/node_modules/ws/node_modules/utf-8-validate/build'
  CXX(target) Release/obj.target/validation/src/validation.o
  SOLINK_MODULE(target) Release/obj.target/validation.node
  COPY Release/validation.node
make: Leaving directory '/home/pi/.node-red/node_modules/node-red-contrib-graphs/node_modules/ws/node_modules/utf-8-validate/build'

> buffe...@1.2.1 install /home/pi/.node-red/node_modules/node-red-contrib-graphs/node_modules/ws/node_modules/bufferutil
> node-gyp rebuild

gyp WARN EACCES user "root" does not have permission to access the dev dir "/root/.node-gyp/4.2.4"
gyp WARN EACCES attempting to reinstall using temporary dev dir "/home/pi/.node-red/node_modules/node-red-contrib-graphs/node_modules/ws/node_modules/bufferutil/.node-gyp"
make: Entering directory '/home/pi/.node-red/node_modules/node-red-contrib-graphs/node_modules/ws/node_modules/bufferutil/build'
  CXX(target) Release/obj.target/bufferutil/src/bufferutil.o
  SOLINK_MODULE(target) Release/obj.target/bufferutil.node
  COPY Release/bufferutil.node
make: Leaving directory '/home/pi/.node-red/node_modules/node-red-contrib-graphs/node_modules/ws/node_modules/bufferutil/build'
node-red-co...@0.3.4 node_modules/node-red-contrib-graphs
├── must...@2.2.1
├── exp...@4.13.3 (escap...@1.0.2, merge-de...@1.0.0, coo...@0.1.3, array-...@1.1.1, cookie-s...@1.0.6, utils...@1.0.0, met...@1.1.1, va...@1.0.1, conten...@1.0.1, fr...@0.3.0, serve-...@1.10.0, content-d...@0.5.0, path-to...@0.1.7, range-...@1.0.3, et...@1.7.0, pars...@1.3.0, de...@1.0.1, q...@4.0.0, finalh...@0.4.0, on-fi...@2.3.0, de...@2.2.0, proxy...@1.0.10, se...@0.13.0, typ...@1.6.10, acc...@1.2.13)
└── w...@0.8.1 (opt...@0.0.6, ult...@1.0.2, utf-8-v...@1.2.1, buffe...@1.2.1)
node-red-n...@0.0.13 node_modules/node-red-node-ledborg
node-red-...@0.0.7 node_modules/node-red-node-ping
node-red-n...@0.0.5 node_modules/node-red-node-random
node-red-n...@0.0.5 node_modules/node-red-node-smooth
node-red-c...@1.0.0 node_modules/node-red-contrib-npm
├── te...@0.8.3 (os-t...@1.0.1, rim...@2.2.8)
└── n...@2.14.15
-
> raspi-w...@1.0.6 install /home/pi/.node-red/node_modules/raspi-io/node_modules/raspi/node_modules/raspi-wiringpi
> sh install-wiringpi.sh

Wiring Pi is already installed, skipping


> rasp...@2.1.0 install /home/pi/.node-red/node_modules/raspi-io/node_modules/raspi-pwm
> node-gyp rebuild

gyp WARN EACCES user "root" does not have permission to access the dev dir "/root/.node-gyp/4.2.4"
gyp WARN EACCES attempting to reinstall using temporary dev dir "/home/pi/.node-red/node_modules/raspi-io/node_modules/raspi-pwm/.node-gyp"
make: Entering directory '/home/pi/.node-red/node_modules/raspi-io/node_modules/raspi-pwm/build'
  CXX(target) Release/obj.target/addon/src/addon.o
  CXX(target) Release/obj.target/addon/src/init.o
  CXX(target) Release/obj.target/addon/src/write.o
  SOLINK_MODULE(target) Release/obj.target/addon.node
  COPY Release/addon.node
make: Leaving directory '/home/pi/.node-red/node_modules/raspi-io/node_modules/raspi-pwm/build'
npm WARN cannot run in wd ra...@2.0.0 node-gyp rebuild (wd=/home/pi/.node-red/node_modules/raspi-io/node_modules/raspi)

> raspi...@2.1.0 install /home/pi/.node-red/node_modules/raspi-io/node_modules/raspi-gpio
> node-gyp rebuild

gyp WARN EACCES user "root" does not have permission to access the dev dir "/root/.node-gyp/4.2.4"
gyp WARN EACCES attempting to reinstall using temporary dev dir "/home/pi/.node-red/node_modules/raspi-io/node_modules/raspi-gpio/.node-gyp"
make: Entering directory '/home/pi/.node-red/node_modules/raspi-io/node_modules/raspi-gpio/build'
  CXX(target) Release/obj.target/addon/src/addon.o
  CXX(target) Release/obj.target/addon/src/init.o
  CXX(target) Release/obj.target/addon/src/write.o
  CXX(target) Release/obj.target/addon/src/read.o
  SOLINK_MODULE(target) Release/obj.target/addon.node
  COPY Release/addon.node
make: Leaving directory '/home/pi/.node-red/node_modules/raspi-io/node_modules/raspi-gpio/build'

> i2c...@1.0.1 install /home/pi/.node-red/node_modules/raspi-io/node_modules/raspi-i2c/node_modules/i2c-bus
> node-gyp rebuild

gyp WARN EACCES user "root" does not have permission to access the dev dir "/root/.node-gyp/4.2.4"
gyp WARN EACCES attempting to reinstall using temporary dev dir "/home/pi/.node-red/node_modules/raspi-io/node_modules/raspi-i2c/node_modules/i2c-bus/.node-gyp"
make: Entering directory '/home/pi/.node-red/node_modules/raspi-io/node_modules/raspi-i2c/node_modules/i2c-bus/build'
  CXX(target) Release/obj.target/i2c/src/i2c.o
  SOLINK_MODULE(target) Release/obj.target/i2c.node
  COPY Release/i2c.node
make: Leaving directory '/home/pi/.node-red/node_modules/raspi-io/node_modules/raspi-i2c/node_modules/i2c-bus/build'

> exec...@1.0.2 install /home/pi/.node-red/node_modules/raspi-io/node_modules/raspi-i2c/node_modules/execSync
> node install.js

[execsync v1.0.2] Attempting to compile native extensions.
[execSync v1.0.2]
    Native code compile failed!!

> rasp...@2.2.0 postinstall /home/pi/.node-red/node_modules/raspi-io/node_modules/raspi-i2c
> echo "Enabling I2C at boot time, you may be asked for your password" && sudo env "PATH=$PATH" script/enable_i2c.js

Enabling I2C at boot time, you may be asked for your password
Checking if I2C is enabled at boot time
Enabled I2C at boot time
YOU MUST REBOOT YOUR PI BEFORE USING I2C!
rasp...@5.2.0 node_modules/raspi-io
├── raspi...@2.3.0
├── rasp...@1.2.0 (raspi-pe...@1.4.0)
├── ra...@2.0.0 (raspi-w...@1.0.6, n...@2.2.0)
├── rasp...@2.1.0 (raspi-pe...@1.4.0, n...@2.2.0)
├── raspi...@2.1.0 (raspi-pe...@1.4.0, n...@2.2.0)
└── rasp...@2.2.0 (ini-b...@1.0.3, raspi-pe...@1.4.0, i2c...@1.0.1, exec...@1.0.2)

> utf-8-v...@1.2.1 install /home/pi/.node-red/node_modules/node-red-contrib-gpio/node_modules/mqtt/node_modules/websocket-stream/node_modules/ws/node_modules/utf-8-validate
> node-gyp rebuild

gyp WARN EACCES user "root" does not have permission to access the dev dir "/root/.node-gyp/4.2.4"
gyp WARN EACCES attempting to reinstall using temporary dev dir "/home/pi/.node-red/node_modules/node-red-contrib-gpio/node_modules/mqtt/node_modules/websocket-stream/node_modules/ws/node_modules/utf-8-validate/.node-gyp"
make: Entering directory '/home/pi/.node-red/node_modules/node-red-contrib-gpio/node_modules/mqtt/node_modules/websocket-stream/node_modules/ws/node_modules/utf-8-validate/build'
  CXX(target) Release/obj.target/validation/src/validation.o
  SOLINK_MODULE(target) Release/obj.target/validation.node
  COPY Release/validation.node
make: Leaving directory '/home/pi/.node-red/node_modules/node-red-contrib-gpio/node_modules/mqtt/node_modules/websocket-stream/node_modules/ws/node_modules/utf-8-validate/build'

> buffe...@1.2.1 install /home/pi/.node-red/node_modules/node-red-contrib-gpio/node_modules/mqtt/node_modules/websocket-stream/node_modules/ws/node_modules/bufferutil
> node-gyp rebuild

gyp WARN EACCES user "root" does not have permission to access the dev dir "/root/.node-gyp/4.2.4"
gyp WARN EACCES attempting to reinstall using temporary dev dir "/home/pi/.node-red/node_modules/node-red-contrib-gpio/node_modules/mqtt/node_modules/websocket-stream/node_modules/ws/node_modules/bufferutil/.node-gyp"
make: Entering directory '/home/pi/.node-red/node_modules/node-red-contrib-gpio/node_modules/mqtt/node_modules/websocket-stream/node_modules/ws/node_modules/bufferutil/build'
  CXX(target) Release/obj.target/bufferutil/src/bufferutil.o
  SOLINK_MODULE(target) Release/obj.target/bufferutil.node
  COPY Release/bufferutil.node
make: Leaving directory '/home/pi/.node-red/node_modules/node-red-contrib-gpio/node_modules/mqtt/node_modules/websocket-stream/node_modules/ws/node_modules/bufferutil/build'

> mes...@1.32.0 preinstall /home/pi/.node-red/node_modules/node-red-contrib-gpio/node_modules/meshblu
> node -e "try{require('./skip-install.js')}catch(e){}"

No precompiled binary found

> seria...@2.0.6 install /home/pi/.node-red/node_modules/node-red-contrib-gpio/node_modules/serialport
> node-pre-gyp install --fallback-to-build

gyp WARN EACCES user "root" does not have permission to access the dev dir "/root/.node-gyp/4.2.4"
 attempting to reinstall using temporary dev dir "/home/pi/.node-red/node_modules/node-red-contrib-gpio/node_modules/serialport/.node-gyp"
make: Entering directory '/home/pi/.node-red/node_modules/node-red-contrib-gpio/node_modules/serialport/build'
make: *** No rule to make target '../.node-gyp/4.2.4/include/node/common.gypi', needed by 'Makefile'.  Stop.
make: Leaving directory '/home/pi/.node-red/node_modules/node-red-contrib-gpio/node_modules/serialport/build'
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:270:23)
gyp ERR! stack     at emitTwo (events.js:87:13)
gyp ERR! stack     at ChildProcess.emit (events.js:172:7)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)
gyp ERR! System Linux 4.1.13-v7+
gyp ERR! command "/usr/bin/nodejs" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "build" "--fallback-to-build" "--module=/home/pi/.node-red/node_modules/node-red-contrib-gpio/node_modules/serialport/build/Release/node-v46-linux-arm/serialport.node" "--module_name=serialport" "--module_path=/home/pi/.node-red/node_modules/node-red-contrib-gpio/node_modules/serialport/build/Release/node-v46-linux-arm"
gyp ERR! cwd /home/pi/.node-red/node_modules/node-red-contrib-gpio/node_modules/serialport
gyp ERR! node -v v4.2.4
gyp ERR! node-gyp -v v3.0.3
gyp ERR! not ok
node-pre-gyp ERR! build error
node-pre-gyp ERR! stack Error: Failed to execute '/usr/bin/nodejs /usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/home/pi/.node-red/node_modules/node-red-contrib-gpio/node_modules/serialport/build/Release/node-v46-linux-arm/serialport.node --module_name=serialport --module_path=/home/pi/.node-red/node_modules/node-red-contrib-gpio/node_modules/serialport/build/Release/node-v46-linux-arm' (1)
node-pre-gyp ERR! stack     at ChildProcess.<anonymous> (/home/pi/.node-red/node_modules/node-red-contrib-gpio/node_modules/serialport/node_modules/node-pre-gyp/lib/util/compile.js:83:29)
node-pre-gyp ERR! stack     at emitTwo (events.js:87:13)
node-pre-gyp ERR! stack     at ChildProcess.emit (events.js:172:7)
node-pre-gyp ERR! stack     at maybeClose (internal/child_process.js:818:16)
node-pre-gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:211:5)
node-pre-gyp ERR! System Linux 4.1.13-v7+
node-pre-gyp ERR! command "/usr/bin/nodejs" "/home/pi/.node-red/node_modules/node-red-contrib-gpio/node_modules/serialport/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build"
node-pre-gyp ERR! cwd /home/pi/.node-red/node_modules/node-red-contrib-gpio/node_modules/serialport
node-pre-gyp ERR! node -v v4.2.4
node-pre-gyp ERR! node-pre-gyp -v v0.6.18
node-pre-gyp ERR! not ok
Failed to execute '/usr/bin/nodejs /usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/home/pi/.node-red/node_modules/node-red-contrib-gpio/node_modules/serialport/build/Release/node-v46-linux-arm/serialport.node --module_name=serialport --module_path=/home/pi/.node-red/node_modules/node-red-contrib-gpio/node_modules/serialport/build/Release/node-v46-linux-arm' (1)
npm ERR! Linux 4.1.13-v7+
npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install" "node-red-contrib-gpio"
npm ERR! node v4.2.4
npm ERR! npm  v2.14.12
npm ERR! code ELIFECYCLE

npm ERR! seria...@2.0.6 install: `node-pre-gyp install --fallback-to-build`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the seria...@2.0.6 install script 'node-pre-gyp install --fallback-to-build'.
npm ERR! This is most likely a problem with the serialport package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node-pre-gyp install --fallback-to-build
npm ERR! You can get their info via:
npm ERR!     npm owner ls serialport
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     /home/pi/.node-red/npm-debug.log
                                                                            [OK]
--------------------------------------------------------------------------------
Install Webmin
--------------------------------------------------------------------------------
Elapsed Time: 00 hrs 43 mins 16 secs

Installing Webmin - expect interaction
2016-01-16 13:12:02 URL:http://netcologne.dl.sourceforge.net/project/webadmin/webmin/1.780/webmin-1.780.tar.gz [28578888/28578888] -> "webmin-1.780.tar.gz" [1]
***********************************************************************
*            Welcome to the Webmin setup script, version 1.780        *
***********************************************************************
Webmin is a web-based interface that allows Unix-like operating
systems and common Unix services to be easily administered.

Installing Webmin from /home/pi/webmin/webmin-1.780 to /usr/local/Webmin ...

***********************************************************************
Webmin uses separate directories for configuration files and log files.
Unless you want to run multiple versions of Webmin at the same time
you can just accept the defaults.

Config file directory [/etc/webmin]:
Log file directory [/var/webmin]:

***********************************************************************
Webmin is written entirely in Perl. Please enter the full path to the
Perl 5 interpreter on your system.

Full path to perl (default /usr/bin/perl):

Testing Perl ...
Perl seems to be installed ok

***********************************************************************
Operating system name:    Debian Linux
Operating system version: 8.0

***********************************************************************
Webmin uses its own password protected web server to provide access
to the administration programs. The setup script needs to know :
 - What port to run the web server on. There must not be another
   web server already using this port.
 - The login name required to access the web server.
 - The password required to access the web server.
 - If the webserver should use SSL (if your system supports it).
 - Whether to start webmin at boot time.

Web server port (default 10000):
Login name (default admin): admin
Login password:
Password again:
The Perl SSLeay library is not installed. SSL not available.
Start Webmin at boot time (y/n): y
***********************************************************************
Copying files to /usr/local/Webmin ..
..done

Creating web server config files..
..done

Creating access control file..
..done

Inserting path to perl into scripts..
..done

Creating start and stop scripts..
..done

Copying config files..
..done

Configuring Webmin to start at boot time..
..done

Creating uninstall script /etc/webmin/uninstall.sh ..
..done

Changing ownership and permissions ..
..done

Running postinstall scripts ..
Subroutine setup_ca redefined at /usr/local/Webmin/webmin/webmin-lib.pl line 87.
Subroutine install_webmin_module redefined at /usr/local/Webmin/webmin/webmin-lib.pl line 137.
Subroutine grant_user_module redefined at /usr/local/Webmin/webmin/webmin-lib.pl line 449.
Subroutine delete_webmin_module redefined at /usr/local/Webmin/webmin/webmin-lib.pl line 490.
Subroutine file_basename redefined at /usr/local/Webmin/webmin/webmin-lib.pl line 599.
Subroutine gnupg_setup redefined at /usr/local/Webmin/webmin/webmin-lib.pl line 613.
Subroutine list_standard_modules redefined at /usr/local/Webmin/webmin/webmin-lib.pl line 641.
Subroutine standard_chooser_button redefined at /usr/local/Webmin/webmin/webmin-lib.pl line 673.
Subroutine list_third_modules redefined at /usr/local/Webmin/webmin/webmin-lib.pl line 686.
Subroutine third_chooser_button redefined at /usr/local/Webmin/webmin/webmin-lib.pl line 718.
Subroutine get_webmin_base_version redefined at /usr/local/Webmin/webmin/webmin-lib.pl line 729.
Subroutine base_version redefined at /usr/local/Webmin/webmin/webmin-lib.pl line 739.
Subroutine get_newmodule_users redefined at /usr/local/Webmin/webmin/webmin-lib.pl line 750.
Subroutine save_newmodule_users redefined at /usr/local/Webmin/webmin/webmin-lib.pl line 772.
Subroutine get_miniserv_sockets redefined at /usr/local/Webmin/webmin/webmin-lib.pl line 796.
Subroutine fetch_updates redefined at /usr/local/Webmin/webmin/webmin-lib.pl line 844.
Subroutine check_update_signature redefined at /usr/local/Webmin/webmin/webmin-lib.pl line 911.
Subroutine find_cron_job redefined at /usr/local/Webmin/webmin/webmin-lib.pl line 942.
Subroutine get_ipkeys redefined at /usr/local/Webmin/webmin/webmin-lib.pl line 954.
Subroutine save_ipkeys redefined at /usr/local/Webmin/webmin/webmin-lib.pl line 975.
Subroutine validate_key_cert redefined at /usr/local/Webmin/webmin/webmin-lib.pl line 1007.
Subroutine detect_operating_system redefined at /usr/local/Webmin/webmin/webmin-lib.pl line 1028.
Subroutine show_webmin_notifications redefined at /usr/local/Webmin/webmin/webmin-lib.pl line 1063.
Subroutine get_webmin_notifications redefined at /usr/local/Webmin/webmin/webmin-lib.pl line 1079.
Subroutine get_system_uptime redefined at /usr/local/Webmin/webmin/webmin-lib.pl line 1293.
Subroutine list_operating_systems redefined at /usr/local/Webmin/webmin/webmin-lib.pl line 1340.
Subroutine shared_root_directory redefined at /usr/local/Webmin/webmin/webmin-lib.pl line 1365.
Subroutine submit_os_info redefined at /usr/local/Webmin/webmin/webmin-lib.pl line 1402.
Subroutine get_webmin_id redefined at /usr/local/Webmin/webmin/webmin-lib.pl line 1430.
Subroutine ip_match redefined at /usr/local/Webmin/webmin/webmin-lib.pl line 1446.
Subroutine prefix_to_mask redefined at /usr/local/Webmin/webmin/webmin-lib.pl line 1541.
Subroutine valid_allow redefined at /usr/local/Webmin/webmin/webmin-lib.pl line 1555.
Subroutine get_preloads redefined at /usr/local/Webmin/webmin/webmin-lib.pl line 1620.
Subroutine save_preloads redefined at /usr/local/Webmin/webmin/webmin-lib.pl line 1632.
Subroutine get_tempdirs redefined at /usr/local/Webmin/webmin/webmin-lib.pl line 1643.
Subroutine save_tempdirs redefined at /usr/local/Webmin/webmin/webmin-lib.pl line 1660.
Subroutine get_module_install_type redefined at /usr/local/Webmin/webmin/webmin-lib.pl line 1679.
Subroutine get_install_type redefined at /usr/local/Webmin/webmin/webmin-lib.pl line 1696.
Subroutine list_cached_files redefined at /usr/local/Webmin/webmin/webmin-lib.pl line 1730.
Subroutine show_restart_page redefined at /usr/local/Webmin/webmin/webmin-lib.pl line 1749.
Subroutine cert_info redefined at /usr/local/Webmin/webmin/webmin-lib.pl line 1767.
Subroutine cert_pem_data redefined at /usr/local/Webmin/webmin/webmin-lib.pl line 1808.
Subroutine cert_pkcs12_data redefined at /usr/local/Webmin/webmin/webmin-lib.pl line 1823.
Subroutine get_blocked_users_hosts redefined at /usr/local/Webmin/webmin/webmin-lib.pl line 1849.
Subroutine show_ssl_key_form redefined at /usr/local/Webmin/webmin/webmin-lib.pl line 1877.
Subroutine parse_ssl_key_form redefined at /usr/local/Webmin/webmin/webmin-lib.pl line 1921.
Subroutine parse_ssl_csr_form redefined at /usr/local/Webmin/webmin/webmin-lib.pl line 1994.
Subroutine build_installed_modules redefined at /usr/local/Webmin/webmin/webmin-lib.pl line 2068.
Subroutine get_latest_webmin_version redefined at /usr/local/Webmin/webmin/webmin-lib.pl line 2110.
Subroutine filter_updates redefined at /usr/local/Webmin/webmin/webmin-lib.pl line 2143.
Subroutine get_clone_source redefined at /usr/local/Webmin/webmin/webmin-lib.pl line 2185.
Subroutine retry_http_download redefined at /usr/local/Webmin/webmin/webmin-lib.pl line 2201.
Subroutine list_twofactor_providers redefined at /usr/local/Webmin/webmin/webmin-lib.pl line 2232.
Subroutine show_twofactor_apikey_authy redefined at /usr/local/Webmin/webmin/webmin-lib.pl line 2242.
Subroutine validate_twofactor_apikey_authy redefined at /usr/local/Webmin/webmin/webmin-lib.pl line 2254.
Subroutine show_twofactor_form_authy redefined at /usr/local/Webmin/webmin/webmin-lib.pl line 2279.
Subroutine parse_twofactor_form_authy redefined at /usr/local/Webmin/webmin/webmin-lib.pl line 2295.
Subroutine enroll_twofactor_authy redefined at /usr/local/Webmin/webmin/webmin-lib.pl line 2310.
Subroutine validate_twofactor_authy redefined at /usr/local/Webmin/webmin/webmin-lib.pl line 2341.
Subroutine validate_twofactor_apikey_totp redefined at /usr/local/Webmin/webmin/webmin-lib.pl line 2387.
Subroutine show_twofactor_form_totp redefined at /usr/local/Webmin/webmin/webmin-lib.pl line 2401.
Subroutine parse_twofactor_form_totp redefined at /usr/local/Webmin/webmin/webmin-lib.pl line 2415.
Subroutine generate_base32_secret redefined at /usr/local/Webmin/webmin/webmin-lib.pl line 2431.
Subroutine enroll_twofactor_totp redefined at /usr/local/Webmin/webmin/webmin-lib.pl line 2445.
Subroutine message_twofactor_totp redefined at /usr/local/Webmin/webmin/webmin-lib.pl line 2454.
Subroutine validate_twofactor_totp redefined at /usr/local/Webmin/webmin/webmin-lib.pl line 2468.
Subroutine canonicalize_ip6 redefined at /usr/local/Webmin/webmin/webmin-lib.pl line 2490.
Subroutine list_visible_themes redefined at /usr/local/Webmin/webmin/webmin-lib.pl line 2517.
Subroutine apply_new_os_version redefined at /usr/local/Webmin/webmin/webmin-lib.pl line 2532.
Subroutine list_keys redefined at /usr/local/Webmin/webmin/gnupg-lib.pl line 23.
Subroutine list_keys_sorted redefined at /usr/local/Webmin/webmin/gnupg-lib.pl line 75.
Subroutine list_secret_keys redefined at /usr/local/Webmin/webmin/gnupg-lib.pl line 83.
Subroutine key_fingerprint redefined at /usr/local/Webmin/webmin/gnupg-lib.pl line 89.
Subroutine get_passphrase redefined at /usr/local/Webmin/webmin/gnupg-lib.pl line 106.
Subroutine put_passphrase redefined at /usr/local/Webmin/webmin/gnupg-lib.pl line 117.
Subroutine encrypt_data redefined at /usr/local/Webmin/webmin/gnupg-lib.pl line 129.
Subroutine decrypt_data redefined at /usr/local/Webmin/webmin/gnupg-lib.pl line 168.
Subroutine sign_data redefined at /usr/local/Webmin/webmin/gnupg-lib.pl line 225.
Subroutine verify_data redefined at /usr/local/Webmin/webmin/gnupg-lib.pl line 284.
Subroutine read_entire_file redefined at /usr/local/Webmin/webmin/gnupg-lib.pl line 328.
Subroutine write_entire_file redefined at /usr/local/Webmin/webmin/gnupg-lib.pl line 340.
Subroutine get_trust_level redefined at /usr/local/Webmin/webmin/gnupg-lib.pl line 350.
Subroutine delete_key redefined at /usr/local/Webmin/webmin/gnupg-lib.pl line 372.
Subroutine default_email_address redefined at /usr/local/Webmin/webmin/gnupg-lib.pl line 399.
Subroutine fetch_gpg_key redefined at /usr/local/Webmin/webmin/gnupg-lib.pl line 416.
Subroutine search_gpg_keys redefined at /usr/local/Webmin/webmin/gnupg-lib.pl line 443.
..done

Enabling background status collection ..
..done

Attempting to start Webmin mini web server..
Starting Webmin server in /usr/local/Webmin
Pre-loaded WebminCore
..done

***********************************************************************
Webmin has been installed and started successfully. Use your web
browser to go to


and login with the name and password you entered previously.

                                                                            [OK]
--------------------------------------------------------------------------------
Apache Installation with PHP and SQLITE and PHPLITEADMIN
--------------------------------------------------------------------------------
Elapsed Time: 00 hrs 47 mins 14 secs

Installing Apache and PHP and SQLITE and PHPLITEADMIN...
Preconfiguring packages ...
Selecting previously unselected package libaprutil1-dbd-sqlite3:armhf.
(Reading database ... 136241 files and directories currently installed.)
Preparing to unpack .../libaprutil1-dbd-sqlite3_1.5.4-1_armhf.deb ...
Unpacking libaprutil1-dbd-sqlite3:armhf (1.5.4-1) ...
Selecting previously unselected package libaprutil1-ldap:armhf.
Preparing to unpack .../libaprutil1-ldap_1.5.4-1_armhf.deb ...
Unpacking libaprutil1-ldap:armhf (1.5.4-1) ...
Selecting previously unselected package liblua5.1-0:armhf.
Preparing to unpack .../liblua5.1-0_5.1.5-7.1_armhf.deb ...
Unpacking liblua5.1-0:armhf (5.1.5-7.1) ...
Selecting previously unselected package apache2-bin.
Preparing to unpack .../apache2-bin_2.4.10-10+deb8u3_armhf.deb ...
Unpacking apache2-bin (2.4.10-10+deb8u3) ...
Selecting previously unselected package apache2-utils.
Preparing to unpack .../apache2-utils_2.4.10-10+deb8u3_armhf.deb ...
Unpacking apache2-utils (2.4.10-10+deb8u3) ...
Selecting previously unselected package apache2-data.
Preparing to unpack .../apache2-data_2.4.10-10+deb8u3_all.deb ...
Unpacking apache2-data (2.4.10-10+deb8u3) ...
Selecting previously unselected package apache2.
Preparing to unpack .../apache2_2.4.10-10+deb8u3_armhf.deb ...
Unpacking apache2 (2.4.10-10+deb8u3) ...
Selecting previously unselected package libonig2:armhf.
Preparing to unpack .../libonig2_5.9.5-3.2_armhf.deb ...
Unpacking libonig2:armhf (5.9.5-3.2) ...
Selecting previously unselected package libperl4-corelibs-perl.
Preparing to unpack .../libperl4-corelibs-perl_0.003-1_all.deb ...
Unpacking libperl4-corelibs-perl (0.003-1) ...
Selecting previously unselected package lsof.
Preparing to unpack .../lsof_4.86+dfsg-1_armhf.deb ...
Unpacking lsof (4.86+dfsg-1) ...
Selecting previously unselected package libqdbm14.
Preparing to unpack .../libqdbm14_1.8.78-5+b1_armhf.deb ...
Unpacking libqdbm14 (1.8.78-5+b1) ...
Selecting previously unselected package php5-common.
Preparing to unpack .../php5-common_5.6.14+dfsg-0+deb8u1_armhf.deb ...
Unpacking php5-common (5.6.14+dfsg-0+deb8u1) ...
Selecting previously unselected package php5-json.
Preparing to unpack .../php5-json_1.3.6-1_armhf.deb ...
Unpacking php5-json (1.3.6-1) ...
Selecting previously unselected package php5-cli.
Preparing to unpack .../php5-cli_5.6.14+dfsg-0+deb8u1_armhf.deb ...
Unpacking php5-cli (5.6.14+dfsg-0+deb8u1) ...
Selecting previously unselected package libapache2-mod-php5.
Preparing to unpack .../libapache2-mod-php5_5.6.14+dfsg-0+deb8u1_armhf.deb ...
Unpacking libapache2-mod-php5 (5.6.14+dfsg-0+deb8u1) ...
Selecting previously unselected package php5.
Preparing to unpack .../php5_5.6.14+dfsg-0+deb8u1_all.deb ...
Unpacking php5 (5.6.14+dfsg-0+deb8u1) ...
Selecting previously unselected package php5-readline.
Preparing to unpack .../php5-readline_5.6.14+dfsg-0+deb8u1_armhf.deb ...
Unpacking php5-readline (5.6.14+dfsg-0+deb8u1) ...
Selecting previously unselected package ssl-cert.
Preparing to unpack .../ssl-cert_1.0.35_all.deb ...
Unpacking ssl-cert (1.0.35) ...
Processing triggers for man-db (2.7.0.2-5) ...
Processing triggers for systemd (215-17+deb8u2) ...
Setting up libaprutil1-dbd-sqlite3:armhf (1.5.4-1) ...
Setting up libaprutil1-ldap:armhf (1.5.4-1) ...
Setting up liblua5.1-0:armhf (5.1.5-7.1) ...
Setting up apache2-bin (2.4.10-10+deb8u3) ...
Setting up apache2-utils (2.4.10-10+deb8u3) ...
Setting up apache2-data (2.4.10-10+deb8u3) ...
Setting up apache2 (2.4.10-10+deb8u3) ...
Enabling module mpm_event.
Enabling module authz_core.
Enabling module authz_host.
Enabling module authn_core.
Enabling module auth_basic.
Enabling module access_compat.
Enabling module authn_file.
Enabling module authz_user.
Enabling module alias.
Enabling module dir.
Enabling module autoindex.
Enabling module env.
Enabling module mime.
Enabling module negotiation.
Enabling module setenvif.
Enabling module filter.
Enabling module deflate.
Enabling module status.
Enabling conf charset.
Enabling conf localized-error-pages.
Enabling conf other-vhosts-access-log.
Enabling conf security.
Enabling conf serve-cgi-bin.
Enabling site 000-default.
Setting up libonig2:armhf (5.9.5-3.2) ...
Setting up libperl4-corelibs-perl (0.003-1) ...
Setting up lsof (4.86+dfsg-1) ...
Setting up libqdbm14 (1.8.78-5+b1) ...
Setting up php5-common (5.6.14+dfsg-0+deb8u1) ...

Creating config file /etc/php5/mods-available/pdo.ini with new version
php5_invoke: Enable module pdo for cli SAPI
php5_invoke: Enable module pdo for apache2 SAPI

Creating config file /etc/php5/mods-available/opcache.ini with new version
php5_invoke: Enable module opcache for cli SAPI
php5_invoke: Enable module opcache for apache2 SAPI
Setting up php5-json (1.3.6-1) ...
php5_invoke: Enable module json for cli SAPI
php5_invoke: Enable module json for apache2 SAPI
Setting up php5-cli (5.6.14+dfsg-0+deb8u1) ...
update-alternatives: using /usr/bin/php5 to provide /usr/bin/php (php) in auto mode

Creating config file /etc/php5/cli/php.ini with new version
Setting up libapache2-mod-php5 (5.6.14+dfsg-0+deb8u1) ...

Creating config file /etc/php5/apache2/php.ini with new version
Module mpm_event disabled.
Enabling module mpm_prefork.
apache2_switch_mpm Switch to prefork
apache2_invoke: Enable module php5
Setting up php5 (5.6.14+dfsg-0+deb8u1) ...
Setting up php5-readline (5.6.14+dfsg-0+deb8u1) ...

Creating config file /etc/php5/mods-available/readline.ini with new version
php5_invoke: Enable module readline for cli SAPI
php5_invoke: Enable module readline for apache2 SAPI
Setting up ssl-cert (1.0.35) ...
Processing triggers for libc-bin (2.19-18+deb8u1) ...
Processing triggers for systemd (215-17+deb8u2) ...
Processing triggers for libapache2-mod-php5 (5.6.14+dfsg-0+deb8u1) ...
Reading package lists... Done
Building dependency tree
Reading state information... Done
Suggested packages:
  sqlite3-doc
The following NEW packages will be installed:
  sqlite3
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 99.5 kB of archives.
After this operation, 139 kB of additional disk space will be used.
Get:1 http://mirrordirector.raspbian.org/raspbian/ jessie/main sqlite3 armhf 3.8.7.1-1+deb8u1 [99.5 kB]
Fetched 99.5 kB in 0s (136 kB/s)
Selecting previously unselected package sqlite3.
(Reading database ... 137074 files and directories currently installed.)
Preparing to unpack .../sqlite3_3.8.7.1-1+deb8u1_armhf.deb ...
Unpacking sqlite3 (3.8.7.1-1+deb8u1) ...
Processing triggers for man-db (2.7.0.2-5) ...
Setting up sqlite3 (3.8.7.1-1+deb8u1) ...
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
  php5-sqlite
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 20.0 kB of archives.
After this operation, 62.5 kB of additional disk space will be used.
Get:1 http://mirrordirector.raspbian.org/raspbian/ jessie/main php5-sqlite armhf 5.6.14+dfsg-0+deb8u1 [20.0 kB]
Fetched 20.0 kB in 0s (33.4 kB/s)
Selecting previously unselected package php5-sqlite.
(Reading database ... 137081 files and directories currently installed.)
Preparing to unpack .../php5-sqlite_5.6.14+dfsg-0+deb8u1_armhf.deb ...
Unpacking php5-sqlite (5.6.14+dfsg-0+deb8u1) ...
Processing triggers for libapache2-mod-php5 (5.6.14+dfsg-0+deb8u1) ...
Setting up php5-sqlite (5.6.14+dfsg-0+deb8u1) ...

Creating config file /etc/php5/mods-available/sqlite3.ini with new version
php5_invoke: Enable module sqlite3 for cli SAPI
php5_invoke: Enable module sqlite3 for apache2 SAPI

Creating config file /etc/php5/mods-available/pdo_sqlite.ini with new version
php5_invoke: Enable module pdo_sqlite for cli SAPI
php5_invoke: Enable module pdo_sqlite for apache2 SAPI
Processing triggers for libapache2-mod-php5 (5.6.14+dfsg-0+deb8u1) ...
Reading package lists... Done
Building dependency tree
Reading state information... Done
unzip is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Archive:  phpLiteAdmin_v1-9-6.zip
  inflating: phpliteadmin.config.sample.php
  inflating: phpliteadmin.php
  inflating: readme.md
Archive:  phpliteadmin_themes_2013-12-26.zip
   creating: AlternateBlue/
  inflating: AlternateBlue/phpliteadmin.css
   creating: Default/
  inflating: Default/phpliteadmin.css
   creating: Dynamic/
  inflating: Dynamic/dynamic.php
   creating: dynamic_myAdmin/
  inflating: dynamic_myAdmin/dynamic_myAdmin.php
   creating: Modern/
  inflating: Modern/phpliteadmin.css
   creating: Retro/
  inflating: Retro/phpliteadmin.css
   creating: Sheep/
  inflating: Sheep/phpliteadmin.css
   creating: simpleGray/
  inflating: simpleGray/phpliteadmin.css
   creating: SoftieBlue/
  inflating: SoftieBlue/phpliteadmin.css
   creating: Stencil/
  inflating: Stencil/phpliteadmin.css
   creating: Ugur3d/
  inflating: Ugur3d/phpliteadmin.css
Enter desired password for PHPLiteAdmin:
Enter desired password for PHPLiteAdmin (again) :
                                                                            [OK]
--------------------------------------------------------------------------------
MP3 Installation
--------------------------------------------------------------------------------
Elapsed Time: 00 hrs 53 mins 12 secs

Installing mg123...
Reading package lists... Done
Building dependency tree
Reading state information... Done
Suggested packages:
  nas oss-compat oss4-base pulseaudio
The following NEW packages will be installed:
  mpg123
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 152 kB of archives.
After this operation, 336 kB of additional disk space will be used.
Get:1 http://mirrordirector.raspbian.org/raspbian/ jessie/main mpg123 armhf 1.20.1-2 [152 kB]
Fetched 152 kB in 0s (294 kB/s)
Selecting previously unselected package mpg123.
(Reading database ... 137090 files and directories currently installed.)
Preparing to unpack .../mpg123_1.20.1-2_armhf.deb ...
Unpacking mpg123 (1.20.1-2) ...
Processing triggers for mime-support (3.58) ...
Processing triggers for man-db (2.7.0.2-5) ...
Setting up mpg123 (1.20.1-2) ...
update-alternatives: using /usr/bin/mpg123.bin to provide /usr/bin/mpg123 (mpg123) in auto mode
update-alternatives: using /usr/bin/mpg123.bin to provide /usr/bin/mp3-decoder (mp3-decoder) in auto mode
                                                                            [OK]
--------------------------------------------------------------------------------
Install SCREEN
--------------------------------------------------------------------------------
Elapsed Time: 00 hrs 53 mins 27 secs

Installing SCREEN
Reading package lists... Done
Building dependency tree
Reading state information... Done
Suggested packages:
  iselect screenie byobu
The following NEW packages will be installed:
  screen
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 522 kB of archives.
After this operation, 854 kB of additional disk space will be used.
Get:1 http://mirrordirector.raspbian.org/raspbian/ jessie/main screen armhf 4.2.1-3+deb8u1 [522 kB]
Fetched 522 kB in 0s (854 kB/s)
Selecting previously unselected package screen.
(Reading database ... 137129 files and directories currently installed.)
Preparing to unpack .../screen_4.2.1-3+deb8u1_armhf.deb ...
Unpacking screen (4.2.1-3+deb8u1) ...
Processing triggers for systemd (215-17+deb8u2) ...
Processing triggers for man-db (2.7.0.2-5) ...
Processing triggers for install-info (5.2.0.dfsg.1-6) ...
Setting up screen (4.2.1-3+deb8u1) ...
Processing triggers for systemd (215-17+deb8u2) ...
                                                                            [OK]
--------------------------------------------------------------------------------
Remove WolfRam(0.4GIG), Sonic Pi(90Mb), Minecraft and Scratch
--------------------------------------------------------------------------------
Elapsed Time: 00 hrs 54 mins 14 secs

Removing programs...
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
  wolfram-engine*
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
After this operation, 460 MB disk space will be freed.
(Reading database ... 137187 files and directories currently installed.)
Removing wolfram-engine (10.0.2+2015092101) ...
Purging configuration files for wolfram-engine (10.0.2+2015092101) ...
Processing triggers for hicolor-icon-theme (0.13-1) ...
Processing triggers for gnome-menus (3.13.3-6) ...
Processing triggers for desktop-file-utils (0.22-1) ...
Processing triggers for mime-support (3.58) ...
Processing triggers for shared-mime-info (1.3-1) ...
Processing triggers for man-db (2.7.0.2-5) ...
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
  nuscratch scratch squeak-plugins-scratch squeak-vm wiringpi
0 upgraded, 0 newly installed, 5 to remove and 0 not upgraded.
After this operation, 92.9 MB disk space will be freed.
(Reading database ... 130776 files and directories currently installed.)
Removing nuscratch (20151116) ...
Removing 'diversion of /usr/bin/scratch to /usr/bin/scratch.old by nuscratch'
Removing 'diversion of /usr/bin/squeak to /usr/bin/squeak.old by nuscratch'
Removing 'diversion of /usr/share/scratch/locale/ja_HIRA.po to /usr/share/scratch/locale/ja_HIRA.po.old by nuscratch'
Removing 'diversion of /usr/share/scratch/locale/ja.po to /usr/share/scratch/locale/ja.po.old by nuscratch'
Removing scratch (1.4.0.6~dfsg1-5) ...
Removing squeak-plugins-scratch (1.4.0.2~svn.r83-2) ...
Removing squeak-vm (1:4.10.2.2614-1.1+b1) ...
Removing wiringpi (2.24) ...
Processing triggers for hicolor-icon-theme (0.13-1) ...
Processing triggers for man-db (2.7.0.2-5) ...
Processing triggers for gnome-menus (3.13.3-6) ...
Processing triggers for desktop-file-utils (0.22-1) ...
Processing triggers for mime-support (3.58) ...
Processing triggers for shared-mime-info (1.3-1) ...
Processing triggers for gnome-icon-theme (3.12.0-1) ...
Processing triggers for libc-bin (2.19-18+deb8u1) ...
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
  javascript-common libcwiid1 libfftw3-single3 libjs-jquery libjs-prettify libqscintilla2-11
  libqscintilla2-l10n libqt4-network libqt4-xmlpatterns libqtwebkit4 libruby1.9.1 libruby1.9.1-dbg
  libruby2.1 libscsynth1 libtcltk-ruby1.9.1 libyaml-0-2 ri1.9.1 ruby ruby1.9.1 ruby1.9.1-dev
  ruby1.9.1-examples ruby1.9.1-full ruby1.9.3 ruby2.1 rubygems-integration sonic-pi supercollider
  supercollider-common supercollider-ide supercollider-language supercollider-server
  supercollider-supernova
0 upgraded, 0 newly installed, 32 to remove and 0 not upgraded.
After this operation, 206 MB disk space will be freed.
(Reading database ... 129441 files and directories currently installed.)
Removing javascript-common (11) ...
apache2_invoke javascript-common prerm: No action required
Removing sonic-pi (1:2.9.0-1) ...
Removing supercollider (1:3.6.6~repack-2-1) ...
Removing supercollider-ide (1:3.6.6~repack-2-1) ...
Removing supercollider-language (1:3.6.6~repack-2-1) ...
Removing libcwiid1 (0.6.00+svn201-3.1) ...
Removing supercollider-supernova (1:3.6.6~repack-2-1) ...
Removing supercollider-server (1:3.6.6~repack-2-1) ...
Removing libjs-jquery (1.7.2+dfsg-3.2) ...
Removing supercollider-common (1:3.6.6~repack-2-1) ...
Removing libjs-prettify (2013.03.04+dfsg-4) ...
Removing libqscintilla2-11 (2.8.4+dfsg-1) ...
Removing libqscintilla2-l10n (2.8.4+dfsg-1) ...
Removing libqtwebkit4:armhf (2.3.4.dfsg-3) ...
Removing libqt4-xmlpatterns:armhf (4:4.8.6+git64-g5dc8b2b+dfsg-3+deb8u1+rpi1) ...
Removing libqt4-network:armhf (4:4.8.6+git64-g5dc8b2b+dfsg-3+deb8u1+rpi1) ...
Removing ruby1.9.1-full (1.9.3.484-2) ...
Removing ruby1.9.1-dev (1.9.3.484-2) ...
Removing ruby1.9.3 (1.9.3.484-2) ...
Removing libruby1.9.1-dbg (1.9.3.484-2) ...
Removing libscsynth1 (1:3.6.6~repack-2-1) ...
Removing libtcltk-ruby1.9.1 (1.9.3.484-2) ...
Removing ri1.9.1 (1.9.3.484-2) ...
Removing ruby1.9.1-examples (1.9.3.484-2) ...
Removing libfftw3-single3:armhf (3.3.4-2+rpi1) ...
Removing ruby1.9.1 (1.9.3.484-2) ...
Removing libruby1.9.1 (1.9.3.484-2) ...
Removing ruby (1:2.1.5+deb8u1) ...
Removing ruby2.1 (2.1.5-2+deb8u2) ...
Removing libruby2.1:armhf (2.1.5-2+deb8u2) ...
Removing libyaml-0-2:armhf (0.1.6-3) ...
Removing rubygems-integration (1.8) ...
Processing triggers for gnome-menus (3.13.3-6) ...
Processing triggers for desktop-file-utils (0.22-1) ...
Processing triggers for mime-support (3.58) ...
Processing triggers for man-db (2.7.0.2-5) ...
Processing triggers for libc-bin (2.19-18+deb8u1) ...
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
  minecraft-pi python-minecraftpi python3-minecraftpi
0 upgraded, 0 newly installed, 3 to remove and 0 not upgraded.
After this operation, 4,362 kB disk space will be freed.
(Reading database ... 98513 files and directories currently installed.)
Removing python-minecraftpi (0.1.1-4) ...
Removing minecraft-pi (0.1.1-4) ...
Removing python3-minecraftpi (0.1.1-4) ...
Processing triggers for gnome-menus (3.13.3-6) ...
Processing triggers for desktop-file-utils (0.22-1) ...
Processing triggers for mime-support (3.58) ...
                                                                            [OK]
After reboot - you must manually edit /home/pi/.node-red/settings.js to UNCOMMENT the line
which starts  os:require('os') and remove the comma if here are no other lines in that section

Run node-red-start and you will see the line needed to start node-red at boot
This works for RPI2 - may not for RPI - can start RPI manually with 'node-red'

All done. Rebooting



Dave C-J

unread,
Jan 16, 2016, 9:25:13 AM1/16/16
to node...@googlegroups.com
Peter

once again you have been running as root when we told you not to... :-)
running the main install as root will end up with .node-red being owned by root - and thus when you try to run as the normal pi user it doesn't have permissions to access .node-red...

I'm going to let you read about chown and related things first - http://www.cyberciti.biz/faq/how-to-use-chmod-and-chown-command/

Peter Scargill

unread,
Jan 16, 2016, 9:28:31 AM1/16/16
to node...@googlegroups.com

Slapped hands – but what I should have said is that having done raspi-config (as Pi user) and rebooted – I tried to run the script as Pi – so as to be a good boy and it simply would NOT run as Pi griping about permissions. I am SURE that in the successful installations I have run this script as Pi – hence the sudos in the script.

--
http://nodered.org
---
You received this message because you are subscribed to a topic in the Google Groups "Node-RED" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/node-red/9C1fyZXlfqY/unsubscribe.
To unsubscribe from this group and all its topics, send an email to node-red+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Mark Setrem

unread,
Jan 16, 2016, 9:39:57 AM1/16/16
to Node-RED, pe...@scargill.org
If you do

ls -latr 

from the home directory who owns the .node-red directory?

Then 

cd .node-red 
and repeat 
ls -latr
Who owns settings.js?

Peter Scargill

unread,
Jan 16, 2016, 9:55:31 AM1/16/16
to node...@googlegroups.com

Hold the phone guys – we’re trying again.

 

Thanks for the rapid responses!!!


I put a line in the settings of winSCP to give sudo access as I got sick of being told I could not edit files. I THINK that ended up transferring to the TERMINAL – or has some effect as we could not understand why the script would not run without SUDO.  We’ve gone back to straight PI access in winSCP and the script is now running without having to use SUDO – understand Dave’s comment…. Script will take an hour and I’ll come back.

 

Dave did you notice anything wrong with the SCRIPT in terms of using SUDO when I should not?

 

Pete.

 

From: node...@googlegroups.com [mailto:node...@googlegroups.com] On Behalf Of Mark Setrem
Sent: 16 January 2016 14:40
To: Node-RED <node...@googlegroups.com>
Cc: pe...@scargill.org
Subject: Re: [node-red] Try again - Node-Red installation issues as Pi on November Jessie

 

If you do

--

Dave C-J

unread,
Jan 16, 2016, 10:23:42 AM1/16/16
to node...@googlegroups.com
can't see anything wrong with the (node-red part of the) script if it's run as normal user.

Dave C-J

unread,
Jan 16, 2016, 10:24:45 AM1/16/16
to node...@googlegroups.com
but before it runs again - you'll have to remove that directory - or chown it to be owned correctly - or running as normal user still wont have access.

Peter Scargill

unread,
Jan 16, 2016, 10:25:36 AM1/16/16
to node...@googlegroups.com

Decided to start utterly from scratch. Thanks Dave – will know in 5 mins if it is working – coming around to the Node-Red bit again.

 

 

From: node...@googlegroups.com [mailto:node...@googlegroups.com] On Behalf Of Dave C-J
Sent: 16 January 2016 15:25
To: node...@googlegroups.com
Subject: Re: [node-red] Try again - Node-Red installation issues as Pi on November Jessie

 

but before it runs again - you'll have to remove that directory - or chown it to be owned correctly - or running as normal user still wont have access.

--

Peter Scargill

unread,
Jan 16, 2016, 11:49:51 AM1/16/16
to Node-RED, pe...@scargill.org
Ok, indeed Dave was right - just ran the script from start to end ensuring we were in the terminal as Pi user with no other privilages and the script ran perfectly. 

Thanks for speedy responses again - have a nice weekend, all.

Pete.
Reply all
Reply to author
Forward
0 new messages