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.

    Magic Mirror Blanks Several Hours

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    29 Posts 12 Posters 10.8k Views 12 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
      StrIIker
      last edited by

      Hello,

      I have a magic mirror and after a period of several hours, the screen goes black. The mouse still works as I can move it and see the cursor. Clicking the mouse does nothing nor does hitting random keys. I can hit Ctrl-Q to exit Magic Mirror and I get the desktop back. A few seconds later pm2 kicks in and reloads the magic mirror. I experience this when connecting via VNC as well as locally at the system (obvious but mentioning for thoroughness). I also disabled screen blanking and screensaver per the install instructions.

      This is a new install on a Pi3B. I would greatly appreciate advice on how to approach this. Thank you in advance!

      1 Reply Last reply Reply Quote 0
      • M Offline
        MadScientist
        last edited by

        I have the same problem. A Ctrl-R helped getting the modules back but I didn’t like doing it at least once a day. Therefore I created a cronjob that reloads the MagicMirror everyday at 6am. Haven’t seen a black screen since then.

        Not a fix but a work-around.

        1 Reply Last reply Reply Quote 0
        • S Offline
          StrIIker
          last edited by

          Ahh, that’s the issue! The modules must get stuck and no longer refresh. Has anyone else run into this issue and found a cause / solution? My issue crops up more often than once per day and I’d prefer to get a permanent fix for this. I don’t have any unusual modules loaded (actually it has been happening from day one while I have been slowly working on it so this has been happening with a fresh install).

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

            @striiker is this version 2.4.1?

            The update module was throwing an error causing the black screen.

            I would comment out that module

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            M S G 4 Replies Last reply Reply Quote 0
            • M Offline
              MadScientist @sdetweil
              last edited by

              @sdetweil
              That didn’t help in my case, hence the work-around with the cronjob. But it’s true that everybody should first try to disable the update module in their config.

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

                @sdetweil said in Magic Mirror Blanks Several Hours:

                @striiker is this version 2.4.1?

                The update module was throwing an error causing the black screen.

                I would comment out that module

                I am at the latest build (2.5.0) although I installed Magic Mirror from the previous version and have the update module running.

                1 Reply Last reply Reply Quote 0
                • S Offline
                  StrIIker @MadScientist
                  last edited by

                  @madscientist said in Magic Mirror Blanks Several Hours:

                  @sdetweil
                  That didn’t help in my case, hence the work-around with the cronjob. But it’s true that everybody should first try to disable the update module in their config.

                  I was unaware of the suggestion to kill the update module. I have removed it from my config and will monitor the status. Thank you for the suggestion (and @sdetweil )! Any other best practice suggestions which I should consider? I have just done the base install and modified weather icons / details and also installed Alexapi (yet to work on that module as I am still trying to understand if I should also install either MMM-Alexa or MMM-Awesome-Alexa too as I am not clear on how these all work).

                  1 Reply Last reply Reply Quote 0
                  • S Offline
                    StrIIker @MadScientist
                    last edited by

                    @madscientist Could you please share what you use in your cronjob to reload the modules? Thanks!

                    M 1 Reply Last reply Reply Quote 0
                    • M Offline
                      MadScientist @StrIIker
                      last edited by MadScientist

                      @striiker 0 6 * * * pm2 reload mm
                      It reloads my mm.sh script every day at 6am. Working perfectly fine for quite some time now.

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

                        @sdetweil said in Magic Mirror Blanks Several Hours:

                        @striiker is this version 2.4.1?

                        The update module was throwing an error causing the black screen.

                        I would comment out that module

                        I’m in the same boat as @MadScientist in that my module rotation still dies necessitating a restart of the modules. Canceling the update check did improve the situation in that it apparently does not crash out as often.

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