MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.

    Nothing showing but app is running

    Scheduled Pinned Locked Moved Troubleshooting
    16 Posts 6 Posters 9.1k Views 6 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • M Offline
      mortenbirkelund
      last edited by

      Have you saved the current state of the PM2?

      Run

      pm2 start mm.sh
      pm2 save
      sudo reboot
      
      F 1 Reply Last reply Reply Quote 0
      • F Offline
        fiskaren @mortenbirkelund
        last edited by

        @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?

        M 1 Reply Last reply Reply Quote 0
        • M Offline
          mortenbirkelund @fiskaren
          last edited by

          @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.

          1 Reply Last reply Reply Quote 0
          • D Offline
            dikkedimi
            last edited by

            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 
            
            D 1 Reply Last reply Reply Quote 0
            • D Offline
              d3r @dikkedimi
              last edited by

              @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.

              F 1 Reply Last reply Reply Quote 0
              • F Offline
                Fix Not Found @d3r
                last edited by Fix Not Found

                @d3r @fiskaren having this issue for a school project right now. Did you two ever have any sucess fixing it?

                D Mykle1M F 3 Replies Last reply Reply Quote 0
                • D Offline
                  d3r @Fix Not Found
                  last edited by

                  @Fix-Not-Found I’ve got everything on a pi3 now not sure how I fixed this back then.

                  1 Reply Last reply Reply Quote 0
                  • Mykle1M Offline
                    Mykle1 Project Sponsor Module Developer @Fix Not Found
                    last edited by

                    @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

                    Create a working config
                    How to add modules

                    1 Reply Last reply Reply Quote 0
                    • F Offline
                      fiskaren @Fix Not Found
                      last edited by

                      @Fix-Not-Found I did not. But after formating and reinstalling it worked just fine. No idea what the problem was!

                      Mykle1M F 2 Replies Last reply Reply Quote 0
                      • Mykle1M Offline
                        Mykle1 Project Sponsor Module Developer @fiskaren
                        last edited by

                        @fiskaren

                        All’s well that ends well.

                        Create a working config
                        How to add modules

                        1 Reply Last reply Reply Quote 0
                        • 1
                        • 2
                        • 1 / 2
                        • First post
                          Last post
                        Enjoying MagicMirror? Please consider a donation!
                        MagicMirror created by Michael Teeuw.
                        Forum managed by Sam, technical setup by Karsten.
                        This forum is using NodeBB as its core | Contributors
                        Contact | Privacy Policy