MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord

    MM shuts down after an hour

    Bug Hunt
    3
    18
    809
    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.
    • L
      Lazershrimp last edited by

      Hi!

      This might be a stupid noob question and possibly in the wrong part of the forum, but I’m going nuts here. Until now, I’ve been running my MM every day, flawlessly for three years.

      I run MM on a dedicated RPi3B, through “Raspberry Pi OS with desktop”, now on version 5.15. Ever since the last upgrade of the MM software (2.22.0?), the MM stops running after an hour or so. Sometimes I get the black screen, sometimes it reverts to what looks like a login screen. On reboot, MM runs again. For an hour or so.

      To troubleshoot, I have

      • gotten a new SD card,
      • I have tried wiping the card and reinstalling Pi OS and MM three times,
      • I have disabled screen blanking, and
      • I have tried installing xscreensaver and disabling it through the Pi OS,
      • I have checked that all my modules have the Node Helper,
        all with with no luck.

      Of course all modules are updated.

      What happened simultaneously is that I have great trouble accessing the Pi through SSH (PuTTY), but I’ve narrowed that issue down to a poorly working WiFi unit in the Pi. Therefore it’s difficult for me to access logs. I can, but I need to run a long cable. The Wifi works well enough to support updating the modules during use.

      Modules I use:
      MMM-Skolmaten
      MMM-Tibber
      MMM-NetworkScanner
      MMM-Remote-Control
      MMM-Netatmo
      MMM-ResRobot

      Any pointers would be helpful. If you need me to upload logs, please tell me how to do that, step by step …

      Thanks!

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

        @Lazershrimp how do you start mm?

        npm start
        pm2
        

        did u upgrade the base os?

        Sam

        Create a working config
        How to add modules

        L 1 Reply Last reply Reply Quote 0
        • L
          Lazershrimp @sdetweil last edited by

          @sdetweil Yes, I use PM2 to start MM. If you by base OS mean RPi OS, then yes.

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

            @Lazershrimp can u minimize mm ctrl-m and use the preferences (top left menu)
            to see if blank screen was turned back on?

            or from a terminal or ssh window, run my screensaveroff script from

            https://github.com/sdetweil/MagicMirror_scripts

            next to the last thing listed on the page, copy/paste the one line

            Sam

            Create a working config
            How to add modules

            L 1 Reply Last reply Reply Quote 0
            • J
              jasondreher last edited by

              I had a similar issue, the screen would go black after an hour or so (never the login screen just always went black). On of my modules was not compatible with the upgrade. Once I removed that module all was well.

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

                @jasondreher can u tell me about that module? I like to keep track of troubles users experience

                Sam

                Create a working config
                How to add modules

                J 1 Reply Last reply Reply Quote 0
                • J
                  jasondreher @sdetweil last edited by jasondreher

                  @sdetweil
                  https://github.com/scottcl88/MMM-DynamicWeather

                  Once I removed this module I had no issues.

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

                    @jasondreher that module suffers from this

                    https://forum.magicmirror.builders/topic/15778/fix-for-black-screen-in-2-16-and-later?page=1

                    Sam

                    Create a working config
                    How to add modules

                    1 Reply Last reply Reply Quote 0
                    • L
                      Lazershrimp @sdetweil last edited by

                      @sdetweil said in MM shuts down after an hour:

                      or from a terminal or ssh window, run my screensaveroff script from
                      https://github.com/sdetweil/MagicMirror_scripts
                      next to the last thing listed on the page, copy/paste the one line

                      Thanks, I am now trying the screensaveroff script. Will have to wait for an hour to see if it works.

                      @sdetweil said in MM shuts down after an hour:

                      @jasondreher that module suffers from this
                      https://forum.magicmirror.builders/topic/15778/fix-for-black-screen-in-2-16-and-later?page=1

                      I have checked my modules for the package.json files, all good

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

                        @Lazershrimp you are not checking for package.json, except to apply the fix

                        the fix is to

                        npm install xxxx

                        where xxx is the missing library as found in the log error messages

                        Sam

                        Create a working config
                        How to add modules

                        L 1 Reply Last reply Reply Quote 0
                        • 1
                        • 2
                        • 1 / 2
                        • First post
                          Last post
                        Enjoying MagicMirror? Please consider a donation!
                        MagicMirror created by Michael Teeuw.
                        Forum managed by Paul-Vincent Roll and Rodrigo Ramírez Norambuena.
                        This forum is using NodeBB as its core | Contributors
                        Contact | Privacy Policy