Nemam prostora na Hass.io

Nemam prostora na Hass.io

Možda je database?

Za MariaDB rast, probaj service koji purgeuje: service-purge

show databases;
use homeassistant;

optimize table events;
optimize table states;

pošto ja ništa ne snimam, ni nemam nijednu tabelu.

Možda Docker images zauzimaju mesto? To je!

Loguj se na host.

# list dangling images
docker images -f dangling=true

# purge dangling images
docker image prune

i tu neću dobiti ništa jer to je ako su images tagovane kao “dangling” šta god to značilo.

Meni treba removes all images that don’t have any containers based on them. A to je

# to check which are those images
runningImages=$(docker ps -a --format "< {{.Image}} >")
docker images --format "table < {{.Repository}}:{{.Tag}} >\t< {{.ID}} >\t" | grep -v "$runningImages"

# remove those images
docker image prune -a

see: https://stackoverflow.com/a/76538798/586898


Iako nisam morao, video sam da je “deiger/aircon” image oko 800M, pa pošto HiSense Air Conditioner trenutno ne koristim, obrisao sam i zapamtio config YAML:

log_level: INFO
mqtt_host: core-mosquitto
mqtt_user: mqtt-user
mqtt_pass: mqtt-pass
port: 8888
app:
  - username: my-gmail
    password: komsija-celavi-ali-sa-prvim-slovom-veliko
    code: hisense-eu

Najbolji tekst za čišćenje dockera:

ORACLE-BASE - Docker : Clean Up Unwanted Containers, Images, Volumes and Networks

date 10. Jul 2023 | modified 10. Jun 2024
filename: Hass.io » Space Problem