Read the statement by Michael Teeuw here.
Installing on a Pi Zero
-
Up until a few days ago, MagicMirror was working fine on my Pi Zero, however for no apparent reason its now stopped.
Having looked in the /home/pi/.pm2/logs/MagicMirror-error.log I’m seeing that it cannot find the module ‘electron’
I’ve tried npm install in the MagicMirror folder and get this error
Error: Failed to find Electron v6.1.12 for linux-armv6l at https://github.com/electron/electron/releases/download/v6.1.12/electron-v6.1.12-linux-armv6l.zip
I’ve also tried a fresh install using sdetweil’s script - however I get the same error about electron.
Can anyone help provide any pointers as to why its not working anymore?
-
@rick sounds like an SD card failure I am sorry to say. I have never seen a recovery
-
@sdetweil Ah - I never thought of that. I’ll try another SD card - Thanks Sam
-
Hi, sdetweil, I just ran your script on top of the full install in this thread, now the mirror is up. Thanks!
-
Hi
I followed the pdf instructions step by step but does not seem to work for me.
I started with clean install of raspbian on my Pi Z W. Followed, your instructions step by step. no errors apart from the same ones in your pdf (errors while installing dependencies). After some time the installation was complete. It asked if I want to restart, I did. Once booted back up nothing loaded even after half an hour. I navigated to localhost:8080 with no success. I also tried run serveronly/ and this didn’t help.
I’m not sure what I am doing wrong as it seems most people are getting it working very easily.
Any help would be great! Thanks
-
@akz_g use my script. the old instructions don’t work anymore
-
@sdetweil said in Installing on a Pi Zero:
@sdetweil My Magic Mirror install on a Pi Zero has been running great. I see an alert now that there is a Magic Mirror Update available. Do I just run your upgrade-script.sh to bring my Pi Zero install up to date with Magic Mirror v2.13.0?
-
@RushHour99 yes, note that u have to run two times.
-
@sdetweil said in Installing on a Pi Zero:
@RushHour99 yes, note that u have to run two times.
Thanks! Out of curiosity, why do I need to run it 2 times? I would have missed that detail if you didn’t’ let me know.
-
@RushHour99 i don’t understand , then doc says
Update to next MagicMirror version from an existing MagicMirror installation upgrade-script.sh will do the git pull and npm install, and refresh npm setup for any modules that might need it it should handle all the work… and give you a trial run of all that, only applying changes if u request them give it a try this works on Mac as well, cut/paste this line into the terminal window on your device bash -c "$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/upgrade-script.sh)" ================no changes are made to the local repo or the working copy======================== if you WANT to actually apply the changes, cut/paste this line into the terminal window on your device bash -c "$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/upgrade-script.sh)" apply