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 freeze over night

    Scheduled Pinned Locked Moved Troubleshooting
    freezewificlean
    6 Posts 3 Posters 2.0k Views 3 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.
    • M Offline
      MajorC Project Sponsor
      last edited by

      Hello,

      my MM freezes over night. I suspected the SD card or one of the modules. So I bought a new SD card and the original Pi power supply and proceeded step by step:

      1. only Raspberry Pi OS 5.4.51 installed -> runs 48h without problems

      2. MM via the installation script of @sdetweil

      -> MM runs for about 12 hours then the PI obviously loses the wifi connection or something else happend and the whole OS freezes. I still see the MM on the monitor, but:

      • in the terminal I can still execute commands
        or
      • the whole OS is frozen, not even the seconds are running

      My question, what is the best way to proceed? Where can I view which logs?

      FoziF 1 Reply Last reply Reply Quote 0
      • M Offline
        MajorC Project Sponsor
        last edited by

        I now have a clean OS installation and a clean MM installation. Stopped MM with

        pm2 stop MagicMirror
        

        and see, what it is doing over night.

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

          @MajorC which modules are you running? I had that with conflicting modules and activated one by one to find the culprit. It was a Google maps module in my case.

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

          M 1 Reply Last reply Reply Quote 0
          • M Offline
            MajorC Project Sponsor @Fozi
            last edited by MajorC

            @Fozi
            Good morning, with a clean OS and a clean but stopped MagicMirror my Raspberry ran for 48h without any freeze or wifi problem or what so ever. Even after the 48h I could access the OS via SSH.

            Now I rebooted the system, MagicMirror with only the default modules without any changes are running. Let’s see what is in the log’s after 48h.

            I am still looking for help, where I can find the right logs to look into.

            Thank you.

            T 1 Reply Last reply Reply Quote 0
            • T Offline
              Tribun @MajorC
              last edited by

              @MajorC pm2 Logs can be found @

              /home/pi/.pm2/logs
              

              npm Logs @

              /home/pi/.npm/_logs
              

              different system logs @

              /var/log
              

              you can install the following module for better logging:

              https://github.com/shbatm/MMM-Logging
              
              1 Reply Last reply Reply Quote 0
              • M Offline
                MajorC Project Sponsor
                last edited by

                My MM was running now for 48h without freezing. I don’t know what happened the last couple of times. Thank you to @Tribun ! I checked all the logs and found no problem. I will now start to install the first modules and see what’s going on.

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