I did, I just did a restart with pm2 restart 0 and all is well now other than some alignment issues with the data it displays which I’ll work on now.
Thanks
I did, I just did a restart with pm2 restart 0 and all is well now other than some alignment issues with the data it displays which I’ll work on now.
Thanks
This is possibly a similar problem to the one posted a year ago here with no resolution posted by OP.
Essentially, I’ve put my API login credentials into the config.js but the module just sits there displaying “loading”.
I know my API details are good as I can query the system from the command line without any issues.
@sdetweil It seemed to work well without it in the past, has something changed?
I always found the Desktop version really laggy on the Zero so try to avoid it when not necessary.
@sdetweil Yes, and then rebooted for good measure. Could it be anything to do with me running Raspbian Lite and not Desktop?
@sdetweil I renamed the old MM directory and ran your script
bash -c "$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/raspberry.sh)"
Everything went successfully, I can see the display from other computers but the pi just sits at a terminal prompt, is there something I need to do to start things off?
$ pm2 list
┌────┬─────────────────────────┬─────────┬─────────┬──────────┬────────┬──────┬──────────┬──────────┬──────────┬──────────┬──────────┐
│ id │ name │ version │ mode │ pid │ uptime │ ↺ │ status │ cpu │ mem │ user │ watching │
├────┼─────────────────────────┼─────────┼─────────┼──────────┼────────┼──────┼──────────┼──────────┼──────────┼──────────┼──────────┤
│ 1 │ MagicMirror │ 2.10.1 │ fork │ 568 │ 2m │ 1 │ online │ 0% │ 2.5mb │ pi │ enabled │
└────┴─────────────────────────┴─────────┴─────────┴──────────┴────────┴──────┴──────────┴──────────┴──────────┴──────────┴──────────┘
@sdetweil looks like the quickest fix is to re-install again. It’s a pain as I probably have to do this about once or twice a year. It can be working great then either the power will unexpectedly go out or I’ll shut it down for some reason and then it takes a full wipe and re-install to get it working again.
@sdetweil said in MM on Pi Zero fails after being off for a few days:
./run-start.sh
When I run
chromium-browser --app=https://cnn.com
I get command not found, so I tried
chromium --app=https://cnn.com
and I get Illegal Instruction.
i tried your script, and I get the text on screen about no helper found etc, then it gets stuck when trying to fetch the calendar data. I can access it from another computer but the pi is still blank on screen
Edit: It does seem to go through the calendar step but just very slowly, still progressing to each successive calendar now. I’ll leave it running and see if it eventually successfully starts.
@sdetweil it works in as much as I can see the magic mirror on another computer when I point to the correct IP, but the pi itself does not display anything at all, it sits at a terminal prompt or if I reboot and let it try to start on its own it’ll switch from prompt to black screen with mouse pointer as if it’s trying to start, then it loops back to a prompt and cycles between the two states.
#!/bin/sh
unclutter &
xset -dpms # disable DPMS (Energy Star) features.
xset s off # disable screen saver
xset s noblank # don’t blank the video device
matchbox-window-manager &
chromium-browser -–incognito --start-fullscreen -–kiosk http://localhost:8080/
#!/bin/bash
cd ~/MagicMirror
node serveronly &
sleep 30
xinit /home/pi/chromium_start.sh