Hello,
It looks like my MagicMirror is running (see below) but the MagiciMirror screen doesn’t start.
pi@raspberrypi:~/MagicMirror $ pm2 restart MagicMirror
Use --update-env to update environment variables
[PM2] Applying action restartProcessId on app [MagicMirror](ids: 0)
[PM2] [MagicMirror](0) ✓
┌─────────────┬──────┬────────┬─────┬─────┬───────────┐
│ Name │ mode │ status │ ↺ │ cpu │ memory │
├─────────────┼──────┼────────┼─────┼─────┼───────────┤
│ MagicMirror │ fork │ online │ 159 │ 66% │ 11.2 MB │
└─────────────┴──────┴────────┴─────┴─────┴───────────┘
Use `pm2 show ` to get more details about an app
Everything was working fine from the original install (I even added a module w/o issues) till I followed the instructions to Disabling the screensaver and Disable WiFi Power Save.
Since I have a RPi 3 (Raspbian Stretch) I used the following instruction:
For RPi 3 (Raspbian Stretch)
We no longer have any default entries in /etc/network/interfaces, instead we make a plugin to the (service) startup script. Copy paste the following into you terminal:
cat << EOF | sudo tee /etc/network/if-up.d/off-power-manager
> #!/bin/sh
> # off-power-manager - Disable the internal power manager of the (built-in) wlan0 device
> # Added by MagicMirrorSetup
> iw dev wlan0 set power_save off
> EOF
#!/bin/sh
# off-power-manager - Disable the internal power manager of the (built-in) wlan0 device
# Added by MagicMirrorSetup
iw dev wlan0 set power_save off
Then set the permissions and reload the network daemon.
sudo chmod 755 /etc/network/if-up.d/off-power-manager
sudo /etc/init.d/networking restart
You don’t need to reboot for this to take effect, but do it anyway to make sure it works. After reboot and your wifi is back up, test with:
iw dev wlan0 get power_save
After this the MagicMirror stopped starting up when
pm2 star MagicMirror
is executed.
Any help you could offer to troubleshoot this is much much appreciated.
Thanks,