I tried to perform a manual postgres upgrade according to the topic here. Everything went smoothly except the final rebuild step, where the launcher continues to inform me that I need to upgrade my database to postgres 15 (which I don’t have the disk space for). How can I debug this?
I am confident in my bash skills, so no need to hold back on running complicated commands.
You can change to the pg13 template and delay the upgrade.
What I would recommend is moving to a new vm, as your old one is probably out of date anyway.
Then you just restore the database to the new server. You can see Move a Discourse site to another VPS with rsync and copy over the certificates. But don’t copy the database;it’s easier to restore it to the new server and skip the upgrade step.
If so, the upgrade script still detects that you have PG 13 installed, which implies the old data directory is still being mounted in the container. Assuming the upgrade was successful, it’s possible the directories were not renamed correctly.
Keep in mind that launcher also checks for available disk space, but that returns a different message.
If you’re still stuck, share your sanitized app.yml file, all the commands you ran for the manual upgrade and their outputs, and the full output from the rebuild.