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.

    Blank screen after a couple of hours

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    19 Posts 2 Posters 3.3k 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.
    • S Offline
      sdetweil @bradley1982
      last edited by

      @bradley1982 yes, you can empty the current (old) collection of log messages by

      pm2 flush

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      B 1 Reply Last reply Reply Quote 0
      • B Offline
        bradley1982 @sdetweil
        last edited by

        @sdetweil got this initially when i ran it … (pm2 log)

        /home/bradley/.pm2/logs/MagicMirror-error.log last 15 lines:
        0|MagicMir | [12.04.2024 18:49.13.303] [ERROR] Moment Timezone has no data for GMT+0100. See http://momentjs.com/timezone/docs/#/data-loading/.
        0|MagicMir | [12.04.2024 18:49.18.690] [ERROR] Moment Timezone has no data for GMT+0100. See http://momentjs.com/timezone/docs/#/data-loading/.
        0|MagicMir | [12.04.2024 18:49.18.691] [ERROR] Moment Timezone has no data for GMT+0100. See http://momentjs.com/timezone/docs/#/data-loading/.
        0|MagicMir | [12.04.2024 18:49.18.692] [ERROR] Moment Timezone has no data for GMT+0100. See http://momentjs.com/timezone/docs/#/data-loading/.
        0|MagicMir | [12.04.2024 18:49.18.843] [ERROR] Moment Timezone has no data for GMT-0400. See http://momentjs.com/timezone/docs/#/data-loading/.
        0|MagicMir | [12.04.2024 18:49.18.868] [ERROR] Moment Timezone has no data for GMT-0400. See http://momentjs.com/timezone/docs/#/data-loading/.
        0|MagicMir | [12.04.2024 18:49.18.890] [ERROR] Moment Timezone has no data for GMT-0400. See http://momentjs.com/timezone/docs/#/data-loading/.
        0|MagicMir | Warning: vkCreateInstance: Found no drivers!
        0|MagicMir | Warning: vkCreateInstance failed with VK_ERROR_INCOMPATIBLE_DRIVER
        0|MagicMir | at CheckVkSuccessImpl (…/…/third_party/dawn/src/dawn/native/vulkan/VulkanError.cpp:88)
        0|MagicMir | at CreateVkInstance (…/…/third_party/dawn/src/dawn/native/vulkan/BackendVk.cpp:458)
        0|MagicMir | at Initialize (…/…/third_party/dawn/src/dawn/native/vulkan/BackendVk.cpp:344)
        0|MagicMir | at Create (…/…/third_party/dawn/src/dawn/native/vulkan/BackendVk.cpp:266)
        0|MagicMir | at operator() (…/…/third_party/dawn/src/dawn/native/vulkan/BackendVk.cpp:521)
        0|MagicMir |

        many thanks

        paul

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

          @bradley1982 those are garbage error messages from electron. which we cant suppress. ignore them

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          B 1 Reply Last reply Reply Quote 0
          • B Offline
            bradley1982 @sdetweil
            last edited by

            @sdetweil Hi Sam,

            got the following after running the log on the blank screen?

            bradley@raspberrypi:~/MagicMirror $ pm2 logs --lines=xxxx
            [TAILING] Tailing last 15 lines for [all] processes (change the value with --lines option)
            /home/bradley/.pm2/pm2.log last 15 lines:
            PM2 | 2024-04-13T13:59:13: PM2 log: pid=917 msg=failed to kill - retrying in 100ms
            PM2 | 2024-04-13T13:59:13: PM2 log: pid=917 msg=failed to kill - retrying in 100ms
            PM2 | 2024-04-13T13:59:14: PM2 log: pid=917 msg=failed to kill - retrying in 100ms
            PM2 | 2024-04-13T13:59:14: PM2 log: pid=917 msg=failed to kill - retrying in 100ms
            PM2 | 2024-04-13T13:59:14: PM2 log: pid=917 msg=failed to kill - retrying in 100ms
            PM2 | 2024-04-13T13:59:14: PM2 log: pid=917 msg=failed to kill - retrying in 100ms
            PM2 | 2024-04-13T13:59:14: PM2 log: pid=917 msg=failed to kill - retrying in 100ms
            PM2 | 2024-04-13T13:59:14: PM2 log: pid=917 msg=failed to kill - retrying in 100ms
            PM2 | 2024-04-13T13:59:14: PM2 log: pid=917 msg=failed to kill - retrying in 100ms
            PM2 | 2024-04-13T13:59:14: PM2 log: pid=917 msg=failed to kill - retrying in 100ms
            PM2 | 2024-04-13T13:59:14: PM2 log: App [MagicMirror:0] exited with code [0] via signal [SIGINT]
            PM2 | 2024-04-13T13:59:14: PM2 log: Process with pid 917 still alive after 1600ms, sending it SIGKILL now…
            PM2 | 2024-04-13T13:59:15: PM2 log: pid=917 msg=process killed
            PM2 | 2024-04-13T13:59:15: PM2 log: App [MagicMirror:0] starting in -fork mode-
            PM2 | 2024-04-13T13:59:15: PM2 log: App [MagicMirror:0] online

            /home/bradley/.pm2/logs/MagicMirror-error.log last 15 lines:
            0|MagicMir | [13.04.2024 23:04.55.592] [ERROR] Moment Timezone has no data for GMT+0100. See http://momentjs.com/timezone/docs/#/data-loading/.
            0|MagicMir | [13.04.2024 23:04.55.593] [ERROR] Moment Timezone has no data for GMT+0100. See http://momentjs.com/timezone/docs/#/data-loading/.
            0|MagicMir | [13.04.2024 23:04.55.594] [ERROR] Moment Timezone has no data for GMT+0100. See http://momentjs.com/timezone/docs/#/data-loading/.
            0|MagicMir | [13.04.2024 23:04.55.653] [ERROR] Moment Timezone has no data for GMT+0100. See http://momentjs.com/timezone/docs/#/data-loading/.
            0|MagicMir | [13.04.2024 23:04.55.654] [ERROR] Moment Timezone has no data for GMT+0100. See http://momentjs.com/timezone/docs/#/data-loading/.
            0|MagicMir | [13.04.2024 23:04.55.656] [ERROR] Moment Timezone has no data for GMT+0100. See http://momentjs.com/timezone/docs/#/data-loading/.
            0|MagicMir | [13.04.2024 23:04.56.595] [ERROR] Moment Timezone has no data for GMT+0100. See http://momentjs.com/timezone/docs/#/data-loading/.
            0|MagicMir | [13.04.2024 23:04.56.596] [ERROR] Moment Timezone has no data for GMT+0100. See http://momentjs.com/timezone/docs/#/data-loading/.
            0|MagicMir | [13.04.2024 23:04.56.597] [ERROR] Moment Timezone has no data for GMT+0100. See http://momentjs.com/timezone/docs/#/data-loading/.
            0|MagicMir | [13.04.2024 23:04.57.548] [ERROR] Moment Timezone has no data for GMT+0100. See http://momentjs.com/timezone/docs/#/data-loading/.
            0|MagicMir | [13.04.2024 23:04.57.548] [ERROR] Moment Timezone has no data for GMT+0100. See http://momentjs.com/timezone/docs/#/data-loading/.
            0|MagicMir | [13.04.2024 23:04.57.549] [ERROR] Moment Timezone has no data for GMT+0100. See http://momentjs.com/timezone/docs/#/data-loading/.
            0|MagicMir | [13.04.2024 23:04.57.577] [ERROR] Moment Timezone has no data for GMT-0400. See http://momentjs.com/timezone/docs/#/data-loading/.
            0|MagicMir | [13.04.2024 23:04.57.577] [ERROR] Moment Timezone has no data for GMT-0400. See http://momentjs.com/timezone/docs/#/data-loading/.
            0|MagicMir | [13.04.2024 23:04.57.579] [ERROR] Moment Timezone has no data for GMT-0400. See http://momentjs.com/timezone/docs/#/data-loading/.

            /home/bradley/.pm2/logs/MagicMirror-out.log last 15 lines:
            0|MagicMir | [13.04.2024 23:04.47.569] [LOG]

            no idea what this means? can still see it working ok on remote control but the screen is blank?

            many thanks in advance

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

              @bradley1982 can you do it another way

              pm2 stop all
              cd ~/MagicMirror
              npm start >somfile.txt 2>&1

              when the black screen happens, ctrl-c on the command window with the npm start in it

              ctrl-q might work on the MM black screen but maybe not

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              B 1 Reply Last reply Reply Quote 0
              • B Offline
                bradley1982 @sdetweil
                last edited by

                @sdetweil Hi Sam

                Nothing seems to happen when i do the control c however when i do the control q on the blank screen on the MM it bring me back to the config file and the terminal window.

                bradley@raspberrypi:~ $ pm2 stop all
                cd ~/MagicMirror
                npm start >somfile.txt 2>&1
                [PM2] Applying action stopProcessId on app [all](ids: [ 0 ])
                [PM2] MagicMirror ✓
                ┌────┬────────────────────┬──────────┬──────┬───────────┬──────────┬──────────┐
                │ id │ name │ mode │ ↺ │ status │ cpu │ memory │
                ├────┼────────────────────┼──────────┼──────┼───────────┼──────────┼──────────┤
                │ 0 │ MagicMirror │ fork │ 1 │ stopped │ 0% │ 0b │
                └────┴────────────────────┴──────────┴──────┴───────────┴──────────┴──────────┘
                bradley@raspberrypi:~/MagicMirror $ ^C

                not really sure what i am looking at here or what to do next?

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

                  @bradley1982 and look inside somfile.txt
                  nano somfile.txt

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  B 1 Reply Last reply Reply Quote 0
                  • B Offline
                    bradley1982 @sdetweil
                    last edited by

                    @sdetweil
                    hi Sam,

                    had a look an looked for errors?

                    15.04.2024 12:15.14.424] [INFO] Newsfeed-Fetcher: Broadcasting 26 items.
                    [15.04.2024 12:20.19.728] [ERROR] Newsfeed Error. Could not fetch newsfeed: https://rss.nytimes.com/services/xml/rss/nyt/HomePage.xml >
                    at NodeHelper.checkFetchStatus (/home/bradley/MagicMirror/js/node_helper.js:116:9)
                    at processTicksAndRejections (node:internal/process/task_queues:95:5)

                    THEN FURTHER DOWN -

                    [16.04.2024 07:02.24.761] [INFO] Newsfeed-Fetcher: Broadcasting 26 items.
                    [16.04.2024 07:04.26.190] [ERROR] ERROR! Could not validate main module js file.
                    [16.04.2024 07:04.26.205] [ERROR] ReferenceError: defaults is not defined
                    at Object. (/home/bradley/MagicMirror/modules/MMM-OpenWeatherMapForecast/MMM-OpenWeatherMapForecast.js:80:22)
                    at Module._compile (node:internal/modules/cjs/loader:1271:14)
                    at Object…js (node:internal/modules/cjs/loader:1326:10)
                    at Module.load (/home/bradley/MagicMirror/modules/MMM-MyScoreboard/node_modules/coffee-script/lib/coffee-script/register.js:45:36)
                    at node:internal/modules/cjs/loader:967:12
                    at Function._load (node:electron/js2c/node_init:2:13357)
                    at Module.require (node:internal/modules/cjs/loader:1150:19)
                    at require (node:internal/modules/cjs/helpers:121:18)
                    at Class.loadModuleDefaultConfig (/home/bradley/MagicMirror/modules/MMM-Remote-Control/node_helper.js:314:30)
                    at /home/bradley/MagicMirror/modules/MMM-Remote-Control/node_helper.js:268:26
                    at FSReqCallback.oncomplete (node:fs:211:5)

                    [16.04.2024 07:07.25.459] [INFO] Newsfeed-Fetcher: Broadcasting 26 items.
                    [16.04.2024 07:10.18.538] [INFO] Update found for module: MMM-NewsFeedTicker
                    [16.04.2024 07:12.26.448] [INFO] Newsfeed-Fetcher: Broadcasting 26 items.
                    [16.04.2024 07:17.27.421] [INFO] Newsfeed-Fetcher: Broadcasting 26 items.
                    [16.04.2024 07:20.27.894] [INFO] Update found for module: MMM-NewsFeedTicker
                    [16.04.2024 07:22.28.492] [INFO] Newsfeed-Fetcher: Broadcasting 26 items.
                    [16.04.2024 07:27.29.185] [INFO] Newsfeed-Fetcher: Broadcasting 26 items.
                    [16.04.2024 07:30.37.179] [INFO] Update found for module: MMM-NewsFeedTicker
                    [16.04.2024 07:32.30.111] [INFO] Newsfeed-Fetcher: Broadcasting 26 items.
                    [16.04.2024 07:37.31.062] [INFO] Newsfeed-Fetcher: Broadcasting 26 items.
                    [16.04.2024 07:40.46.440] [INFO] Update found for module: MMM-NewsFeedTicker
                    [16.04.2024 07:42.32.012] [INFO] Newsfeed-Fetcher: Broadcasting 26 items.
                    [16.04.2024 07:47.32.954] [INFO] Newsfeed-Fetcher: Broadcasting 26 items.
                    [16.04.2024 07:50.55.991] [INFO] Update found for module: MMM-NewsFeedTicker
                    [16.04.2024 07:52.33.895] [INFO] Newsfeed-Fetcher: Broadcasting 27 items.
                    [16.04.2024 07:57.34.610] [INFO] Newsfeed-Fetcher: Broadcasting 27 items.
                    [16.04.2024 08:01.05.664] [INFO] Update found for module: MMM-NewsFeedTicker
                    [16.04.2024 08:02.35.562] [INFO] Newsfeed-Fetcher: Broadcasting 27 items.
                    [16.04.2024 08:07.36.271] [INFO] Newsfeed-Fetcher: Broadcasting 27 items.
                    [16.04.2024 08:11.14.999] [INFO] Update found for module: MMM-NewsFeedTicker
                    [16.04.2024 08:12.37.239] [INFO] Newsfeed-Fetcher: Broadcasting 27 items.
                    [16.04.2024 08:17.38.199] [INFO] Newsfeed-Fetcher: Broadcasting 27 items.
                    [16.04.2024 08:19.26.192] [LOG] Shutting down server…
                    [16.04.2024 08:19.26.196] [LOG] Stopping module helper: updatenotification
                    [16.04.2024 08:19.26.197] [LOG] Stopping module helper: calendar
                    [16.04.2024 08:19.26.199] [LOG] Stopping module helper: MMM-OpenWeatherMapForecast
                    [16.04.2024 08:19.26.199] [LOG] Stopping module helper: MMM-MyScoreboard
                    [16.04.2024 08:19.26.201] [LOG] Stopping module helper: MMM-Todoist

                    IF EASIER CAN SENT THE FULL REPORT.

                    thanks so much for your help

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

                      @bradley1982 said in Blank screen after a couple of hours:

                      [15.04.2024 12:20.19.728] [ERROR] Newsfeed Error. Could not fetch newsfeed: https://rss.nytimes.com/services/xml/rss/nyt/HomePage.xml >
                      at NodeHelper.checkFetchStatus (/home/bradley/MagicMirror/js/node_helper.js:116:9)
                      at processTicksAndRejections (node:internal/process/task_queues:95:5)

                      this is probably the killer… network error, and not enough error recovery
                      sadly there is no fix for this

                      @bradley1982 said in Blank screen after a couple of hours:

                      [16.04.2024 07:04.26.190] [ERROR] ERROR! Could not validate main module js file.
                      [16.04.2024 07:04.26.205] [ERROR] ReferenceError: defaults is not defined
                      at Object. (/home/bradley/MagicMirror/modules/MMM-OpenWeatherMapForecast/MMM-OpenWeatherMapForecast.js:80:22)

                      this one is a module problem that should be reported on the module.

                      Sam

                      How to add modules

                      learning how to use browser developers window for css changes

                      B S 2 Replies Last reply Reply Quote 0
                      • B Offline
                        bradley1982 @sdetweil
                        last edited by

                        @sdetweil oh ok. thanks for your help.

                        any recommendation what to do?

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