MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord

    SD Card - no Space

    Troubleshooting
    4
    15
    701
    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.
    • C
      c1olli last edited by c1olli

      Hello,

      In the last months the SD card (32GB) of the MM were after 2 weeks full of data.
      I tried 3 times to find the problem, but at least I made it completly new.
      Today the SD card was full again and I found out, that the MagicMirror-error.log was about 24GB big.
      So I deleted it and the system is working again.
      But why was it so big? Because of the amount of data I could not open ist.

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

        @c1olli edit the config.js and remove debug from the logLevel:[] list

        like this (remove “DEBUG”)

        logLevel: ["INFO", "LOG", "WARN", "ERROR"],
        

        supposed to be off by default…

        then pm2 flush
        then start MM again
        pm2 restart 0

        Sam

        Create a working config
        How to add modules

        C G 2 Replies Last reply Reply Quote 0
        • C
          c1olli @sdetweil last edited by c1olli

          @sdetweil said in SD Card - no Space:

          logLevel: [“INFO”, “LOG”, “WARN”, “ERROR”],

          Thanks,

          the loglevel was complete missing in the config.js, but the systems wrote logs.

          Now I added it like in your post. Let’s see what will happen.
          Is it possible to turn the logs out ? Maybe with
          loglevel: [ ], ?

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

            @c1olli nothing logs (at this time) except calendar for DEBUG

            Sam

            Create a working config
            How to add modules

            C 1 Reply Last reply Reply Quote 0
            • C
              c1olli @sdetweil last edited by

              @sdetweil It does’nt matter what I do - the log expanses.

              So I started now a cronjob with a daily flush of the log data.

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

                @c1olli what is in the log?

                Sam

                Create a working config
                How to add modules

                C 1 Reply Last reply Reply Quote 0
                • C
                  c1olli @sdetweil last edited by

                  @sdetweil
                  That is the log from about 2 hours - more than 1 million lines.
                  And always the same.
                  magicmirror-log.jpg

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

                    @c1olli you have a failing module.
                    MMM-Fronius

                    you should disable it until u can resolve the problem

                    Sam

                    Create a working config
                    How to add modules

                    C 1 Reply Last reply Reply Quote 1
                    • C
                      c1olli @sdetweil last edited by

                      @sdetweil
                      That solved the problem. So I will fetch the Fronius Data via MMM-ioBroker in future.

                      A 1 Reply Last reply Reply Quote 1
                      • G
                        George @sdetweil last edited by

                        @sdetweil , hi, I think I have the same problem with the card, the mirror starts very slowly, “sudo reboot” does not always work. Please, can you explain me step by step how to remove debug?

                        S 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 Paul-Vincent Roll and Rodrigo Ramírez Norambuena.
                        This forum is using NodeBB as its core | Contributors
                        Contact | Privacy Policy