Upgrade failed. Database stopped. (multisite install)

I logged in. Haven’t updated in 11 months. Started with trying to upgrade the Docker Manager. It never seemed to complete. Next day the admin page was pretty much borked. I tried to do the ./launcher rebuild app. I get the

2025-10-30 20:04:52.144 UTC [1892] discourse@c_discourse ERROR: must be owner of extension vector
2025-10-30 20:04:52.144 UTC [1892] discourse@c_discourse STATEMENT: ALTER EXTENSION vector UPDATE TO ‘0.7.0’;

But the database is stopped so the fixes I saw don’t work.

2025-10-31 00:27:40.021 UTC [662] FATAL: database files are incompatible with server
2025-10-31 00:27:40.021 UTC [662] DETAIL: The data directory was initialized by PostgreSQL version 15, which is not compatible with this version
13.16 (Debian 13.16-1.pgdg120+1).

But
root@main-app:/var/lib/postgresql# pg_config --version PostgreSQL 16.4 (Debian 16.4-1.pgdg120+1)

EDIT: It looks like the DB is still in 13 format?
root@main-app:/var/lib/postgresql# ls
13 take-database-backup

If you haven’t seen the topic PostgreSQL 15 update - Announcements you might start there. It discusses a number of issues and recommendations.

1 Like

Thanks. Too much to really grok it all but nothing seems like my problem. :frowning: The database seems to run during the rebuild process which is the strange part. At least from what I can tell in the stuff that scrolls by.