Read the statement by Michael Teeuw here.
MMM-Remote-Control Black Screen Help
-
@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. -
@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
-
@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 :)
-
@mikelewis1971 what installation?
never change our files unless u know what you are doing… next mm update on July 1
-
@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!
-
@mikelewis1971 what folder were you in when u did the git pull?