Update failed. Low disk space and database version discrepancy

AI-generated summary

mxa is experiencing a failed Discourse upgrade due to low disk space, despite having a small forum on a 40 GB server. Attempts to rebuild via ./launcher rebuild app consistently fail for the same reason. Even after running ./launcher cleanup and confirming removal of unused containers as suggested by pfaffman, the issue persists, with the system returning to the same low-space prompt mxa confirms. pfaffman advises manually freeing up space since automated cleanup isn’t resolving the issue. They also recommend backing up the forum before further actions, and suggest considering a fresh OS install if the server is outdated. The terminal output shown confirms the disk space shortage and prompts cleanup of Docker images and containers.

While trying to upgrade through the web interface the installation broke. On investigation the disk space is kind of low, which is surprising, since it is a really small forum with not much content on a 40 GB server.

I ran ./launcher rebuild app in the console, but this always fails because of not enough space.

How can I revive the forum? Even if I do the cleaning of docker images the next time I run it results in the same.

Did you answer yes to letting it get rid of the unused containers? There’s a reasonable chance that’ll restore a bunch of space.

You can do a ./launcher cleanup. You should first do a ./launcher start app and make a backup. That way, if things go south you can just spin up a new server and restore the backup. If your server has been around, it might be time for a new OS anyway.

I did answer yes, but it goes back to the same prompt.

Then you’ll need to free up space some other way.