• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
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.

MMM-Remote-Control Black Screen Help

Scheduled Pinned Locked Moved Solved Troubleshooting
11 Posts 2 Posters 1.5k Views 2 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
    mikelewis1971 @sdetweil
    last edited by Jun 19, 2022, 4:00 PM

    @sdetweil I tried that a bunch of times and it didn’t fix the problem

    1 Reply Last reply Reply Quote 0
    • M Offline
      mikelewis1971 @sdetweil
      last edited by Jun 19, 2022, 4:04 PM

      @sdetweil 77bc6a6e-8137-4872-975d-1bf84cb1024f-image.png

      1 Reply Last reply Reply Quote 0
      • M Offline
        mikelewis1971 @mikelewis1971
        last edited by Jun 19, 2022, 4:07 PM

        @mikelewis1971 also tried --> chmod -R 777 MMM-Remote-Control/
        Have no idea what that would do but the poster said it had something to do with a security issue… didn’t fix

        1 Reply Last reply Reply Quote 0
        • M Offline
          mikelewis1971 @sdetweil
          last edited by Jun 19, 2022, 4:22 PM

          @sdetweil
          This is the output after I run the log…

          logs --lines=50
          [TAILING] Tailing last 50 lines for [all] processes (change the value with --lines option)
          /home/pi/.pm2/pm2.log last 50 lines:
          PM2 | 2022-06-19T11:43:47: PM2 log: App [MagicMirror:0] online
          PM2 | 2022-06-19T11:43:59: PM2 log: Stopping app:MagicMirror id:0
          PM2 | 2022-06-19T11:43:59: PM2 log: App [MagicMirror:0] exited with code [0] via signal [SIGINT]
          PM2 | 2022-06-19T11:43:59: PM2 log: pid=1573 msg=process killed
          PM2 | 2022-06-19T11:43:59: PM2 log: App [MagicMirror:0] starting in -fork mode-
          PM2 | 2022-06-19T11:43:59: PM2 log: App [MagicMirror:0] online
          PM2 | 2022-06-19T11:59:01: PM2 log: Change detected on path config/config.js for app MagicMirror - restarting
          PM2 | 2022-06-19T11:59:01: PM2 log: Stopping app:MagicMirror id:0
          PM2 | 2022-06-19T11:59:02: PM2 log: pid=1639 msg=failed to kill - retrying in 100ms
          PM2 | 2022-06-19T11:59:02: PM2 log: App [MagicMirror:0] exited with code [0] via signal [SIGINT]
          PM2 | 2022-06-19T11:59:02: PM2 log: pid=1639 msg=process killed
          PM2 | 2022-06-19T11:59:02: PM2 log: App [MagicMirror:0] starting in -fork mode-
          PM2 | 2022-06-19T11:59:02: PM2 log: App [MagicMirror:0] online
          PM2 | 2022-06-19T11:59:19: PM2 log: Stopping app:MagicMirror id:0
          PM2 | 2022-06-19T11:59:20: PM2 log: pid=1830 msg=failed to kill - retrying in 100ms
          PM2 | 2022-06-19T11:59:20: PM2 log: App [MagicMirror:0] exited with code [0] via signal [SIGINT]
          PM2 | 2022-06-19T11:59:20: PM2 log: pid=1830 msg=process killed
          PM2 | 2022-06-19T11:59:20: PM2 log: App [MagicMirror:0] starting in -fork mode-
          PM2 | 2022-06-19T11:59:20: PM2 log: App [MagicMirror:0] online
          PM2 | 2022-06-19T12:02:55: PM2 log: Stopping app:MagicMirror id:0
          PM2 | 2022-06-19T12:02:55: PM2 log: pid=1950 msg=failed to kill - retrying in 100ms
          PM2 | 2022-06-19T12:02:55: PM2 log: App [MagicMirror:0] exited with code [0] via signal [SIGINT]
          PM2 | 2022-06-19T12:02:55: PM2 log: pid=1950 msg=process killed
          PM2 | 2022-06-19T12:02:55: PM2 log: App [MagicMirror:0] starting in -fork mode-
          PM2 | 2022-06-19T12:02:55: PM2 log: App [MagicMirror:0] online
          PM2 | 2022-06-19T12:10:36: PM2 log: Change detected on path config/config.js for app MagicMirror - restarting
          PM2 | 2022-06-19T12:10:36: PM2 log: Stopping app:MagicMirror id:0
          PM2 | 2022-06-19T12:10:36: PM2 log: pid=2088 msg=failed to kill - retrying in 100ms
          PM2 | 2022-06-19T12:10:36: PM2 log: App [MagicMirror:0] exited with code [0] via signal [SIGINT]
          PM2 | 2022-06-19T12:10:36: PM2 log: pid=2088 msg=process killed
          PM2 | 2022-06-19T12:10:36: PM2 log: App [MagicMirror:0] starting in -fork mode-
          PM2 | 2022-06-19T12:10:36: PM2 log: App [MagicMirror:0] online
          PM2 | 2022-06-19T12:10:50: PM2 log: Stopping app:MagicMirror id:0
          PM2 | 2022-06-19T12:10:51: PM2 log: pid=2221 msg=failed to kill - retrying in 100ms
          PM2 | 2022-06-19T12:10:51: PM2 log: App [MagicMirror:0] exited with code [0] via signal [SIGINT]
          PM2 | 2022-06-19T12:10:51: PM2 log: pid=2221 msg=process killed
          PM2 | 2022-06-19T12:10:51: PM2 log: App [MagicMirror:0] starting in -fork mode-
          PM2 | 2022-06-19T12:10:51: PM2 log: App [MagicMirror:0] online
          PM2 | 2022-06-19T12:12:47: PM2 log: Change detected on path config/config.js for app MagicMirror - restarting
          PM2 | 2022-06-19T12:12:47: PM2 log: Stopping app:MagicMirror id:0
          PM2 | 2022-06-19T12:12:47: PM2 log: pid=2308 msg=failed to kill - retrying in 100ms
          PM2 | 2022-06-19T12:12:47: PM2 log: App [MagicMirror:0] exited with code [0] via signal [SIGINT]
          PM2 | 2022-06-19T12:12:47: PM2 log: pid=2308 msg=process killed
          PM2 | 2022-06-19T12:12:47: PM2 log: App [MagicMirror:0] starting in -fork mode-
          PM2 | 2022-06-19T12:12:47: PM2 log: App [MagicMirror:0] online
          PM2 | 2022-06-19T12:12:58: PM2 log: Stopping app:MagicMirror id:0
          PM2 | 2022-06-19T12:12:59: PM2 log: App [MagicMirror:0] exited with code [0] via signal [SIGINT]
          PM2 | 2022-06-19T12:12:59: PM2 log: pid=2466 msg=process killed
          PM2 | 2022-06-19T12:12:59: PM2 log: App [MagicMirror:0] starting in -fork mode-
          PM2 | 2022-06-19T12:12:59: PM2 log: App [MagicMirror:0] online

          /home/pi/.pm2/logs/MagicMirror-error.log last 50 lines:
          0|MagicMir | - /home/pi/MagicMirror/js/electron.js
          0|MagicMir | - /home/pi/MagicMirror/node_modules/electron/dist/resources/default_app.asar/main.js
          0|MagicMir | -
          0|MagicMir | at Module._resolveFilename (internal/modules/cjs/loader.js:798:15)
          0|MagicMir | at Function…/lib/common/reset-search-paths.ts.Module._resolveFilename (electron/js2c/browser_init.js:7718:16)
          0|MagicMir | at Function.Module._resolveFilename (/home/pi/MagicMirror/node_modules/module-alias/index.js:49:29)
          0|MagicMir | at Module._load (internal/modules/cjs/loader.js:691:27)
          0|MagicMir | at Function.Module._load (electron/js2c/asar.js:748:26)
          0|MagicMir | at Module.require (internal/modules/cjs/loader.js:853:19)
          0|MagicMir | at require (internal/modules/cjs/helpers.js:74:18)
          0|MagicMir | at Object. (/home/pi/MagicMirror/modules/MMM-Remote-Control/scripts/download_modules.js:15:15)
          0|MagicMir | at Module._compile (internal/modules/cjs/loader.js:968:30)
          0|MagicMir | at Object.Module._extensions…js (internal/modules/cjs/loader.js:986:10) {
          0|MagicMir | code: ‘MODULE_NOT_FOUND’,
          0|MagicMir | requireStack: [
          0|MagicMir | ‘/home/pi/MagicMirror/modules/MMM-Remote-Control/scripts/download_modules.js’,
          0|MagicMir | ‘/home/pi/MagicMirror/modules/MMM-Remote-Control/node_helper.js’,
          0|MagicMir | ‘/home/pi/MagicMirror/js/app.js’,
          0|MagicMir | ‘/home/pi/MagicMirror/js/electron.js’,
          0|MagicMir | ‘/home/pi/MagicMirror/node_modules/electron/dist/resources/default_app.asar/main.js’,
          0|MagicMir | undefined
          0|MagicMir | ]
          0|MagicMir | }
          0|MagicMir | [19.06.2022 12:03.08.034] [ERROR] MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
          0|MagicMir | [19.06.2022 12:03.08.035] [ERROR] If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues
          0|MagicMir | [19.06.2022 12:03.08.052] [ERROR] Whoops! There was an uncaught exception…
          0|MagicMir | [19.06.2022 12:03.08.056] [ERROR] Error: listen EADDRINUSE: address already in use 0.0.0.0:8080
          0|MagicMir | at Server.setupListenHandle [as _listen2] (net.js:1300:14)
          0|MagicMir | at listenInCluster (net.js:1348:12)
          0|MagicMir | at doListen (net.js:1487:7)
          0|MagicMir | at processTicksAndRejections (internal/process/task_queues.js:81:21) {
          0|MagicMir | code: ‘EADDRINUSE’,
          0|MagicMir | errno: ‘EADDRINUSE’,
          0|MagicMir | syscall: ‘listen’,
          0|MagicMir | address: ‘0.0.0.0’,
          0|MagicMir | port: 8080
          0|MagicMir | }
          0|MagicMir | [19.06.2022 12:03.08.059] [ERROR] MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
          0|MagicMir | [19.06.2022 12:03.08.060] [ERROR] If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues
          0|MagicMir | [19.06.2022 12:03.08.527] [WARN] (electron) The default value of app.allowRendererProcessReuse is deprecated, it is currently “false”. It will change to be “true” in Electron 9. For more information please check https://github.com/electron/electron/issues/18397
          0|MagicMir | ./run-start.sh: line 41: [: too many arguments
          0|MagicMir | [19.06.2022 12:10.50.502] [WARN] You’re using a full whitelist configuration to allow for all IPs
          0|MagicMir | [19.06.2022 12:10.51.186] [WARN] (electron) The default value of app.allowRendererProcessReuse is deprecated, it is currently “false”. It will change to be “true” in Electron 9. For more information please check https://github.com/electron/electron/issues/18397
          0|MagicMir | ./run-start.sh: line 41: [: too many arguments
          0|MagicMir | [19.06.2022 12:11.03.205] [WARN] You’re using a full whitelist configuration to allow for all IPs
          0|MagicMir | [19.06.2022 12:11.03.865] [WARN] (electron) The default value of app.allowRendererProcessReuse is deprecated, it is currently “false”. It will change to be “true” in Electron 9. For more information please check https://github.com/electron/electron/issues/18397
          0|MagicMir | ./run-start.sh: line 41: [: too many arguments
          0|MagicMir | ./run-start.sh: line 41: [: too many arguments
          0|MagicMir | [19.06.2022 12:13.10.971] [WARN] You’re using a full whitelist configuration to allow for all IPs
          0|MagicMir | [19.06.2022 12:13.11.505] [WARN] (electron) The default value of app.allowRendererProcessReuse is deprecated, it is currently “false”. It will change to be “true” in Electron 9. For more information please check https://github.com/electron/electron/issues/18397

          /home/pi/.pm2/logs/MagicMirror-out.log last 50 lines:
          0|MagicMir | [19.06.2022 12:11.03.193] [LOG] Starting server on port 8080 …
          0|MagicMir | [19.06.2022 12:11.03.220] [LOG] Server started …
          0|MagicMir | [19.06.2022 12:11.03.223] [LOG] Connecting socket for: updatenotification
          0|MagicMir | [19.06.2022 12:11.03.226] [LOG] Connecting socket for: calendar
          0|MagicMir | [19.06.2022 12:11.03.228] [LOG] Starting node helper for: calendar
          0|MagicMir | [19.06.2022 12:11.03.230] [LOG] Connecting socket for: newsfeed
          0|MagicMir | [19.06.2022 12:11.03.232] [LOG] Starting node helper for: newsfeed
          0|MagicMir | [19.06.2022 12:11.03.234] [LOG] Sockets connected & modules started …
          0|MagicMir | [19.06.2022 12:11.03.772] [LOG] Launching application.
          0|MagicMir | [19.06.2022 12:11.07.802] [LOG] Create new calendar fetcher for url: http://www.calendarlabs.com/ical-calendar/ics/76/US_Holidays.ics - Interval: 300000
          0|MagicMir | [19.06.2022 12:11.07.856] [LOG] Create new news fetcher for url: https://rss.nytimes.com/services/xml/rss/nyt/HomePage.xml - Interval: 300000
          0|MagicMir | [19.06.2022 12:11.08.634] [INFO] Newsfeed-Fetcher: Broadcasting 32 items.
          0|MagicMir | [19.06.2022 12:11.08.890] [INFO] Calendar-Fetcher: Broadcasting 5 events.
          0|MagicMir |
          0|MagicMir | > magicmirror@2.14.0 start
          0|MagicMir | > ./run-start.sh $1
          0|MagicMir |
          0|MagicMir |
          0|MagicMir | > magicmirror@2.14.0 start
          0|MagicMir | > ./run-start.sh $1
          0|MagicMir |
          0|MagicMir | [19.06.2022 12:13.09.752] [LOG] Starting MagicMirror: v2.14.0
          0|MagicMir | [19.06.2022 12:13.09.760] [LOG] Loading config …
          0|MagicMir | [19.06.2022 12:13.09.772] [LOG] Loading module helpers …
          0|MagicMir | [19.06.2022 12:13.09.777] [LOG] No helper found for module: alert.
          0|MagicMir | [19.06.2022 12:13.10.045] [LOG] Initializing new module helper …
          0|MagicMir | [19.06.2022 12:13.10.048] [LOG] Module helper loaded: updatenotification
          0|MagicMir | [19.06.2022 12:13.10.052] [LOG] No helper found for module: clock.
          0|MagicMir | [19.06.2022 12:13.10.777] [LOG] Initializing new module helper …
          0|MagicMir | [19.06.2022 12:13.10.779] [LOG] Module helper loaded: calendar
          0|MagicMir | [19.06.2022 12:13.10.782] [LOG] No helper found for module: compliments.
          0|MagicMir | [19.06.2022 12:13.10.785] [LOG] No helper found for module: weather.
          0|MagicMir | [19.06.2022 12:13.10.825] [LOG] Initializing new module helper …
          0|MagicMir | [19.06.2022 12:13.10.827] [LOG] Module helper loaded: newsfeed
          0|MagicMir | [19.06.2022 12:13.10.829] [LOG] All module helpers loaded.
          0|MagicMir | [19.06.2022 12:13.10.959] [LOG] Starting server on port 8080 …
          0|MagicMir | [19.06.2022 12:13.10.982] [LOG] Server started …
          0|MagicMir | [19.06.2022 12:13.10.985] [LOG] Connecting socket for: updatenotification
          0|MagicMir | [19.06.2022 12:13.10.987] [LOG] Connecting socket for: calendar
          0|MagicMir | [19.06.2022 12:13.10.989] [LOG] Starting node helper for: calendar
          0|MagicMir | [19.06.2022 12:13.10.990] [LOG] Connecting socket for: newsfeed
          0|MagicMir | [19.06.2022 12:13.10.992] [LOG] Starting node helper for: newsfeed
          0|MagicMir | [19.06.2022 12:13.10.994] [LOG] Sockets connected & modules started …
          0|MagicMir | [19.06.2022 12:13.11.444] [LOG] Launching application.
          0|MagicMir | [19.06.2022 12:13.14.795] [LOG] Create new calendar fetcher for url: http://www.calendarlabs.com/ical-calendar/ics/76/US_Holidays.ics - Interval: 300000
          0|MagicMir | [19.06.2022 12:13.14.888] [LOG] Create new news fetcher for url: https://rss.nytimes.com/services/xml/rss/nyt/HomePage.xml - Interval: 300000
          0|MagicMir | [19.06.2022 12:13.15.673] [INFO] Newsfeed-Fetcher: Broadcasting 32 items.
          0|MagicMir | [19.06.2022 12:13.16.026] [INFO] Calendar-Fetcher: Broadcasting 5 events.
          0|MagicMir | [19.06.2022 12:18.16.451] [INFO] Newsfeed-Fetcher: Broadcasting 32 items.
          0|MagicMir | [19.06.2022 12:18.16.890] [INFO] Calendar-Fetcher: Broadcasting 5 events.

          S 1 Reply Last reply Jun 19, 2022, 5:00 PM Reply Quote 0
          • S Offline
            sdetweil @mikelewis1971
            last edited by Jun 19, 2022, 5:00 PM

            @mikelewis1971 said in MMM-Remote-Control Black Screen Help:

            MODULE_NOT_FOUND

            same problem

            did u do npm install in the module folder?

            message info u need is a little further up in the pm2 output

            pm2 logs --lines=100

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            M 1 Reply Last reply Jun 19, 2022, 5:06 PM Reply Quote 0
            • M Offline
              mikelewis1971 @sdetweil
              last edited by Jun 19, 2022, 5:06 PM

              @sdetweil Actually I just solved it by updating the installation…

              git pull && npm install --only=prod --omit=dev

              I had to:

              git reset --hard

              because I had made changes to the files and didn’t know how to commit them but after I did the pull and install and then readded the line in the config file it worked perfectly! Not exactly sure what the problem was but that did the trick :)

              S M 2 Replies Last reply Jun 19, 2022, 5:07 PM Reply Quote 0
              • S Offline
                sdetweil @mikelewis1971
                last edited by sdetweil Jun 19, 2022, 5:08 PM Jun 19, 2022, 5:07 PM

                @mikelewis1971 what installation?

                never change our files unless u know what you are doing… next mm update on July 1

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                1 Reply Last reply Reply Quote 0
                • M Offline
                  mikelewis1971 @mikelewis1971
                  last edited by Jun 19, 2022, 5:10 PM

                  @mikelewis1971 LOL… I’ve no idea… I just tried to update the files and it wouldn’t let me so I did that reset…

                  I’ve no idea what it’s doing so I can’t really explain but it’s working so YAY!
                  a7606cae-5b0c-4657-a021-7eaf53a62250-image.png

                  S 1 Reply Last reply Jun 19, 2022, 5:15 PM Reply Quote 0
                  • S Offline
                    sdetweil @mikelewis1971
                    last edited by sdetweil Jun 19, 2022, 5:29 PM Jun 19, 2022, 5:15 PM

                    @mikelewis1971 what folder were you in when u did the git pull?

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

                    1 Reply Last reply Reply Quote 0
                    • 1
                    • 2
                    • 1 / 2
                    1 / 2
                    • First post
                      7/11
                      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