SD memory card is slowly filling up
can someone help me?
My MagicMirror runs for almost a year without errors, but slowly the SD memory card (32GB) is filling up by itself?
After my MagicMirror installation I had about 24GB of free space. And now I only have 6.1GB free (see picture).
What do I have to do to get burst again?
@drx1984 there are utilities which can tell u space used
see the first command described here
it looks like this
@drx1984 clear the logs. pm2 flush
altho I might want to find out what all that is.
u can dump a little
pm2 logs --lines=???
???= some number, default is 15
u can also.look at them in the ~/.pm2/logs
how do I do that? (I’m a beginner sry)
can I turn off the log?
how do i get to the pm2 folder? that should be in the “root” folder right? somehow I have no notice.
I was able to do something and I found this post:
I then entered the command “pm2 flush” and I already have 21GB of free space again, that looks very good.
could I automate something like that? or deactivate the pm2 log?
@drx1984 I gave u the pm2 flush command
if u install winscp on your pc box, and enable ssh on your pi, you can get a file manager.over the pi files from your pc
then just double click to edit like u do on the pc. right click to rename/delete
I would have looked at the log to find out what modules are generating all that content.
far as I know there is no way to turn off the log.
would some some options
also file location
means users home folder
so when logged on as pi, that means
so from my post
u can get there over ssh, or using a terminal window on the pi, or a file manager on the pi, just like u do on widows
yes I had already installed the program WinSCP, but I don’t see this folder pm2 ??? ( see image)
Yes that would be interesting which modules cause these logs. next time I won’t just delete it.