I somehow filled up my disk storage and now Tipi won't start.

However, df -h / shows space available:
Filesystem Size Used Avail Use% Mounted on
/dev/nvme0n1p2 915G 874G 0 100% /
Filesystem Size Used Avail Use% Mounted on
/dev/nvme0n1p2 915G 874G 0 100% /
Starting tipi shows dependency failed to start: container tipi-db is unhealthy Running dependency failed to start: container tipi-db is unhealthy shows:
PostgreSQL Database directory appears to contain a database; Skipping initialization

2024-04-24 21:35:42.511 UTC [1] FATAL: could not write lock file "postmaster.pid": No space left on device
PostgreSQL Database directory appears to contain a database; Skipping initialization

2024-04-24 21:35:42.511 UTC [1] FATAL: could not write lock file "postmaster.pid": No space left on device
Since the df -h command shows about 40G less used than available I thought it might be related to Docker containers, I tried sudo docker system prune --volumes and similar commands without luck. It's filled up with Immich photos so I don't think I can just delete them since they're managed content. Any suggestions?
2 Replies
Nicolas
Nicolas8mo ago
You can run docker system prune to clean up all un-used docker stuff
sacbuntchris
sacbuntchrisOP8mo ago
Well I tried every trick Google could teach me to free up space and it wasn't enough. Not even enough space to uninstall packages lol. I fixed it by deleting all my immich thumbnails, they're in ~/runtipi/media/data/images/immich/thumbs. Got me down to 853GB / 915GB available. Lesson learned, leave at least 8% of your drive free. Thanks for helping even though my issue was my own stupidity and not Tipi
Want results from more Discord servers?
Add your server