Read the statement by Michael Teeuw here.
Trouble updating Magic Mirror on Raspberry Pi Zero 2W
-
I’ve had Magic Mirror running on a Pi Zero 2W for about 8 months and it is behind a few versions. I tried to update to the latest version but get the 'Unsupported engine" NodeJs and NPM version error.
As far as I’ve seen, newer versions of NodeJs don’t support the Zero 2. Is that true? Is there a workaround so I can update my Mirror?
-
@wyovino use my upgrade script
https://github.com/sdetweil/MagicMirror_scripts -
-
@wyovino pi02w is a pi3+ in a pi0 form factor
so it runs all the 32 and 64 bit os. but should stay 32 bit due to the small memory space -
@sdetweil It’s Buster. I guess I’ll have to build it from scratch again. I remember having a hard time getting the PIR Sensor module to work, not sure if works under bookworm.
-
@wyovino use my backup/restore scripts to copy to new system
https://github.com/sdetweil/MagicMirror-backup-restore -
@sdetweil I’ve been struggling with this for a week. Nothing new seems to play well with Pi Zero 2. I built the OS and MM from scratch on a USB drive and after many tries finally got it working. When I moved the USB drive to the Pi Zero 2 that’s mounted in my mirror it didn’t work. I tried it in the Zero 2 that I used to build the software and it didn’t work there either. However when I plug it into a Pi 4 it works fine. It seems that the changes they made in Bookworm ignored the needs of the Pi Zero 2.
I also built it from scratch on a 32gb microSD card and that worked. I tried using PiShrink to reduce the image size so it would fit on my 16gb USB drive. It appeared to work, but the Zero 2 wouldn’t boot from it. The way my mirror is set up, I can’t access the SD slot.
-
@wyovino ok, I’ll try to find some time tomorrow or Wednesday to look at my pi02w and see what I can get done.
I would start w the legacy 32 bit bullseye image myself
-
@sdetweil I did try Bullseye and that failed to install MM. I guess I could try again. This is so frustrating. I can can it working on one Pi Zero 2, but not another one. I’m done with this for now. My older version is working fine.
-
@wyovino I use my script all the time.
I’ve spent too many hours working out the kinks to do it manually.