Open ClundXIII opened 5 years ago
Did you try docker system prune
? Only run this commend while mailcow is up and running, otherwise it will purge your volumes. :(
Yes I did. Now I am around 7.something GB. But the problem is that the memory usage spikes during upgrade which is not negligible.
I should add that that I also run roundcube as a webmailer.
I would recommend the update-script before performaning update to check for potential low discspace and in case of doubt to ask the operator if it shoud prune unused images. (Not only AFTER the update, but as well in beforehand, before even stopping the running containers)
Yes, a low disk space check is a good idea.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Is this planned or already implemented?
Planned.
Is your feature request related to a problem? Please describe. I recently ran out of space with 10 GB HDD during an upgrade (the mail directory is on another virtual disc).
Describe the solution you'd like Increase the minimal requried space in Documentation to at least 10 GB. Also add a small warning in update.sh that lets the user abort the update if there is not enough space left. I ran out of space during an upgrade and nearly got an hearth attack since I thought my mail server was messed up. (I do have backups though ;-) )
Additional context I deleted the old volumes every time, so that should not be the issue.