Read the statement by Michael Teeuw here.
SD Card - Full
-
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, -
@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
-
@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? -
@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
-
@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 :(