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.

    MM keeps freezing

    Scheduled Pinned Locked Moved Troubleshooting
    19 Posts 5 Posters 6.6k Views 6 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
      requiemmg
      last edited by

      Hi,

      I have 2 MagicMirrors installed. Both are running fine until they freeze. Freezing may happen after 5 minutes, often it happens when I xrdp into the desktop, but this is not a neccessary condition. It may also happen after 6 hours or a day. But it happens. First I thought this was a cooling problem, I set the soft_temp_limit to 70 degrees Celsius and bought cooling cases, temp is around 48-55°C now when running for hours, but it still happens and I have no idea why.

      My setup (2x the same):
      Raspberry Pi 3B+ with 16GB Class 10 microSD-Card in a cooling case
      WLAN Connection (ethernet not available at the MM mounting points)
      Latest Raspbian 10 image.

      Installation of MM with Sam Detweiler’s installation script. pm2 autostart enabled and working, screensaver switched off.

      Active modules:

      • Alert
      • Updatenotification
      • MMM-COVID-19
      • MyCovid19
      • MMM-WeatherOrNot
      • clock
      • calendar
      • MMM-Vrr
      • MMM-PlexNowPlaying
      • MMM-News

      Currently disabled modules (by setting disabled: true in config.js)

      • MMM-AVstock
      • MMM-Rain-Radar

      Each module is working. I have no idea why MM is freezing (and while I am writing this, one of the Mirrors froze again). Can someone walk me through troubleshooting this, it is very annoying.

      1 Reply Last reply Reply Quote 0
      • BKeyportB Online
        BKeyport Module Developer
        last edited by

        Does the whole system freeze or just the MM Software?

        The "E" in "Javascript" stands for "Easy"

        1 Reply Last reply Reply Quote 0
        • R Offline
          requiemmg
          last edited by

          Whole system. So, even a cronjob with sudo reboot every x hours does not help.
          As the Pis came bundles with some noname SD cards, I just ordered 2 new cards to rule out any problems with them.

          S 1 Reply Last reply Reply Quote 0
          • BKeyportB Online
            BKeyport Module Developer
            last edited by

            That would be my first fix.

            The "E" in "Javascript" stands for "Easy"

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

              @requiemmg i have started configuring my systems to boot from SD, but RUN from USB disk (SSD is fast an reliable)

              https://www.tomshardware.com/news/boot-raspberry-pi-from-usb,39782.html

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              1 Reply Last reply Reply Quote 0
              • R Offline
                requiemmg
                last edited by

                Okay, getting back to this. @sdetweil thanks for the tip, I bought a 32gb usb stick and made my Pi3B+ boot from it. Complete new setup of Raspbian Buster. Boots up fine.
                Complete new setup of MM2 with your script, works fine.
                Reinstalled modules and config, works fine.

                Cooling with passive cooling case, Temp not higher than 55°C.

                Setup a reboot cronjob every 6 hours.

                Still, the system keeps freezing. Sometimes after minutes, sometimes after days.

                Only other software installed is the lights-out client (which needs mono). (green-it-software.com/)

                I have no idea on what to look for or what to do to fix this :-(

                1 Reply Last reply Reply Quote 0
                • R Offline
                  requiemmg
                  last edited by

                  Anyone? :-( Both mirrors keep freezing… (whole system).

                  bheplerB 1 Reply Last reply Reply Quote 0
                  • bheplerB Offline
                    bhepler Module Developer @requiemmg
                    last edited by

                    @requiemmg - I have some general troubleshooting suggestions, but unfortunately nothing approaching a solution.

                    For starters, you can examine the system log at /var/log/syslog which may give you some insight to system-level events. My gut tells me it’s a power problem, but my gut is notoriously bad at debugging.

                    Since you have two mirrors, I would back up your config.js file on one and sacrifice it to the troubleshooting effort. Reflash the SD card, format the USB and reinstall Raspbian. Perform a barebones Mirror installation on it using @sdetweil’s script. Do not install anything other than the OS and Magic Mirror framework. Then wait and see if the freeze behavior affects the slicked mirror.

                    If the rebuild mirror stays up, start adding things one at a time. I would start with the Lights-Out client as it is unknown to me and I am inherently suspicious of it.

                    1 Reply Last reply Reply Quote 0
                    • R Offline
                      requiemmg
                      last edited by

                      Thanks. I have never seen the lightning bolt icon on any of the mirrors displays. I use the USB output of the display controller. Power comes from this https://www.amazon.de/gp/product/B01AA83VHA/ref=ppx_yo_dt_b_search_asin_title?ie=UTF8&psc=1 and is attached to this display controller: https://www.amazon.de/gp/product/B0756ZBB2G/ref=ppx_yo_dt_b_asin_title_o00_s00?ie=UTF8&psc=1

                      bheplerB FoziF 2 Replies Last reply Reply Quote 0
                      • bheplerB Offline
                        bhepler Module Developer @requiemmg
                        last edited by

                        @requiemmg IIRC, the lightning bolt went away with Raspbian Buster.

                        1 Reply Last reply Reply Quote 0
                        • FoziF Offline
                          Fozi Project Sponsor @requiemmg
                          last edited by

                          @requiemmg Did I understand correctly that the display controller powers the Pi via its USB port? If so, I very strongly believe that this might be the source for the problem for two reasons:

                          1. The USB port does not provide enough power for the Pi
                          2. If the display controller goes in standby, then probably the power provided via its USB port might also be reduced.

                          I would always recommend to connect the Pi directly to a dedicated power supply, which can supply min. 2.5A.

                          HowTo: Replace PIR Sensor with a RCWL-0516 Microwave Sensor

                          BKeyportB 1 Reply Last reply Reply Quote 1
                          • BKeyportB Online
                            BKeyport Module Developer @Fozi
                            last edited by

                            @Fozi Oooh, good call. Strong power is good power. Part of the reason I upgraded to Pi4’s for most everything, honestly. Got tired of the weak power supplies on the old USB spec, so…

                            The "E" in "Javascript" stands for "Easy"

                            1 Reply Last reply Reply Quote 0
                            • R Offline
                              requiemmg
                              last edited by

                              Okay, I’ll try this. Did also not know that the bolt signal is no longer available with current Raspbian.
                              Oh, the controller does not enter standby, I have it running 24/7.
                              Ordered a power supply with 3A to be sure. I’ll report back.

                              1 Reply Last reply Reply Quote 0
                              • BKeyportB Online
                                BKeyport Module Developer
                                last edited by

                                FYI. the bolt is still active, fresh copy of the OS downloaded from their website, on RPI3b+. whipped it together so to test for mirror frame placement.

                                The "E" in "Javascript" stands for "Easy"

                                bheplerB 1 Reply Last reply Reply Quote 1
                                • bheplerB Offline
                                  bhepler Module Developer @BKeyport
                                  last edited by

                                  @BKeyport - Good to know, thanks.

                                  1 Reply Last reply Reply Quote 0
                                  • R Offline
                                    requiemmg
                                    last edited by

                                    So, both mirrors are now running on an external 3A power supply.
                                    Unfortunately, the still keep freezing. I fear that I have to setup from scratch, step by step, to see what is causing this. :-(

                                    1 Reply Last reply Reply Quote 0
                                    • BKeyportB Online
                                      BKeyport Module Developer
                                      last edited by

                                      Yeah, that would be a good idea, who knows what got screwed up on the old SD cards with the freezing.

                                      The "E" in "Javascript" stands for "Easy"

                                      1 Reply Last reply Reply Quote 0
                                      • R Offline
                                        requiemmg
                                        last edited by

                                        Installed to both fresh SD cards as well as USB stick before, fresh setup! Only thing that was copied over was the config.js and main.css

                                        1 Reply Last reply Reply Quote 0
                                        • R Offline
                                          requiemmg
                                          last edited by

                                          I think I figured out:
                                          As soon as I use the MMM-News module, MagicMirror will freeze at some point. Uninstalled it - no issues.

                                          1 Reply Last reply Reply Quote 0

                                          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                          With your input, this post could be even better 💗

                                          Register Login
                                          • 1 / 1
                                          • 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