MagicMirror Forum

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

    SD Card - Full

    Troubleshooting
    2
    5
    212
    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.
    • G
      George last edited by

      Hi, I have a problem. The mirror starts very slowly, sometimes it crashes, sometimes it does not restart with “sudo reboot”. I assume the SD card is full. I don’t know how to check.
      I don’t know how to edit the config.js and remove debug from the logLevel list. I asked this in a post “SD Card - no Space” and the answer was a link.
      Does anyone have the time and patience to explain in detail all the steps to solve this problem?
      Thanks,

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

        @george how do you edit config.js to add a module?

        df -k

        will show u disk usage

        the pm2 flush command will empty the logs

        Sam

        Create a working config
        How to add modules

        1 Reply Last reply Reply Quote 0
        • G
          George last edited by

          @sdetweil , how I edit config.js to add a module:
          config folder: Open
          config.js: Open
          config module: Paste
          So, I opened a terminal in Config folder, df -k command, I sow, the SD is full 95%.
          I wrote in this terminal “pm2 flush”, I tried also “sudo pm2 flush” and the answer was “command not found”.
          In which terminal do I have to type this command?

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

            @george sounds like u are not using pm2 to manage your mm execution

            config.js: Open

            so when u open config.js there is a line above modules:[

            logLevel

            edit that per the instructions

            if it’s not there add it, and make it look like as written

            Sam

            Create a working config
            How to add modules

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

              @sdetweil , I have no idea what I’m using. The software was installed by my son, I only know how to install and configure modules 😞

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