Read the statement by Michael Teeuw here.
MM doesnt work after update to version 2.26
-
@davismorehead I need the actual messages from npm start.
if you can ssh or VNC or RDP into your machine you can run my scripts, it’s a cut and paste of the comnands
-
pi@raspberrypi:~ $ pm2 stop all
[PM2] Applying action stopProcessId on app [all](ids: [ 0 ])
[PM2] mm ✓
┌────┬────────────────────┬──────────┬──────┬───────────┬──────────┬──────────┐
│ id │ name │ mode │ ↺ │ status │ cpu │ memory │
├────┼────────────────────┼──────────┼──────┼───────────┼──────────┼──────────┤
│ 0 │ mm │ fork │ 95 │ stopped │ 0% │ 0b │
└────┴────────────────────┴──────────┴──────┴───────────┴──────────┴──────────┘
pi@raspberrypi:~ $ cd ~/MagicMirror/
pi@raspberrypi:~/MagicMirror $ npm startmagicmirror@2.26.0 start
DISPLAY=“${DISPLAY:=:0}” ./node_modules/.bin/electron js/electron.js/home/pi/MagicMirror/node_modules/electron/dist/electron exited with signal SIGILL
pi@raspberrypi:~/MagicMirror $Also can you point me to instructions to run your script.
-
here is the command i found for your script
pi@raspberrypi:~/MagicMirror $ bash -c “$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/raspberry.sh)”$$\ $$\ $$\ $$\ $$\ $$\ $$$$$$
$$$\ $$$ | _| $$$\ $$$ |_| $$ $$
$$$$\ $$$$ | $$$$$$\ $$$$$$\ $$\ $$$$$$$\ $$$$\ $$$$ |$$\ $$$$$$\ $$$$$$\ $$$$$$\ $$$$$$\ _/ $$ |
$$$$$$ $$ | _$$\ $$ $$\ $$ |$$ |$$$$$$ $$ |$$ |$$ $$\ $$ $$\ $$ $$\ $$ $$\ $$$$$$ |
$$ $$$ $$ | $$$$$$$ |$$ / $$ |$$ |$$ / $$ $$$ $$ |$$ |$$ | _|$$ | _|$$ / $$ |$$ | _|$$ /
$$ |$ /$$ |$$ __$$ |$$ | $$ |$$ |$$ | $$ |$ /$$ |$$ |$$ | $$ | $$ | $$ |$$ | $$ |
$$ | _/ $$ |$$$$$$$ |$$$$$$$ |$$ |$$$$$$$\ $$ | _/ $$ |$$ |$$ | $$ | $$$$$$ |$$ | $$$$$$$$
_| _| _| _$$ |_| _|_| _|_|_| __| _/ _| _______|
$$\ $$ |
$$$$$$ |
_____/install log being saved to /home/pi/install.log
cat: /etc/systemd/system/default.target: No such file or directory
system running in command line mode, need graphical desktop, see raspi-config
pi@raspberrypi:~/MagicMirror $ -
@davismorehead see
https://github.com/sdetweil/MagicMirror_scriptsdid you run npm install, or npm run install-mm
-
i did
git pull && npm run install-mm
Some of my replies take a long time to be approved. Is there a secret to get them approved faster.
-
@davismorehead if you have already installed, then you don’t run install again…
so, are you running headless? (no screen?)so you would not do npm start, you would do npm run server
-
@davismorehead said in MM doesnt work after update to version 2.26:
Some of my replies take a long time to be approved. Is there a secret to get them approved faster.
I review every post for every user with reputation below 2.
this keeps out all the spam…i DO do other things…
-
sorry, didn’t know how it worked. Didn’t realize you did it.
-
not running headless. Just don’t have a keyboard attached to pi. so SSH intomachine.
-
@davismorehead I use ssh exclusively, so that’s not it. and you are running in graphical mode, w the desktop…right?
I’ve had that check in there for 3 years now… and I just checked on all my pi systems. it never fails to find the file…
-
i checked i don’t have that file. looking on internet it says During the booting up of the system, systemd activates default. target , which is generally a symbolic link in the /etc/systemd/system/ directory to either graphical. target or multi-user. target . It is equivalent to the default runlevel, which the system administrator used to set in the /etc/inittab file.
I don’t have graphical.target or multi-user.target but I have graphical.target.wants
-
@davismorehead weird
-
so should i try and get your script to work or do something else to fix this
-
@davismorehead you could try upgrade, with force instead of apply.
-
how do I do that?
also if I run the command
pi@raspberrypi:~ $ systemctl get-default
graphical.targetI get graphical even though I don’t have the file
-
I did
npm update.
i did pm2 start mm
and it works. Thank you very much
-
@davismorehead what npm update?
-
I will look at your script later.
So in the future I should run npm update not npm install?
-
cd MagicMirror/
pi@raspberrypi:~/MagicMirror $ npm updateadded 495 packages, and changed 6 packages in 3m
195 packages are looking for funding
runnpm fundfor detailsThat worked
-
@davismorehead i don’t understand
when we release a new version, we have dependency changes additions, removals
so to handle all that you do
npm run install-mm
install-mm is a script tag in the package.jsonit just turns off as much of the noise as we can…
my script does the same thing…
I don’t know what npm update does. we don’t use it
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login