• 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.

Mirror turning black after a while

Scheduled Pinned Locked Moved Troubleshooting
45 Posts 16 Posters 30.2k Views 15 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.
  • R Offline
    retroflex Project Sponsor Module Developer
    last edited by Jan 11, 2018, 9:27 AM

    I have a problem after the latest update (v 2.2.2). After a few hours (7h one day, 12h another day etc.) my mirror goes completely black. I can show the mirror from other devices though and I can access MMM-RemoteControl. If restarting MM, all modules reappear again, only to fail a few hours again.

    I have checked the logs (.pm2/logs/*.log) and nothing is reported about this.
    I’m running a pi3 with Jessie 8.0.
    The mirror has been running ok for several months before this and all previous updates have gone ok.

    My update procedure was this:

    1. MagicMirror/> git pull && npm install
    2. Got error “Electron failed to install correctly, please delete node_modules/electron and try installing again”
    3. Deleted electron folder.
    4. Updated npm (sudo npm install -g npm) just to make sure.
    5. MagicMirror/> npm install (electron was reinstalled).
    6. No errors while updating or running.

    I’m running these modules:

    • default/alert
    • default/updatenotification
    • default/clock
    • default/calendar
    • MMM-MyCommute
    • MMM-RemoteControl
    • MMM-SkolMaten (x2)
    • MMM-ResRobot

    Any ideas?

    M 1 Reply Last reply Jan 11, 2018, 12:05 PM Reply Quote 1
    • M Offline
      Mykle1 Project Sponsor Module Developer @retroflex
      last edited by Jan 11, 2018, 12:05 PM

      @retroflex

      Very odd. Does the display you are using have a status light? Sounds as if the display loses the video signal then fails to reacquire it. In which case, the status light would be yellow. Can you temporarily connect the display to another PC and to see if it exhibits the same behavior? A PIA, I know, but it would eliminate the possibility that the display is failing.

      Or, there are commands that you could try to force the display on (or off) to see how it responds. Those commands escape me right now but they are on this forum somewhere.

      Wish I could have been more help. Good luck.

      Create a working config
      How to add modules

      R 1 Reply Last reply Jan 11, 2018, 12:45 PM Reply Quote 0
      • R Offline
        retroflex Project Sponsor Module Developer @Mykle1
        last edited by Jan 11, 2018, 12:45 PM

        @Mykle1
        Thanks. I’m pretty sure the monitor is on, because if I connect a keyboard I can start a terminal and it doesn’t look like it has been down in sleep mode (should take longer time to wake). I’ve also tried to turn off/on screen with MMM-RemoteControl just to make sure, but no luck. I’ll double check the status light when the error occurs again.

        C 1 Reply Last reply Jan 11, 2018, 1:43 PM Reply Quote 0
        • C Offline
          Chris @retroflex
          last edited by Jan 11, 2018, 1:43 PM

          @retroflex
          Hello,
          I also encounter this problem episodically. Magic mirror works normally but no module appears on the screen a simple ctrl + R (reload) is enough to refresh and make reappear modules.
          Regards,

          R C 2 Replies Last reply Jan 11, 2018, 5:31 PM Reply Quote 0
          • R Offline
            retroflex Project Sponsor Module Developer @Chris
            last edited by Jan 11, 2018, 5:31 PM

            @Chris
            Did you have the same error on the old version or did it appear with the latest?

            1 Reply Last reply Reply Quote 0
            • D Offline
              doubleT Module Developer
              last edited by Jan 11, 2018, 5:51 PM

              Is there any kind of “sleep” mode on the system itself?
              The node log probably doesn’t detect what’s going on but maybe the console log would show (unfortunately, it’s reset when the browser window is refreshed). I’d start MM in dev mode and wait for the crash, then check the browser’s console log.

              R 1 Reply Last reply Jan 11, 2018, 7:49 PM Reply Quote 0
              • R Offline
                retroflex Project Sponsor Module Developer @doubleT
                last edited by Jan 11, 2018, 7:49 PM

                @doubleT Thanks for the tip! I will try dev mode and report back.

                1 Reply Last reply Reply Quote 0
                • C Offline
                  Chris @Chris
                  last edited by Jan 12, 2018, 5:56 AM

                  @retroflex said in Mirror turning black after a while:

                  @Chris
                  Did you have the same error on the old version or did it appear with the latest?

                  Hello,
                  it is true that this is happening since the last version.
                  I did not pay much attention to this because it was during an attempt to install a module that caused me a lot of trouble. I thought it was just that.
                  As I told you, it’s still very episodic, it must have been more than two days since it did not happen.

                  Regards,

                  1 Reply Last reply Reply Quote 0
                  • B Offline
                    bimalnair
                    last edited by Jan 18, 2018, 6:37 AM

                    Hello All, is this issue fixed? I still have this issue and I get back the screen only by ctrl + R. I am experiencing this issue only after the recent update.

                    R 1 Reply Last reply Jan 18, 2018, 8:48 AM Reply Quote 0
                    • R Offline
                      retroflex Project Sponsor Module Developer @bimalnair
                      last edited by retroflex Jan 18, 2018, 8:49 AM Jan 18, 2018, 8:48 AM

                      @bimalnair I haven’t done any more research. But now I have started in dev mode and will see if the console log says anything useful. But it usually takes some hours before my freezes, so I will know later today (hopefully).

                      Another test is to remove module by module to see if a certain module is causing problems. Or the opposite, start with only one module and see if it will freeze. Can you check which modules we share? Maybe we can narrow it down a bit.

                      1 Reply Last reply Reply Quote 0
                      • 1
                      • 2
                      • 3
                      • 4
                      • 5
                      • 1 / 5
                      1 / 5
                      • First post
                        6/45
                        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