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.

    restart loop without error

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    15 Posts 2 Posters 3.4k Views 2 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.
    • E Offline
      efevee
      last edited by

      I/m over SSH, having RPi connected to HDMI monitor so I ran as below.
      Ended with command line prompt, no change on display… MM didn’t run.

      pi@magicpi:~/MagicMirror $ DISPLAY=:0 npm start
      
      > magicmirror@2.9.0 start /home/pi/MagicMirror
      > sh run-start.sh
      
      Starting MagicMirror: v2.9.0
      Loading config ...
      Loading module helpers ...
      No helper found for module: alert.
      No helper found for module: clock.
      Initializing new module helper ...
      Module helper loaded: calendar
      No helper found for module: MMM-WeeklySchedule.
      Initializing new module helper ...
      Module helper loaded: MMM-DarkSkyForecast
      Initializing new module helper ...
      Module helper loaded: MMM-xiaomi
      Initializing new module helper ...
      Module helper loaded: newsfeed
      No helper found for module: MMM-AirQuality.
      Initializing new module helper ...
      Module helper loaded: MMM-NetworkScanner
      Initializing new module helper ...
      Module helper loaded: MMM-Remote-Control
      All module helpers loaded.
      Starting server on port 8080 ...
      Server started ...
      Connecting socket for: calendar
      Starting node helper for: calendar
      Connecting socket for: MMM-DarkSkyForecast
      ====================== Starting node_helper for module [MMM-DarkSkyForecast]
      Connecting socket for: MMM-xiaomi
      Starting xiaomi helper
      Connecting socket for: newsfeed
      Starting module: newsfeed
      Connecting socket for: MMM-NetworkScanner
      Starting module: MMM-NetworkScanner
      Connecting socket for: MMM-Remote-Control
      Starting node helper for: MMM-Remote-Control
      Sockets connected & modules started ...
      pi@magicpi:~/MagicMirror $
      
      S 1 Reply Last reply Reply Quote 0
      • S Offline
        sdetweil @efevee
        last edited by

        @efevee interesting… new behavior…

        how did you install? manually or one of the install scripts?

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        1 Reply Last reply Reply Quote 0
        • E Offline
          efevee
          last edited by

          Official RPi script, however some time ago (two or three MM versions ago)
          From “strange” tweaks I only have only log2ram to extend SD card life:

          Filesystem     1K-blocks    Used Available Use% Mounted on
          /dev/root       14812720 6866740   7281424  49% /
          devtmpfs          342320       0    342320   0% /dev
          tmpfs             473904       0    473904   0% /dev/shm
          tmpfs             473904    6576    467328   2% /run
          tmpfs               5120       4      5116   1% /run/lock
          tmpfs             473904       0    473904   0% /sys/fs/cgroup
          log2ram            40960     328     40632   1% /var/log
          tmpfs              30720       0     30720   0% /home/pi/.pm2/logs
          tmpfs              51200       4     51196   1% /tmp
          /dev/mmcblk0p1     42137   22855     19282  55% /boot
          tmpfs              51200       4     51196   1% /var/hdd.log
          tmpfs              94780       0     94780   0% /run/user/1000
          tmpfs              94780       0     94780   0% /run/user/0
          
          S 1 Reply Last reply Reply Quote 0
          • S Offline
            sdetweil @efevee
            last edited by

            @efevee said in restart loop without error:

            /dev/root 14812720 6866740 7281424 49% /

            card is not full…

            after the git pull, did u do npm install? and for any modules that have a package.json, do the same in each such module folder (the update script mentioned below does this all for you)

            are u willing to try to update to the latest ? (2.9.0) with the new update script
            see here https://forum.magicmirror.builders/topic/10859/new-update-upgrade-script-ready-for-testing

            because u have already attempted update, u will need to add force as a parameter on the end of the url
            (just like the example with apply)

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            E 1 Reply Last reply Reply Quote 0
            • E Offline
              efevee @sdetweil
              last edited by

              @sdetweil said in restart loop without error:

              after the git pull, did u do npm install? and for any modules that have a package.json, do the same in each such module folder (the update script mentioned below does this all for you)

              I did…

              are u willing to try to update to the latest ? (2.9.0) with the new update script
              see here https://forum.magicmirror.builders/topic/10859/new-update-upgrade-script-ready-for-testing

              Renamed folder and tried fresh install with another script mentioned on forum but it hanged with “apt-get update” when running as pi user

              because u have already attempted update, u will need to add force as a parameter on the end of the url
              (just like the example with apply)

              Now upgrading to Buster, however have RPi image two weeks before this behaviour started (haven’t done anything inbetween). When buster fails to fix this issue will reimage sd card and either wait till the issue happens again or will force update to refresh MM as you suggest.

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

                @efevee said in restart loop without error:

                Renamed folder and tried fresh install with another script mentioned on forum but it hanged with “apt-get update” when running as pi user

                was that my new update script?

                https://forum.magicmirror.builders/topic/10171/anyone-want-to-try-updated-installer

                sometimes the apt-get update takes a while, there is a apt-get upgrade right behind it to actually update the files…
                apt-get update just updates the list of potential updates

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                1 Reply Last reply Reply Quote 0
                • E Offline
                  efevee
                  last edited by

                  Yes.
                  Was suprised process takes so long especially I have it all upgraded recently:

                  install starting  - Sun Dec 29 12:57:18 CET 2019
                  installing on armv7l processor system
                  the os is Distributor ID: Raspbian Description: Raspbian GNU/Linux 9.11 (stretch) Release: 9.11 Codename: stretch
                  ^[[96mUpdating packages ...^[[90m
                  Get:1 http://raspbian.raspberrypi.org/raspbian stretch InRelease [15.0 kB] Get:2 http://archive.raspberrypi.org/debian stretch InRelease [25.4 kB] Get:3$
                  apt-get update  completed ok
                  install starting  - Sun Dec 29 13:23:04 CET 2019
                  installing on armv7l processor system
                  the os is Distributor ID: Raspbian Description: Raspbian GNU/Linux 9.11 (stretch) Release: 9.11 Codename: stretch
                  ^[[96mUpdating packages ...^[[90m
                  Hit:1 http://raspbian.raspberrypi.org/raspbian stretch InRelease Get:2 http://archive.raspberrypi.org/debian stretch InRelease [25.4 kB] Hit:3 https://d$
                  apt-get update  completed ok
                  
                  S 1 Reply Last reply Reply Quote 0
                  • S Offline
                    sdetweil @efevee
                    last edited by

                    @efevee said in restart loop without error:

                    stretch

                    stretch is pretty old now… lots of updates

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

                    1 Reply Last reply Reply Quote 0
                    • E Offline
                      efevee
                      last edited by

                      C’mon… Buster is only for a few months… :)
                      Nevertheless upgrade at 6%, will let you know how it looks like after it finishes.

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

                        @efevee ok, thx…

                        Sam

                        How to add modules

                        learning how to use browser developers window for css changes

                        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 Sam, technical setup by Karsten.
                        This forum is using NodeBB as its core | Contributors
                        Contact | Privacy Policy