Managing storage on Homeassistant green

My homeassistant green is running out of storage. I have removed all local backups, but that just meant the ‘system’ storage moved from 12GB to 15GB.
The database shows 1.7GB usage so it’s not that and I am not storing any media.
I have remoted in and run ‘ha supervisor repair’ but so far nothing has helped.
Any suggestions on what next?

What apps and addons do you have installed?

The total storage space is 28Gb. Have you partitioned a drive for other uses or are you running this in a virtual environment?

A little bit more info may be needed to guess what the normal situation is. How many devices/entities, is debugging turned on, do you have chatty devices overflowing your database?

The system figures are about right. App data may need attention.

You may just have to migrate to a larger drive if 4.9Gb free space is outside your comfort zone.

You could install a Terminal & SSH app and identify which system folders/files contain the most data.

I am providing an example using one of the default store apps. The commands below can be used directly from HA using the Open Web UI button in this app.

It’s most likely an app/addon based on the 4.6 GB usage, but without additional info that just a guess.

Once the Terminal app is installed, enter this to get a high level view. This can be done

du -h -d 1 / | sort -hr

If a folder’s data size seems excessive, narrow it down with something like this

du -h -d 1 /addon-configs | sort -hr

[quote=“LiQuid_cOOled, post:3, topic:1018416”]
Thanks for your assistance.
yes I have the Terminal & SSH app installed, but the file system use is not visible within the add on. Here is the output from the command suggested:
[core-ssh ~]$ du -h -d 1 / | sort -hr
3.6G /
3.4G /homeassistant
129.1M /usr
70.1M /addon_configs
17.0M /share
10.9M /package
2.0M /etc
1.7M /bin
1.0M /lib
1.0M /backup
568.0K /run
144.0K /sbin
76.0K /var
68.0K /data
52.0K /command
24.0K /tmp
8.0K /root
4.0K /ssl
4.0K /srv
4.0K /opt
4.0K /mnt
4.0K /media
4.0K /home
4.0K /addons
0 /sys
0 /proc
0 /dev
[core-ssh ~]$
There are a reasonable number of apps/add-ons installed:

  • ESPHome device builder
  • Grafana
  • Grafana alloy
  • Influxdb
  • Nodered
  • Samba share
  • Speech to phrase
  • Studio code server
  • Terminal & SSH
  • UptimeKuma

Hi, Did you manage to free up any space. I have Green and down to 0.6GB so am trying to free up space. It doesnt seem you can connect an external drive via usb for additional storage and i have basic apps etc

I would venture your green is being pretty close to thrashed with those installed and all running at the same time! Certainly memory thrash and temporary page files will not assist, tasks slowing down as memory becomes scarce and eventually being killed.

Expecting Porsche race car performance on a VW Beetle. How slowly do those detailed dashboards and charts take to paint? Forever?

The green, aimed at the starter market, and eminently filling that role, is not easily expandable may not be suitable for you much longer. Consider upgrading to something that gives you some headroom (faster CPU, faster video, more memory, bigger drive with faster access, all able to be swapped out for something even faster later), or carefully reconsider some of those resource hungry apps - do you really need the known greedy Studio Code server or will the simple File Editor suffice to edit the occasional yaml file? Voice? NodeRed and ESPHome?

What housekeeping do you do on InfluxDb?

Is your voice data stored locally or passed to the cloud?

Have you accidentally turned on debugging and forgot to turn it off?

I was wanting to upgrade to YELLOW but it is discontinued and so i thought i better not.

Reset build fild on ESPHome Device Builder gave me an extra 7 gig back

Thanks for feedback. I will consider using a more capable device.

I installed an external SSD (USB stick form factor) and moved the data section