PostgreSQL migration failure

(fixing formatting)
But to clarify, I do not have immich installed, it does appear to be an issue just with the state of postgresql migration. Very unhelpful that the underlying 15 pg_upgradecluster error log doesn’t appear to get written.

Another post Migration Failed - Migrate databases from PostgreSQL 13 to 15 suggested this was due to disk space - not my issue.

Looking at dpkg -l | grep postgres, I see that postgresql-13-postgis-3 was installed - perhaps for an app I no longer am using? Idk - and I manually installed by sudo apt install postgresql-15-postgis-3, guessing that is the blocking library missing that pg_upgradecluster was complaining about.

Subsequently running sudo yunohost tools migrations run was able to complete, and pg-dependent apps are running again. pg_lsclusters confirms they are upgraded to 15.

2 Likes

Aaaaand it’s back! Thanks Luke!

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.