Well, I did a reinstall and now the mirror starts when executing command. It does NOT start on boot tho, so main problem gone but we got a new one…
I guess I use VNC? SSH on Putty!
pm2 start mm.sh response:
//[PM2] Spawning PM2 daemon with pm2_home=/home/pi/.pm2
[PM2] PM2 Successfully daemonized
[PM2] Starting /home/pi/mm.sh in fork_mode (1 instance)
[PM2] Done.
┌──────┬──────┬────────┬───┬─────┬──────────┐
│ Name │ mode │ status │ ↺ │ cpu │ memory │
├──────┼──────┼────────┼───┼─────┼──────────┤
│ mm │ fork │ online │ 0 │ 0% │ 2.3 MB │
└──────┴──────┴────────┴───┴─────┴──────────┘
Use `pm2 show ` to get more details about an app
pm2 logs mm
[TAILING] Tailing last 15 lines for [mm] process (change the value with --lines option)
/home/pi/.pm2/logs/mm-error-0.log last 15 lines:
0|mm | [5113:0308/120902.949357:FATAL:bus.cc(1197)] D-Bus connection was disconnected. Aborting.
0|mm | #0 0x0000011cf88c
0|mm | #1 0x0000011bbc1a
0|mm | #2 0x000001e9a6b6
0|mm |
/home/pi/.pm2/logs/mm-out-0.log last 15 lines:
0|mm | No helper found for module: currentweather.
0|mm | No helper found for module: weatherforecast.
0|mm | Initializing new module helper ...
0|mm | All module helpers loaded.
0|mm | Starting server op port 8080 ...
0|mm | Server started ...
0|mm | Connecting socket for: updatenotification
0|mm | Connecting socket for: calendar
0|mm | Starting node helper for: calendar
0|mm | Connecting socket for: newsfeed
0|mm | Starting module: newsfeed
0|mm | Sockets connected & modules started ...
0|mm | Launching application.
0|mm | Create new calendar fetcher for url: http://www.calendarlabs.com/templates/ical/US-Holidays.ics - Interval: 300000
0|mm | Create new news fetcher for url: http://www.nytimes.com/services/xml/rss/nyt/HomePage.xml - Interval: 300000
[STREAMING] Now streaming realtime logs for [mm] process
pm2 logs mm --lines 50
[TAILING] Tailing last 50 lines for [mm] process (change the value with --lines option)
/home/pi/.pm2/logs/mm-error-0.log last 50 lines:
0|mm | [5113:0308/120902.949357:FATAL:bus.cc(1197)] D-Bus connection was disconnected. Aborting.
0|mm | #0 0x0000011cf88c
0|mm | #1 0x0000011bbc1a
0|mm | #2 0x000001e9a6b6
0|mm |
/home/pi/.pm2/logs/mm-out-0.log last 50 lines:
0|mm | Starting MagicMirror: v2.1.0
0|mm | Loading config ...
0|mm | Loading module helpers ...
0|mm | No helper found for module: alert.
0|mm | Initializing new module helper ...
0|mm | No helper found for module: clock.
0|mm | Initializing new module helper ...
0|mm | No helper found for module: compliments.
0|mm | No helper found for module: currentweather.
0|mm | No helper found for module: weatherforecast.
0|mm | Initializing new module helper ...
0|mm | All module helpers loaded.
0|mm | Starting server op port 8080 ...
0|mm | Server started ...
0|mm | Connecting socket for: updatenotification
0|mm | Connecting socket for: calendar
0|mm | Starting node helper for: calendar
0|mm | Connecting socket for: newsfeed
0|mm | Starting module: newsfeed
0|mm | Sockets connected & modules started ...
0|mm | Launching application.
0|mm | Create new calendar fetcher for url: http://www.calendarlabs.com/templates/ical/US-Holidays.ics - Interval: 300000
0|mm | Create new news fetcher for url: http://www.nytimes.com/services/xml/rss/nyt/HomePage.xml - Interval: 300000
0|mm |
0|mm | > magicmirror@2.1.0 start /home/pi/MagicMirror
0|mm | > electron js/electron.js
0|mm |
0|mm | Starting MagicMirror: v2.1.0
0|mm | Loading config ...
0|mm | Loading module helpers ...
0|mm | No helper found for module: alert.
0|mm | Initializing new module helper ...
0|mm | No helper found for module: clock.
0|mm | Initializing new module helper ...
0|mm | No helper found for module: compliments.
0|mm | No helper found for module: currentweather.
0|mm | No helper found for module: weatherforecast.
0|mm | Initializing new module helper ...
0|mm | All module helpers loaded.
0|mm | Starting server op port 8080 ...
0|mm | Server started ...
0|mm | Connecting socket for: updatenotification
0|mm | Connecting socket for: calendar
0|mm | Starting node helper for: calendar
0|mm | Connecting socket for: newsfeed
0|mm | Starting module: newsfeed
0|mm | Sockets connected & modules started ...
0|mm | Launching application.
0|mm | Create new calendar fetcher for url: http://www.calendarlabs.com/templates/ical/US-Holidays.ics - Interval: 300000
0|mm | Create new news fetcher for url: http://www.nytimes.com/services/xml/rss/nyt/HomePage.xml - Interval: 300000
[STREAMING] Now streaming realtime logs for [mm] process