MagicMirror Forum

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

    MM keeps freezing

    Troubleshooting
    5
    19
    764
    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
      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
      • BKeyport
        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
          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
          • BKeyport
            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
              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

              Create a working config
              How to add modules

              1 Reply Last reply Reply Quote 0
              • R
                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
                  requiemmg last edited by

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

                  bhepler 1 Reply Last reply Reply Quote 0
                  • bhepler
                    bhepler Project Sponsor @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
                      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

                      bhepler Fozi 2 Replies Last reply Reply Quote 0
                      • bhepler
                        bhepler Project Sponsor @requiemmg last edited by

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

                        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