• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
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.1k 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 Dec 29, 2019, 3:48 PM

    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 Dec 29, 2019, 3:56 PM Reply Quote 0
    • S Offline
      sdetweil @efevee
      last edited by Dec 29, 2019, 3:56 PM

      @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 Dec 29, 2019, 4:29 PM Reply Quote 0
      • E Offline
        efevee @sdetweil
        last edited by Dec 29, 2019, 4:29 PM

        @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 Dec 29, 2019, 4:31 PM Reply Quote 0
        • S Offline
          sdetweil @efevee
          last edited by sdetweil Dec 29, 2019, 4:45 PM Dec 29, 2019, 4:31 PM

          @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 Dec 29, 2019, 4:43 PM

            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 Dec 29, 2019, 4:44 PM Reply Quote 0
            • S Offline
              sdetweil @efevee
              last edited by Dec 29, 2019, 4:44 PM

              @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 Dec 29, 2019, 4:56 PM

                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 Dec 29, 2019, 4:57 PM Reply Quote 0
                • S Offline
                  sdetweil @efevee
                  last edited by Dec 29, 2019, 4:57 PM

                  @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
                  • E Offline
                    efevee
                    last edited by Dec 30, 2019, 2:08 PM

                    Upgraded to buster, took ages, but seems OK, already had two restarts to check if works constantly. Made sd card dump just in case…

                    pi@magicpi:~ $ pm2 status
                    ┌─────┬────────┬─────────────┬─────────┬─────────┬──────────┬────────┬──────┬───────────┬──────────┬──────────┬──────────┬──────────┐
                    │ id  │ name   │ namespace   │ version │ mode    │ pid      │ uptime │ ↺    │ status    │ cpu      │ mem      │ user     │ watching │
                    ├─────┼────────┼─────────────┼─────────┼─────────┼──────────┼────────┼──────┼───────────┼──────────┼──────────┼──────────┼──────────┤
                    │ 1   │ mm     │ N/A         │ N/A     │ fork    │ 1541     │ 15h    │ 89   │ online    │ 0%       │ 1.4mb    │ pi       │ disabled │
                    │ 0   │ pir    │ N/A         │ N/A     │ fork    │ 1515     │ 15h    │ 0    │ online    │ 0%       │ 1.5mb    │ pi       │ disabled │
                    └─────┴────────┴─────────────┴─────────┴─────────┴──────────┴────────┴──────┴───────────┴──────────┴──────────┴──────────┴──────────┘
                    
                    

                    wonder for how long will it work…

                    S 1 Reply Last reply Dec 30, 2019, 2:10 PM Reply Quote 0
                    • S Offline
                      sdetweil @efevee
                      last edited by Dec 30, 2019, 2:10 PM

                      @efevee woohoo!.. thanks for the update…

                      keep an eye on the restarts
                      │ 1 │ mm │ N/A │ N/A │ fork │ 1541 │ 15h │ 89

                      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
                      1 / 2
                      • First post
                        9/15
                        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