pi@pi_mirror:~ $ pm2 stop all
[PM2] Applying action stopProcessId on app [all](ids: 0)
[PM2] [mm](0) ✓
┌──────┬──────┬─────────┬───┬─────┬────────┐
│ Name │ mode │ status │ ↺ │ cpu │ memory │
├──────┼──────┼─────────┼───┼─────┼────────┤
│ mm │ fork │ stopped │ 0 │ 0% │ 0 B │
└──────┴──────┴─────────┴───┴─────┴────────┘
Use `pm2 show <id|name>` to get more details about an app
pi@pi_mirror:~ $ cd ~/MagicMirror__RL1
pi@pi_mirror:~/MagicMirror__RL1 $ git pull origin develop
remote: Enumerating objects: 8, done.
remote: Counting objects: 100% (8/8), done.
remote: Compressing objects: 100% (8/8), done.
remote: Total 8 (delta 1), reused 0 (delta 0), pack-reused 0
Unpacking objects: 100% (8/8), done.
From https://github.com/MichMich/MagicMirror
* branch develop -> FETCH_HEAD
a4ab0cb..da00c16 develop -> origin/develop
Updating a4ab0cb..da00c16
Fast-forward
CHANGELOG.md | 1 +
js/module.js | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
pi@pi_mirror:~/MagicMirror__RL1 $ npm install --only=prod
> magicmirror@2.14.0-develop install /home/pi/MagicMirror__RL1
> echo "Installing vendor files ...
" && cd vendor && npm install --loglevel=error
Installing vendor files ...
audited 24 packages in 1.991s
1 package is looking for funding
run `npm fund` for details
found 0 vulnerabilities
> magicmirror@2.14.0-develop postinstall /home/pi/MagicMirror__RL1
> npm run install-fonts && echo "MagicMirror installation finished successfully!
"
> magicmirror@2.14.0-develop install-fonts /home/pi/MagicMirror__RL1
> echo "Installing fonts ...
" && cd fonts && npm install --loglevel=error
Installing fonts ...
audited 1 package in 1.03s
found 0 vulnerabilities
MagicMirror installation finished successfully!
audited 1149 packages in 36.561s
16 packages are looking for funding
run `npm fund` for details
found 1 low severity vulnerability
run `npm audit fix` to fix them, or `npm audit` for details
pi@pi_mirror:~/MagicMirror__RL1 $ npm start
> magicmirror@2.14.0-develop start /home/pi/MagicMirror__RL1
> DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js
/home/pi/MagicMirror__RL1/node_modules/electron/dist/electron: /lib/arm-linux-gnueabihf/libdbus-1.so.3: no version information available (required by /home/pi/MagicMirror__RL1/node_modules/electron/dist/electron)
pi@pi_mirror:~/MagicMirror__RL1 $
Read the statement by Michael Teeuw here.
Posts
-
RE: After update, nothing happens.
-
RE: After update, nothing happens.
Should I stop that before doing this
"git pull origin develop / npm install --only=prod / npm start "in the old MM?
-
RE: After update, nothing happens.
I just powered it off, and this time it’s booted to the default MM with US Holidays.
Does that help, what should I try next?
-
RE: After update, nothing happens.
OK, thank you for your help this far.
-
RE: After update, nothing happens.
MagicMirror installation finished successfully! added 330 packages from 282 contributors and audited 1149 packages in 152.782s 16 packages are looking for funding run `npm fund` for details found 1 low severity vulnerability run `npm audit fix` to fix them, or `npm audit` for details pi@pi_mirror:~/MagicMirror__RL1 $ npm start > magicmirror@2.14.0-develop start /home/pi/MagicMirror__RL1 > DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js /home/pi/MagicMirror__RL1/node_modules/electron/dist/electron: /lib/arm-linux-gnueabihf/libdbus-1.so.3: no version information available (required by /home/pi/MagicMirror__RL1/node_modules/electron/dist/electron) pi@pi_mirror:~/MagicMirror__RL1 $ -
RE: After update, nothing happens.
@sdetweil said in After update, nothing happens.:
@Richard238 no idea…
so, now
node --v
npm --vpi@pi_mirror:~ $ node --v node: bad option: --v pi@pi_mirror:~ $ npm --v 6.14.8 pi@pi_mirror:~ $ node -v v10.23.0 pi@pi_mirror:~ $ -
RE: After update, nothing happens.
@sdetweil said in After update, nothing happens.:
~/install.log should say we upgraded node to 10.23 ish and npm to 6.14 ish
[92mNode.js installation Done! version=v10.23.0[0m 0mInstalled npm version: [1mV6.14.8[0m -
RE: After update, nothing happens.
Splashscreen: Changed theme to MagicMirror successfully.
Do you want use pm2 for auto starting of your MagicMirror (y/N)?N
Do you want to disable the screen saver? (y/N)?We’re ready! Run DISPLAY=:0 npm start from the ~/MagicMirror directory to start your MagicMirror.
pi@pi_mirror:~ $
As a new user, you can only post once every 120 second(s) until you have earned 3 reputation - please wait before posting again …New User? I’ve been a member for years?
-
RE: After update, nothing happens.
Splashscreen: Changed theme to MagicMirror successfully.
Do you want use pm2 for auto starting of your MagicMirror (y/N)? -
RE: After update, nothing happens.
@sdetweil
Ooops! You can tell it’s New Years Day, maybe I need another drink. :D -
RE: After update, nothing happens.
pi@pi_mirror:~ $ bash -c "$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/upgrade-script.sh)" It appears MagicMirror has not been installed on this system please run the installer, raspberry.sh first pi@pi_mirror:~ $ -
RE: After update, nothing happens.
pi@pi_mirror:~ $ bash -c “$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/upgrade-script.sh)” #: “#!/bin/bash: No such file or directory pi@pi_mirror:~ $ -
RE: After update, nothing happens.
Do I run your installer
bash -c “$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/upgrade-script.sh)”
from the (renamed) MM folder, or from the /home/pi prompt? -
RE: After update, nothing happens.
contents of file:
> magicmirror@2.14.0-develop start /home/pi/MagicMirror > DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.jsAll “npm ERR!” messages
npm ERR! Linux 4.9.35-v7+ npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "start" npm ERR! node v6.17.1 npm ERR! npm v3.10.10 npm ERR! file sh npm ERR! code ELIFECYCLE npm ERR! errno ENOENT npm ERR! syscall spawn npm ERR! magicmirror@2.14.0-develop start: `DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js` npm ERR! spawn ENOENT npm ERR! npm ERR! Failed at the magicmirror@2.14.0-develop start script 'DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js'. npm ERR! Make sure you have the latest version of node.js and npm installed. npm ERR! If you do, this is most likely a problem with the magicmirror package, npm ERR! not with npm itself. npm ERR! Tell the author that this fails on your system: npm ERR! DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js npm ERR! You can get information on how to open an issue for this project with: npm ERR! npm bugs magicmirror npm ERR! Or if that isn't available, you can get their info via: npm ERR! npm owner ls magicmirror npm ERR! There is likely additional logging output above. npm ERR! Please include the following file with any support request: npm ERR! /home/pi/MagicMirror/npm-debug.log -
RE: After update, nothing happens.
Already up-to-date.
Which sounds promising.
-
RE: After update, nothing happens.
I wasn’t watching it that closely, maybe there were, is there a log somewhere?
-
After update, nothing happens.
I noticed that updatenotification hadn’t notified me of any updates for ages, so I got MM to do updates with the usual
git pull && npm install.PM2 start MM, and nothing happens.
Rebooted Pi, still nothing.
CPU sits at 25/26%, but no MM, just the Pi desktop.Any ideas, please?
Thanks. -
RE: After update, chrome-sandbox needs root and mode 4655?
Would it be advisable then, regardless of the chrome-sandbox issue, to update NODE and NPM on my MM?
If so how, and to which version of each?