SD Card - no Space
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.
@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
@sdetweil said in SD Card - no Space:
logLevel: [“INFO”, “LOG”, “WARN”, “ERROR”],
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: [ ], ?
@c1olli nothing logs (at this time) except calendar for DEBUG
@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.
@c1olli what is in the log?
That is the log from about 2 hours - more than 1 million lines.
And always the same.
@c1olli you have a failing module.
you should disable it until u can resolve the problem
That solved the problem. So I will fetch the Fronius Data via MMM-ioBroker in future.
@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?