• 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.

Magic Mirror will not boot but Pi will, Cache issue?

Scheduled Pinned Locked Moved Unsolved Troubleshooting
25 Posts 2 Posters 5.8k 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.
  • T Offline
    tkaauf32
    last edited by Dec 30, 2019, 4:22 PM

    The pi will boot but Magic Mirror won’t. I believe I’m having issues with the cache. It was working for a long time but I have since relocated the mirror and it no longer boots the MM program. when I run npm start i get “no helper found for module” and when I try to update my MM program I get “you dont have enough space var/cache/apt/archives”. Any help would be appreciated as it ran quite well a while ago. Do the modules build up data after being run 24/7? I’m also not entirely sure what a cache is if anybody could help. Thanks.

    S 1 Reply Last reply Dec 30, 2019, 4:46 PM Reply Quote 0
    • S Offline
      sdetweil @tkaauf32
      last edited by Dec 30, 2019, 4:46 PM

      @tkaauf32

      no helper for module is ok, if the module doesn’t have helper… but u may be out of space

      review /var/log for dusplicates of log files

      syslog.n (these are old, probably ok to delete)
      and syslog

      etc

      this might give u an idea where space is used

      du -a / 2>/dev/null | sort -n -r | head -n 10
      

      note that this starts at the root… I have a remote volume attached so it searches that too… ugh
      and it only shows the top 10… head -n 10, u can up that number… but mostly bet its the logs

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      1 Reply Last reply Reply Quote 0
      • T Offline
        tkaauf32
        last edited by Dec 30, 2019, 4:51 PM

        So I am unsure why it was working a month ago but is not working now. Is it always going to run out of space? Do I need a bigger sd card? What exactly are the purposes of the log files?

        S 1 Reply Last reply Dec 30, 2019, 4:55 PM Reply Quote 0
        • S Offline
          sdetweil @tkaauf32
          last edited by Dec 30, 2019, 4:55 PM

          @tkaauf32 the system keeps track of all kinds of things…

          i don’t know why now vs before… you would have to find the next newest log file and scan thru it to try to determine what (if anything) important is going on
          here is my list of files in /var/log

          alternatives.log  btmp             dpkg.log        lightdm        syslog       user.log
          apt               daemon.log       faillog         messages       syslog.1     user.log.1
          auth.log          daemon.log.1     fontconfig.log  messages.1     syslog.2.gz  wtmp
          auth.log.1        daemon.log.2.gz  kern.log        messages.2.gz  syslog.3.gz  Xorg.0.log
          auth.log.2.gz     daemon.log.3.gz  kern.log.1      messages.3.gz  syslog.4.gz  Xorg.0.log.old
          auth.log.3.gz     debug            kern.log.2.gz   mongodb        syslog.5.gz
          boot.log          debug.1          kern.log.3.gz   motion         syslog.6.gz
          bootstrap.log     debug.2.gz       lastlog         private        syslog.7.gz
          

          Sam

          How to add modules

          learning how to use browser developers window for css changes

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

            @sdetweil do a df -k
            it will give u a quick look at used disk space

            /dev/root                30358348    6863684   22210168  24% /
            

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            1 Reply Last reply Reply Quote 0
            • T Offline
              tkaauf32
              last edited by Dec 30, 2019, 4:58 PM

              0_1577725102433_2b034e88-3f97-4120-9de1-0917fd88bb51-image.png Screen Shot 2019-12-30 at 10.58.00 AM

              S 1 Reply Last reply Dec 30, 2019, 4:59 PM Reply Quote 0
              • S Offline
                sdetweil @tkaauf32
                last edited by Dec 30, 2019, 4:59 PM

                @tkaauf32 ok, disk is full…

                the du thing above should give u a clue where…

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                1 Reply Last reply Reply Quote 0
                • T Offline
                  tkaauf32
                  last edited by tkaauf32 Dec 30, 2019, 5:02 PM Dec 30, 2019, 5:01 PM

                  0_1577725265087_95c0ffa2-6bf6-459a-9e75-d1ee858e6efa-image.png Screen Shot 2019-12-30 at 11.00.55 AM

                  So this is what that displays. And I really don’t understand why it is taking up so much space because it worked previously. I don’t know what to remove to give more space?

                  S 1 Reply Last reply Dec 30, 2019, 5:02 PM Reply Quote 0
                  • S Offline
                    sdetweil @tkaauf32
                    last edited by Dec 30, 2019, 5:02 PM

                    @tkaauf32 thats only of your home folder… usually not a problem

                    notice I had /

                    du -a / 2>/dev/null | sort -n -r | head -n 10
                    

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

                    1 Reply Last reply Reply Quote 0
                    • T Offline
                      tkaauf32
                      last edited by Dec 30, 2019, 5:05 PM

                      Okay so after typing correctly (my apologies, im not very savvy in this)

                      0_1577725523781_910bc738-b0da-4dea-96a3-1b1e1ecdf7ba-image.png

                      Screen Shot 2019-12-30 at 11.04.44 AM

                      S 1 Reply Last reply Dec 30, 2019, 5:07 PM Reply Quote 0
                      • 1
                      • 2
                      • 3
                      • 1 / 3
                      1 / 3
                      • First post
                        1/25
                        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