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 $
Read the statement by Michael Teeuw here.
Posts
-
RE: After update, nothing happens.
-
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?
-
RE: After update, chrome-sandbox needs root and mode 4655?
- Cat package.json
pi@pi_mirror:~/MagicMirror $ cat package.json { "name": "magicmirror", "version": "2.11.0-develop", "description": "The open source modular smart mirror platform.", "main": "js/electron.js", "scripts": { "start": "./run-start.sh", "install": "cd vendor && npm install", "install-fonts": "cd fonts && npm install", "postinstall": "sh untrack-css.sh && sh installers/postinstall/postinstall.sh && npm run install-fonts", "test": "NODE_ENV=test ./node_modules/mocha/bin/mocha tests --recursive", "test:unit": "NODE_ENV=test ./node_modules/mocha/bin/mocha tests/unit --recursive", "test:e2e": "NODE_ENV=test ./node_modules/mocha/bin/mocha tests/e2e --recursive", "config:check": "node tests/configs/check_config.js", "lint": "grunt" }, "repository": { "type": "git", "url": "git+https://github.com/MichMich/MagicMirror.git" }, "keywords": [ "magic mirror", "smart mirror", "mirror UI", "modular" ], "author": "Michael Teeuw", "contributors": [ "https://github.com/MichMich/MagicMirror/graphs/contributors" ], "license": "MIT", "bugs": { "url": "https://github.com/MichMich/MagicMirror/issues" }, "homepage": "https://magicmirror.builders", "devDependencies": { "chai": "^4.1.2", "chai-as-promised": "^7.1.1", "current-week-number": "^1.0.7", "danger": "^3.1.3", "grunt": "latest", "grunt-eslint": "latest", "grunt-jsonlint": "latest", "grunt-markdownlint": "latest", "grunt-stylelint": "latest", "grunt-yamllint": "latest", "http-auth": "^3.2.3", "jsdom": "^11.6.2", "jshint": "^2.10.2", "mocha": "^7.0.0", "mocha-each": "^1.1.0", "mocha-logger": "^1.0.6", "spectron": "^8.0.0", "stylelint": "latest", "stylelint-config-standard": "latest", "time-grunt": "latest" }, "optionalDependencies": { "electron": "^6.1.7" }, "dependencies": { "colors": "^1.1.2", "console-stamp": "^0.2.9", "express": "^4.16.2", "express-ipfilter": "^1.0.1", "feedme": "latest", "helmet": "^3.21.2", "iconv-lite": "latest", "lodash": "^4.17.15", "module-alias": "^2.2.2", "moment": "latest", "request": "^2.88.0", "rrule": "^2.6.2", "rrule-alt": "^2.2.8", "simple-git": "^1.85.0", "socket.io": "^2.1.1", "valid-url": "latest" }, "_moduleAliases": { "node_helper": "js/node_helper.js" } } pi@pi_mirror:~/MagicMirror $- GIT Status:
pi@pi_mirror:~/MagicMirror $ git status On branch develop Your branch is behind 'origin/develop' by 17 commits, and can be fast-forwarded. (use "git pull" to update your local branch) Changes not staged for commit: (use "git add <file>..." to update what will be committed) (use "git checkout -- <file>..." to discard changes in working directory) modified: css/main.css Untracked files: (use "git add <file>..." to include in what will be committed) InstallGuideURL.txt MMM-EventHorizon/ READ_ME.txt core css/customOLD.css modules/default/calendar/calendar1.js modules/default/compliments/compliments.js.ORIG modules/default/compliments/compliments.json modules/default/compliments/compliments2.js no changes added to commit (use "git add" and/or "git commit -a")- Node Version:
pi@pi_mirror:~/MagicMirror $ node -v v6.9.5- NPM Version:
pi@pi_mirror:~/MagicMirror $ npm -v 3.10.10 -
RE: After update, chrome-sandbox needs root and mode 4655?
@karsten13 said in After update, chrome-sandbox needs root and mode 4655?:
So are you using the develop-branch or have you edited package.json und upgraded electron?
Neither that I am aware of.
All I did was apply a batch of commits. -
After update, chrome-sandbox needs root and mode 4655?
Noticed earlier that my MM had crashed for whatever reason - it’s not been
touchedchanged in weeks.On reboot, it wanted 44 updates.
pm2 start mm then showed nothing, with the logs giving an error:0|mm | [10532:0127/132321.643138:FATAL:setuid_sandbox_host.cc(157)] The SUID sandbox helper binary was found, but is not configured correctly. Rather than run without sandboxing I'm aborting now. You need to make sure that /home/pi/MagicMirror/node_modules/electron/dist/chrome-sandbox is owned by root and has mode 4755.I did
sudo chown root /home/pi/MagicMirror/node_modules/electron/dist/chrome-sandbox sudo chmod 4755 /home/pi/MagicMirror/node_modules/electron/dist/chrome-sandboxThis seems to have fixed it, with MM now starting correctly.
What’s caused this, and is the chown/chmod the correct thing todo?
-
RE: MMM-FlightsAbove - Display all flights in the sky above you
The vertical bar is only shown on Firefox or Edge, Chrome is OK, as is Electron on the Pi itself.