Disk space issue with launcher rebuild

AI-generated summary

Andro is facing a disk space issue while attempting to rebuild the Discourse app container, despite having 7.5GB free — the rebuild fails because it requires 5.0GB free space, which gets consumed during the process as the new image (over 2.5GB) downloads. Falco explains that the space check occurs mid-process, after the image download begins, causing the failure. They suggest two solutions: either bypass the prerequisite check with --skip-prereqs (risking site breakage if space runs out) or increase available disk space. markshmucker adds that they had to increase disk space multiple times before realizing the issue, linking to a relevant meta.discourse.org discussion for further context. The topic falls under Installation and is tagged with server-resources.

I have 7.5GB free disk space. I need to rebuild the app container. When running launcher rebuild app it complains that it needs 5.0GB free disk space. I have tried all the docker commands I can think of to free up space, but they all free 0B.

Any suggestions?

If you have 7.5GB free, runs a rebuild command that downloads the new Discourse image that is over 2.5GB in size, by the time the disk space check comes you will have under 5GB free and fail the check.

Your options are:

  1. Pass --skip-prereqs as a rebuild flag the script. You risk running out disk space and getting your site broken and needing to recover from a backup and a new install.

  2. Increase your disk space.

I increased my disk space twice before I realized this: