dirkhh / adsb-feeder-image

Easy to use turn-key SD card image for a number of popular single board computers to run a complete ADS-B feeder
https://adsb.im/home
GNU General Public License v3.0
121 stars 12 forks source link

Low disk space / Purge logs, installers, etc #160

Closed ramphex closed 5 months ago

ramphex commented 5 months ago

After updating to 2.0.0.b4 I have noticed a new message on the homepage:

You are running low on disk space on the** your feeder. This can lead to odd problems and even crashes. Consider upgrading to a larger storage device.

Is there a way to implement a feature to purge old logs and installers, or whatever occupies the largest amount of space? This setup is running on an 8GB card.

** grammatical error

wiedehopf commented 5 months ago

Try a beta update now, it would seem the docker system prune didn't remove the tagged images that were not being used.

ramphex commented 5 months ago
Screenshot 2024-04-13 at 22 11 28

Will this be an issue trying to update to beta 6? I started the update to beta 5 before you posted the response.

wiedehopf commented 5 months ago

Yeah that might be an issue. You can run this manually and it should clear up space:

sudo docker system prune -a -f
ramphex commented 5 months ago

Total reclaimed space: 3.071GB root@adsb-feeder:~#

Down to 58% used, updating to beta 6 now.