Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Upgrading Postgres from 12 to 13

I have no idea how but postgres was upgraded to 13, but the database was still in 12, so it wouldn't boot.

This URL saved the day: https://quaran.to/Upgrade-PostgreSQL-from-12-to-13-with-Homebrew

brew services stop postgresql
brew postgresql-upgrade-database
./analyze_new_cluster.sh
brew services start postgresql
ps ax | grep postgres
./analyze_new_cluster.sh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment