Hassio: raspberry pi3 sdcard memory full

Hi All,
I have hassio installed on my raspberry pi3 b+ from about 1 years.
I have equipped rasp pi with 30gb sdcard and I have installed hassio with 4 add-on (Configurator, mariadb, duckdns, mosquitto broker)
I notice that the card space is almost full and every time that I install a new update, memory space decrease.
The folder that takes up more space is docker’s folder “overlays2”.
Have someone this problem? How can I release sd card space?

Thanks for support
Angelo

Have you been doing snapshots? That and database are the most likely culprits. Stopping HA and deleting the database file is a quick fix.

Yes, I have been doing a configuration snapshots. I’m watching database file (home-assistant_v2.db) size, it is about 124MB.
I think that remove database cannot resolve the problem.
I will try to remove db. Meantime have you other ideas?

Thanks so much

Have you deleted older snapshots after you have downloaded them from your pi?
In general HA should not be consuming a whole lot of memory. I keep an eye on utilization with the system monitor (below) in HA and I am consuming ~25% of memory on a Pi3b. I don’t run mosquitto or mariadb, but do have ssh and samba enabled.

  sensor:
    platform: systemmonitor
    resources:
      - type: memory_use_percent
      - type: processor_use
      - type: disk_use_percent
        arg: /home

How do I remove old snapshots after downloaded them?
I haven’t ssh and samba enabled.
image

Go to the snapshots page, and as you click into each snap shot you want to get rid of, there is a red garbage can icon, right next to the download icon.

Sorry, I always remove the snapshot after I saved It.

HI,
I solved the problem.
As say, the folder that takes up more space is docker’s folder “overlays2”.
This folder contains docker images that probably are created after update installation.
For solve, I installed portain add-on and I removed all old images.
Now available disk space is 24G.

Does the home assistant logs consumes space as well? I have a lot of xiaomi gateway connection errors piling up in my hassio logs and afraid it will eventually eats up my sd card space. When i load the full error logs, it seems the Hassio is actually appending the errors instead of overwriting it.

Thanks.

Is possibile to clear all logs. I haven’t space problems caused by logs.