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 how does magicmirror get started? pm2 at boot?

      if so , pm2 can do lots of things, from a terminal window do

      pm2 status
      pm2 stop all

      and then

      pm2 --help
      for a list of all the options available

      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,

        it auto lauches when the pi reset.

        it seems to work for a couple of hours/day and then i get the blank screen with the cursor. I can see it on the remote control app and look ok but the screen is blank.

        When i reset the pi it works ok for the same period… and the blank screen?

        is there a log that i can run to figure out what is causing it?
        again really new to all this and need an idiot guide lol

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

          @bradley1982 i assume you use pm2 to autostart.
          if so, then

          pm2 logs --lines=xxxx
          where xxxx is a number of lines to display from the latest part of the logs.
          xxxx defaults to 15

          there are only 500 places where one needs a guide. lol.

          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 lol!

            cool i have ran that, presume that i check this later and see if i get an error message form one of the modules?

            sorry for the stupid questions

            S 1 Reply Last reply Reply Quote 0
            • 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
                        • 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