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 fails regularly

    Scheduled Pinned Locked Moved Troubleshooting
    raspberry pi 1chromiumnetwork
    7 Posts 3 Posters 1.3k 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
      MMRPi1
      last edited by

      So ever since updating to the latest version a few months ago, my MM seems to be failing quite often (every few days or so). Sometimes the Mirror will just freeze completely for a few hours (I know this because the clock stops) and eventually will give me a white ‘the site can’t be reached’ screen (chromium-based because I’ve got a RPi 1).
      I know it’s not disconnecting from the network because I can still ssh in and reboot the pi, which as far as I can figure is the only way to get it to work again.
      Has anyone had similar issues or knows how to find the cause (and hopefully solution) of the problem?

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

        @MMRPi1 how do u start mm? pm2.

        over ssh, pm2 stop 0

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        1 Reply Last reply Reply Quote 0
        • M Offline
          MMRPi1
          last edited by

          It starts automatically when the pi boots with pm2 yes

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

            @MMRPi1 can u stop rather than reboot?

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            M 1 Reply Last reply Reply Quote 0
            • M Offline
              MMRPi1 @sdetweil
              last edited by

              @sdetweil I’ve tried to stop it with pm2 but it doesn’t work so I have to reboot it

              1 Reply Last reply Reply Quote 0
              • G Offline
                GuyWithAQuestion
                last edited by

                I’ve had the same issue in the past (running on Raspberry Pi 3b). After about 1 1/2 days of continuously running it would just slow down. My solution was just to reboot it automatically (sometime during the night and then sometime before i got home from work). Works like a charm since.

                I added the below to my /etc/crontab file.
                (It also contains commands for turning on/ off my HDMI monitor for when I’m not home or am sleeping)

                FOR REBOOTING a few times every day (Raspberry Pi gets slow every other day… so reboot)

                Weekdays

                Reboot at 5:30, turn off monitor at 8:45

                Reboot at 16:00, turn off monitor at 10:00

                30 5 * * 1,2,3,4,5 root /sbin/shutdown -r now
                45 8 * * 1,2,3,4,5 root /usr/bin/vcgencmd display_power 0
                00 16 * * 1,2,3,4,5 root /sbin/shutdown -r now
                00 22 * * 1,2,3,4,5 root /usr/bin/vcgencmd display_power 0

                Weekends

                Reboot at 5:30

                Reboot at 16:00, turn off monitor at 10:00

                30 5 * * 6,7 root /sbin/shutdown -r now
                00 16 * * 6,7 root /sbin/shutdown -r now
                00 22 * * 6,7 root /usr/bin/vcgencmd display_power 0

                M 1 Reply Last reply Reply Quote 0
                • M Offline
                  MMRPi1 @GuyWithAQuestion
                  last edited by

                  @GuyWithAQuestion That actually sounds like a good solution, thanks! I’ve already got a cronjob that turns the screen off at night so I’ll try to add one to reboot every so often

                  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