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.

    Black screen (only with cursor visible) when waking mirror with MMM-PIR-Sensor after long sleep periods

    Scheduled Pinned Locked Moved Troubleshooting
    17 Posts 3 Posters 3.5k Views 3 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
      Matthew @sdetweil
      last edited by

      @sdetweil Thank you! I got the error again today, and this is what the logs said.

      magicmirror@2.12.0 start /home/pi/MagicMirror
      DISPLAY=“${DISPLAY:=:0}” ./node_modules/.bin/electron js/electron.js

      [2020-08-15 17:22:12.919] [LOG] Starting MagicMirror: v2.12.0
      [2020-08-15 17:22:12.936] [LOG] Loading config …
      [2020-08-15 17:22:12.946] [LOG] Loading module helpers …
      [2020-08-15 17:22:13.105] [LOG] Initializing new module helper …
      [2020-08-15 17:22:13.108] [LOG] Module helper loaded: MMM-Logging
      [2020-08-15 17:22:13.110] [LOG] No helper found for module: alert.
      [2020-08-15 17:22:13.112] [LOG] No helper found for module: clock.
      [2020-08-15 17:22:13.113] [LOG] No helper found for module: currentweather.
      [2020-08-15 17:22:13.113] [LOG] No helper found for module: weatherforecast.
      [2020-08-15 17:22:13.918] [LOG] Initializing new module helper …
      [2020-08-15 17:22:13.919] [LOG] Module helper loaded: newsfeed
      [2020-08-15 17:22:13.925] [LOG] Initializing new module helper …
      [2020-08-15 17:22:13.926] [LOG] Module helper loaded: MMM-Wallpaper
      [2020-08-15 17:22:13.975] [LOG] Initializing new module helper …
      [2020-08-15 17:22:13.976] [LOG] Module helper loaded: MMM-MyWastePickup
      [2020-08-15 17:22:13.976] [LOG] No helper found for module: calendar_monthly.
      [2020-08-15 17:22:14.046] [LOG] Initializing new module helper …
      [2020-08-15 17:22:14.047] [LOG] Module helper loaded: MMM-MyCalendar
      [2020-08-15 17:22:14.098] [LOG] Initializing new module helper …
      [2020-08-15 17:22:14.099] [LOG] Module helper loaded: MMM-PIR-Sensor
      [2020-08-15 17:22:14.100] [LOG] All module helpers loaded.
      [2020-08-15 17:22:14.394] [LOG] Starting server on port 8080 …
      [2020-08-15 17:22:14.420] [LOG] Server started …
      [2020-08-15 17:22:14.422] [LOG] Connecting socket for: MMM-Logging
      [2020-08-15 17:22:14.433] [LOG] 2020-08-15T17:22:14 Module helper started for MMM-Logging (/home/pi/MagicMirror/modules/MMM-Logging/node_helper.js:19 Class.start)
      [2020-08-15 17:22:14.435] [LOG] Connecting socket for: newsfeed
      [2020-08-15 17:22:14.436] [LOG] Starting node helper for: newsfeed
      [2020-08-15 17:22:14.438] [LOG] Connecting socket for: MMM-Wallpaper
      [2020-08-15 17:22:14.441] [LOG] 2020-08-15T17:22:14 Starting node helper for: MMM-Wallpaper (/home/pi/MagicMirror/modules/MMM-Wallpaper/node_helper.js:33 Class.start)
      [2020-08-15 17:22:14.447] [LOG] Connecting socket for: MMM-MyWastePickup
      [2020-08-15 17:22:14.449] [LOG] 2020-08-15T17:22:14 Starting node_helper for module: MMM-MyWastePickup (/home/pi/MagicMirror/modules/MMM-MyWastePickup/node_helper.js:10 Class.start)
      [2020-08-15 17:22:14.450] [LOG] Connecting socket for: MMM-MyCalendar
      [2020-08-15 17:22:14.452] [LOG] 2020-08-15T17:22:14 Starting node helper for: MMM-MyCalendar (/home/pi/MagicMirror/modules/MMM-MyCalendar/node_helper.js:19 Class.start)
      [2020-08-15 17:22:14.453] [LOG] Connecting socket for: MMM-PIR-Sensor
      [2020-08-15 17:22:14.453] [LOG] Sockets connected & modules started …
      Fontconfig warning: “/etc/fonts/fonts.conf”, line 100: unknown element “blank”
      [2020-08-15 17:22:14.665] [ERROR] Whoops! There was an uncaught exception…
      [2020-08-15 17:22:14.668] [ERROR] Error: listen EADDRINUSE: address already in use 127.0.0.1:8080
      at Server.setupListenHandle [as _listen2] (net.js:1226:14)
      at listenInCluster (net.js:1274:12)
      at GetAddrInfoReqWrap.doListen [as callback] (net.js:1413:7)
      at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:65:10) {
      code: ‘EADDRINUSE’,
      errno: ‘EADDRINUSE’,
      syscall: ‘listen’,
      address: ‘127.0.0.1’,
      port: 8080
      }
      [2020-08-15 17:22:14.682] [ERROR] MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
      [2020-08-15 17:22:14.683] [ERROR] If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues
      [2020-08-15 17:22:14.717] [LOG] Launching application.
      ATTENTION: default value of option force_s3tc_enable overridden by environment.
      [2020-08-15 17:22:43.588] [LOG] Shutting down server…

      S 1 Reply Last reply Reply Quote 0
      • S Offline
        sdetweil @Matthew
        last edited by

        @Matthew >[2020-08-15 17:22:14.668] [ERROR] Error: listen EADDRINUSE: address already in use 127.0.0.1:8080
        that happened on the 15th within 2 seconds of starting…

        is that the right log?

        that says something is already running … do you normally use pm2 to launch MM?

        do pm2 status

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        M 2 Replies Last reply Reply Quote 0
        • M Offline
          Matthew @sdetweil
          last edited by

          This post is deleted!
          1 Reply Last reply Reply Quote 0
          • M Offline
            Matthew @sdetweil
            last edited by

            @sdetweil its been a while since I set all of this up, but pm2 is the auto launch right? If so then yeah it always launches automatically

            S 1 Reply Last reply Reply Quote 0
            • S Offline
              sdetweil @Matthew
              last edited by

              @Matthew so, you can’t use it with the npm start…

              as I said in the prior post, if you use pm2, then restart mm after adding the logging module (pm2 restart 0) and then see the logs with pm2 logs

              pm2 logs --lines=100
              

              or u can direct edit the logs in ~/.pm2/logs

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              M 1 Reply Last reply Reply Quote 0
              • M Offline
                Matthew @sdetweil
                last edited by

                @sdetweil

                Im trying to reply with the logs, but it’s getting flagged as spam

                S 1 Reply Last reply Reply Quote 0
                • S Offline
                  sdetweil @Matthew
                  last edited by sdetweil

                  @Matthew u can mail them to me. same user ID on gmail

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  M 1 Reply Last reply Reply Quote 0
                  • M Offline
                    Matthew @sdetweil
                    last edited by

                    @sdetweil

                    sent! Thanks again!

                    S 1 Reply Last reply Reply Quote 0
                    • S Offline
                      sdetweil @Matthew
                      last edited by

                      @Matthew replied

                      Sam

                      How to add modules

                      learning how to use browser developers window for css changes

                      M 1 Reply Last reply Reply Quote 0
                      • M Offline
                        Matthew @sdetweil
                        last edited by

                        @sdetweil

                        Thanks! I must have lost that file somewhere. Ill get that added and see if I still have that problem.

                        1 Reply Last reply Reply Quote 0

                        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                        With your input, this post could be even better 💗

                        Register Login
                        • 1 / 1
                        • 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