A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.
Read the statement by Michael Teeuw here.
updated installer script available for testing
-
@swvalenti the code is doing a
pgrep "node"
to test, do
ps -ef | grep node
so, they are usually running as /usr/bin/node, killall won’t kill those
-
@sdetweil said in Anyone want to try updated installer...:
ps -ef | grep node
pi@raspberrypi:~ $ ps -ef | grep node pi 5623 5392 0 13:11 pts/0 00:00:00 grep --color=auto node pi 19082 648 0 Nov12 ? 00:51:53 node /home/pi/node-sonos-http-api/server.js
I dont even have this module anymore I thought it was deleted…what do I need to do in order to make the update work?
-
-
Still won’t work did the kill command
pi@raspberrypi:~ $ kill -9 19082 pi@raspberrypi:~ $ pi@raspberrypi:~ $ bash -c "$(curl -sL https://www.dropbox.com/s/rlh710ng0zwv3vp/raspberry.sh?dl=0)" $$\ $$\ $$\ $$\ $$\ $$\ $$$$$$\ $$$\ $$$ | \__| $$$\ $$$ |\__| $$ __$$\ $$$$\ $$$$ | $$$$$$\ $$$$$$\ $$\ $$$$$$$\ $$$$\ $$$$ |$$\ $$$$$$\ $$$$$$\ $$$$$$\ $$$$$$\ \__/ $$ | $$\$$\$$ $$ | \____$$\ $$ __$$\ $$ |$$ _____|$$\$$\$$ $$ |$$ |$$ __$$\ $$ __$$\ $$ __$$\ $$ __$$\ $$$$$$ | $$ \$$$ $$ | $$$$$$$ |$$ / $$ |$$ |$$ / $$ \$$$ $$ |$$ |$$ | \__|$$ | \__|$$ / $$ |$$ | \__|$$ ____/ $$ |\$ /$$ |$$ __$$ |$$ | $$ |$$ |$$ | $$ |\$ /$$ |$$ |$$ | $$ | $$ | $$ |$$ | $$ | $$ | \_/ $$ |\$$$$$$$ |\$$$$$$$ |$$ |\$$$$$$$\ $$ | \_/ $$ |$$ |$$ | $$ | \$$$$$$ |$$ | $$$$$$$$\ \__| \__| \_______| \____$$ |\__| \_______|\__| \__|\__|\__| \__| \______/ \__| \________| $$\ $$ | \$$$$$$ | \______/ install log being saved to /home/pi/MagicMirror/installers/install.log No LSB modules are available. Updating packages ... Installing helper tools ... Reading package lists... Done Building dependency tree Reading state information... Done build-essential is already the newest version (12.3). curl is already the newest version (7.52.1-5+deb9u9). git is already the newest version (1:2.11.0-3+deb9u4). unzip is already the newest version (6.0-21+deb9u2). wget is already the newest version (1.18-5+deb9u3). The following packages were automatically installed and are no longer required: coinor-libipopt1v5 libcommon-sense-perl libdbi1 libencode-locale-perl libfile-which-perl libhttp-daemon-perl libhttp-date-perl libhttp-message-perl libio-html-perl libipc-sharelite-perl libjson-perl libjson-xs-perl liblwp-mediatypes-perl libmumps-seq-4.10.0 libraw15 librrd8 librrds-perl libtimedate-perl libtypes-serialiser-perl liburi-perl realpath Use 'sudo apt autoremove' to remove them. 0 upgraded, 0 newly installed, 0 to remove and 25 not upgraded. Check current Node installation ... Node currently installed. Checking version number. Minimum Node version: v10.1.0 Installed Node version: v9.11.2 Node should be upgraded. A Node process is currently running. Can't upgrade. Please quit all Node processes and restart the installer. pi@raspberrypi:~ $ pi@raspberrypi:~ $ kill -9 19082 bash: kill: (19082) - No such process pi@raspberrypi:~ $ pi@raspberrypi:~ $ bash -c "$(curl -sL https://www.dropbox.com/s/rlh710ng0zwv3vp/raspberry.sh?dl=0)" $$\ $$\ $$\ $$\ $$\ $$\ $$$$$$\ $$$\ $$$ | \__| $$$\ $$$ |\__| $$ __$$\ $$$$\ $$$$ | $$$$$$\ $$$$$$\ $$\ $$$$$$$\ $$$$\ $$$$ |$$\ $$$$$$\ $$$$$$\ $$$$$$\ $$$$$$\ \__/ $$ | $$\$$\$$ $$ | \____$$\ $$ __$$\ $$ |$$ _____|$$\$$\$$ $$ |$$ |$$ __$$\ $$ __$$\ $$ __$$\ $$ __$$\ $$$$$$ | $$ \$$$ $$ | $$$$$$$ |$$ / $$ |$$ |$$ / $$ \$$$ $$ |$$ |$$ | \__|$$ | \__|$$ / $$ |$$ | \__|$$ ____/ $$ |\$ /$$ |$$ __$$ |$$ | $$ |$$ |$$ | $$ |\$ /$$ |$$ |$$ | $$ | $$ | $$ |$$ | $$ | $$ | \_/ $$ |\$$$$$$$ |\$$$$$$$ |$$ |\$$$$$$$\ $$ | \_/ $$ |$$ |$$ | $$ | \$$$$$$ |$$ | $$$$$$$$\ \__| \__| \_______| \____$$ |\__| \_______|\__| \__|\__|\__| \__| \______/ \__| \________| $$\ $$ | \$$$$$$ | \______/ install log being saved to /home/pi/MagicMirror/installers/install.log No LSB modules are available. Updating packages ... Installing helper tools ... Reading package lists... Done Building dependency tree Reading state information... Done build-essential is already the newest version (12.3). curl is already the newest version (7.52.1-5+deb9u9). git is already the newest version (1:2.11.0-3+deb9u4). unzip is already the newest version (6.0-21+deb9u2). wget is already the newest version (1.18-5+deb9u3). The following packages were automatically installed and are no longer required: coinor-libipopt1v5 libcommon-sense-perl libdbi1 libencode-locale-perl libfile-which-perl libhttp-daemon-perl libhttp-date-perl libhttp-message-perl libio-html-perl libipc-sharelite-perl libjson-perl libjson-xs-perl liblwp-mediatypes-perl libmumps-seq-4.10.0 libraw15 librrd8 librrds-perl libtimedate-perl libtypes-serialiser-perl liburi-perl realpath Use 'sudo apt autoremove' to remove them. 0 upgraded, 0 newly installed, 0 to remove and 25 not upgraded. Check current Node installation ... Node currently installed. Checking version number. Minimum Node version: v10.1.0 Installed Node version: v9.11.2 Node should be upgraded. A Node process is currently running. Can't upgrade. Please quit all Node processes and restart the installer. pi@raspberrypi:~ $ pi@raspberrypi:~ $
-
@swvalenti looks like it gets restarted…
again… you killed it before u ran installer
ps -ef | grep node
-
@sdetweil that is correct, can I somehow delete this node process as I don’t even use that module anymore?
-
-
pi@raspberrypi:~ $ pm2 status ┌─────────────┬────┬───────┬────────┬─────────┬─────┬────────┬───────────┐ │ Name │ id │ mode │ status │ ↺ │ cpu │ memory │ ├─────────────┼────┼───────┼────────┼─────────┼─────┼────────┼───────────┤ │ mm │ 1 │ N/A │ fork │ stopped │ 176 │ 0% │ 0 B │ │ omx_stream1 │ 2 │ N/A │ fork │ stopped │ 61 │ 0% │ 0 B │ │ omx_stream2 │ 3 │ N/A │ fork │ stopped │ 0 │ 0% │ 0 B │ │ omx_stream3 │ 4 │ N/A │ fork │ stopped │ 0 │ 0% │ 0 B │ │ server │ 0 │ 1.6.5 │ fork │ online │ 3 │ 0.4% │ 40.0 MB │ └─────────────┴────┴───────┴────────┴─────────┴─────┴────────┴───────────┘ Use `pm2 show <id|name>` to get more details about an app pi@raspberrypi:~ $
-
@swvalenti i would guess server
pm2 stop server
-
@sdetweil Awesome that worked thanks Sam!