Read the statement by Michael Teeuw here.
MM startup problem after update
-
@manu85340 ok, we need to back up to version 2.27 and node 18
so, first lets go back to node 18
sudo n 18verify
node -vshould return something like this
~/MagicMirror$ node -v v18.20.3if that is successful, then on to MagicMirror
cd ~/MagicMirror git fetch --tags git checkout -b temp v.2.27.0 rm package-lock.json rm -rf node_modules npm run install-mmthen MagicMirror should start and run
npm startand not for startup
sudo reboot -
@sdetweil Sam I have an error when I pass the line
git checkout -b temp v.2.27.0pi@MagicMirror:~ $ node -v
v18.20.3
pi@MagicMirror:~ $ cd ~/MagicMirror
pi@MagicMirror:~/MagicMirror $ git fetch --tags
remote: Enumerating objects: 4, done.
remote: Counting objects: 100% (4/4), done.
remote: Compressing objects: 100% (4/4), done.
remote: Total 4 (delta 0), reused 0 (delta 0), pack-reused 0
D▒paquetage des objets: 100% (4/4), fait.
Depuis https://github.com/MagicMirrorOrg/MagicMirror- [nouvelle branche] dependabot/npm_and_yarn/develop/stylistic/eslint-plugin-2.3.0 -> origin/dependabot/npm_and_yarn/develop/stylistic/eslint-plugin-2.3.0
! [rejet▒] v2.17.0 -> v2.17.0 (▒craserait l’▒tiquette existante)
pi@MagicMirror:~/MagicMirror $ git checkout -b temp v.2.27.0
fatal: ‘v.2.27.0’ n’est pas un commit et une branche ‘temp’ ne peut pas en ▒tre cr▒▒e depuis
so I’m not going any further, I’m waiting for your instructions
- [nouvelle branche] dependabot/npm_and_yarn/develop/stylistic/eslint-plugin-2.3.0 -> origin/dependabot/npm_and_yarn/develop/stylistic/eslint-plugin-2.3.0
-
@manu85340 said in MM startup problem after update:
git checkout -b temp v.2.27.0
my fault (that little dot after the v!..) sorry
git checkout -b temp v2.27.0 -
@sdetweil I have an error see below, thanks Sam
pi@MagicMirror:~/MagicMirror $ git checkout -b temp v2.27.0
Basculement sur la nouvelle branche ‘temp’
pi@MagicMirror:~/MagicMirror $ rm package-lock.json
pi@MagicMirror:~/MagicMirror $ rm -rf node_modules
pi@MagicMirror:~/MagicMirror $ npm run install-mmmagicmirror@2.27.0 install-mm
npm install --no-audit --no-fund --no-update-notifier --only=prod --omit=dev/
<— Last few GCs —>[25028:0x4545870] 27358 ms: Mark-sweep (reduce) 226.0 (233.8) -> 225.8 (233.8) MB, 271.2 / 0.0 ms (average mu = 0.812, current mu = 0.296) allocation failure; scavenge might not succeed
[25028:0x4545870] 27592 ms: Mark-sweep (reduce) 226.3 (233.8) -> 226.2 (234.3) MB, 230.3 / 0.0 ms (average mu = 0.653, current mu = 0.018) allocation failure; scavenge might not succeed<— JS stacktrace —>
FATAL ERROR: Reached heap limit Allocation failed - JavaScript heap out of memory
Aborted
pi@MagicMirror:~/MagicMirror $ -
You know, I just realized that the “blank screen” I mentioned earlier was actually just my screen setup. In fact, this is the same errors I was having with the NPM/Node being out of date…
-
-
@manu85340 see this post (and the one before it) in an issue w the same problem
https://github.com/sdetweil/MagicMirror_scripts/issues/89#issuecomment-2176865685 -
@sdetweil hi Sam if I understand correctly it is not possible to restart the MM with the update that I passed, that’s it,
-
@manu85340 I don’t understand.
we have restored back to 2.27
2.28 will not run on buster
you need the next at least bullseye
bur if you are upgrading, go to current, bookworm -
@sdetweil Sam a few posts above I told you that I had a problem passing this line:
git checkout -b temp v.2.27.0 so I didn't pass the other command linesrm package-lock.json
rm -rf node_modules
npm run install-mm -
@manu85340 yes and I replied with the corrected command
https://forum.magicmirror.builders/topic/18838/mm-startup-problem-after-update/30?_=1719933486042 -
S sdetweil referenced this topic on
-
@sdetweil Yes, that’s true, sorry, but then I made another comment to let you know that I had an error when I passed the line: ```
npm run install-mmpi@MagicMirror:~/MagicMirror $ npm run install-mm
magicmirror@2.27.0 install-mm
npm install --no-audit --no-fund --no-update-notifier --only=prod --omit=dev/
<— Last few GCs —>[12543:0x5273870] 17046 ms: Mark-sweep (reduce) 226.7 (234.0) -> 226.5 (234.0 ) MB, 147.4 / 0.0 ms (+ 65.0 ms in 7 steps since start of marking, biggest step 17.7 ms, walltime since start of marking 223 ms) (average mu = 0.854, current m u = 0.346) allo[12543:0x5273870] 17258 ms: Mark-sweep (reduce) 226.9 (234.0) -> 226.9 (234.5) MB, 207.1 / 0.0 ms (average mu = 0.705, current mu = 0.026) al location failure; scavenge might not succeed
<— JS stacktrace —>
FATAL ERROR: Reached heap limit Allocation failed - JavaScript heap out of memor y
Aborted -
@manu85340 and then i posted another link with instructions for that problem
-
@sdetweil Sam thanks for your help, but I think I’m going to give up… nothing works, I have another MM I’m going to copy the sd card and copy it to that of my MM and not do an update, if I understood correctly that it is the operating system that does not support updating? if this is it on which system should I install MM please?
-
@manu85340 the latest raspi OS is bookworm…
if this is a pi3 Id do the 32 bit version to save memory space.
I have updated the installer and upgrader to fail if trying to install or upgrade now on buster
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