Read the statement by Michael Teeuw here.
Nothing showing but app is running
-
Have you saved the current state of the PM2?
Run
pm2 start mm.sh pm2 save sudo reboot
-
@mortenbirkelund Actually I have. Still doesn’t work. The only way I made it finally work was to add “@pm2 start mm.sh” in "/home/pi/.config/lxsession/LXDE/autostart "
I guess that is a OK solution?
-
@fiskaren Then i dont know what could be wrong. Perhaps someone else will see this post and can point you in the right direction.
Your solution will start MM each time the computer is started, where pm2 will only start MM, if it was running when the reboot was initiated. But if it works for you. -
updated today and now I have a similar issue. App is running but the screen is black. Ran apt-get update & apt-get upgrade in the hopes it would fix itself, but nope :)
pi@jarvis:~ $ pm2 log [TAILING] Tailing last 15 lines for [all] processes (change the value with --lines option) /home/pi/.pm2/pm2.log last 15 lines: PM2 | 2017-04-02 18:19:27: PM2 PID file : /home/pi/.pm2/pm2.pid PM2 | 2017-04-02 18:19:27: RPC socket file : /home/pi/.pm2/rpc.sock PM2 | 2017-04-02 18:19:27: BUS socket file : /home/pi/.pm2/pub.sock PM2 | 2017-04-02 18:19:27: Application log path : /home/pi/.pm2/logs PM2 | 2017-04-02 18:19:27: Process dump file : /home/pi/.pm2/dump.pm2 PM2 | 2017-04-02 18:19:27: Concurrent actions : 2 PM2 | 2017-04-02 18:19:27: SIGTERM timeout : 1600 PM2 | 2017-04-02 18:19:27: =============================================================================== PM2 | 2017-04-02 18:19:27: Starting execution sequence in -fork mode- for app name:mm id:0 PM2 | 2017-04-02 18:19:27: App name:mm id:0 online PM2 | 2017-04-02 18:21:20: Stopping app:mm id:0 PM2 | 2017-04-02 18:21:20: App [mm] with id [0] and pid [1474], exited with code [0] via signal [SIGINT] PM2 | 2017-04-02 18:21:20: pid=1474 msg=process killed PM2 | 2017-04-02 18:26:49: Starting execution sequence in -fork mode- for app name:mm id:0 PM2 | 2017-04-02 18:26:49: App name:mm id:0 online /home/pi/.pm2/logs/mm-error-0.log last 15 lines: 0|mm | 0|mm | 0|mm | error: cannot open .git/FETCH_HEAD: Permission denied 0|mm | 0|mm | 0|mm | [29012:0402/175739.310033:FATAL:bus.cc(1197)] D-Bus connection was disconnected. Aborting. 0|mm | #0 0x0000011cf88c 0|mm | #1 0x0000011bbc1a 0|mm | #2 0x000001e9a6b6 0|mm | 0|mm | [1665:0402/181857.627309: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 | Initializing new module helper ... 0|mm | Module helper loaded: calendar 0|mm | No helper found for module: currentweather. 0|mm | No helper found for module: airquality. 0|mm | No helper found for module: weatherforecast. 0|mm | No helper found for module: MMM-Hue. 0|mm | All module helpers loaded. 0|mm | Starting server on port 8666 ... 0|mm | Starting server op port 8666 ... 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 | Sockets connected & modules started ... 0|mm | Launching application. [STREAMING] Now streaming realtime logs for [all] processes pi@jarvis:~ $ tail -f /home/pi/.pm2/logs/mm-error-0.log [29012:0402/175739.310033:FATAL:bus.cc(1197)] D-Bus connection was disconnected. Aborting. #0 0x0000011cf88c #1 0x0000011bbc1a #2 0x000001e9a6b6 [1665:0402/181857.627309:FATAL:bus.cc(1197)] D-Bus connection was disconnected. Aborting. #0 0x0000011cf88c #1 0x0000011bbc1a #2 0x000001e9a6b6
-
@dikkedimi said in Nothing showing but app is running:
updated today and now I have a similar issue. App is running but the screen is black. Ran apt-get update & apt-get upgrade in the hopes it would fix itself, but nope :)
pi@jarvis:~ $ pm2 log [TAILING] Tailing last 15 lines for [all] processes (change the value with --lines option) /home/pi/.pm2/pm2.log last 15 lines: PM2 | 2017-04-02 18:19:27: PM2 PID file : /home/pi/.pm2/pm2.pid PM2 | 2017-04-02 18:19:27: RPC socket file : /home/pi/.pm2/rpc.sock PM2 | 2017-04-02 18:19:27: BUS socket file : /home/pi/.pm2/pub.sock PM2 | 2017-04-02 18:19:27: Application log path : /home/pi/.pm2/logs PM2 | 2017-04-02 18:19:27: Process dump file : /home/pi/.pm2/dump.pm2 PM2 | 2017-04-02 18:19:27: Concurrent actions : 2 PM2 | 2017-04-02 18:19:27: SIGTERM timeout : 1600 PM2 | 2017-04-02 18:19:27: =============================================================================== PM2 | 2017-04-02 18:19:27: Starting execution sequence in -fork mode- for app name:mm id:0 PM2 | 2017-04-02 18:19:27: App name:mm id:0 online PM2 | 2017-04-02 18:21:20: Stopping app:mm id:0 PM2 | 2017-04-02 18:21:20: App [mm] with id [0] and pid [1474], exited with code [0] via signal [SIGINT] PM2 | 2017-04-02 18:21:20: pid=1474 msg=process killed PM2 | 2017-04-02 18:26:49: Starting execution sequence in -fork mode- for app name:mm id:0 PM2 | 2017-04-02 18:26:49: App name:mm id:0 online /home/pi/.pm2/logs/mm-error-0.log last 15 lines: 0|mm | 0|mm | 0|mm | error: cannot open .git/FETCH_HEAD: Permission denied 0|mm | 0|mm | 0|mm | [29012:0402/175739.310033:FATAL:bus.cc(1197)] D-Bus connection was disconnected. Aborting. 0|mm | #0 0x0000011cf88c 0|mm | #1 0x0000011bbc1a 0|mm | #2 0x000001e9a6b6 0|mm | 0|mm | [1665:0402/181857.627309: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 | Initializing new module helper ... 0|mm | Module helper loaded: calendar 0|mm | No helper found for module: currentweather. 0|mm | No helper found for module: airquality. 0|mm | No helper found for module: weatherforecast. 0|mm | No helper found for module: MMM-Hue. 0|mm | All module helpers loaded. 0|mm | Starting server on port 8666 ... 0|mm | Starting server op port 8666 ... 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 | Sockets connected & modules started ... 0|mm | Launching application. [STREAMING] Now streaming realtime logs for [all] processes pi@jarvis:~ $ tail -f /home/pi/.pm2/logs/mm-error-0.log [29012:0402/175739.310033:FATAL:bus.cc(1197)] D-Bus connection was disconnected. Aborting. #0 0x0000011cf88c #1 0x0000011bbc1a #2 0x000001e9a6b6 [1665:0402/181857.627309:FATAL:bus.cc(1197)] D-Bus connection was disconnected. Aborting. #0 0x0000011cf88c #1 0x0000011bbc1a #2 0x000001e9a6b6
I have the same problem as you. I run the server on a pi zero and the the display is on a pi3 on the same network. It loads fine without any erros on the pi zero but when I go to the website I only get a black screen.
-
-
@Fix-Not-Found I’ve got everything on a pi3 now not sure how I fixed this back then.
-
@Fix-Not-Found said in Nothing showing but app is running:
having this issue for a school project right now. Did you two ever have any sucess fixing it?
Are there any errors being reported in your terminal or dev console? If so, post them here
-
@Fix-Not-Found I did not. But after formating and reinstalling it worked just fine. No idea what the problem was!
-
All’s well that ends well.