Upgrade from Zulip 5 to Zulip 6 requires updating PostgreSQL version from 10 to 14.
Upgrade is supposed to be done by following these instructions. However, they are only possible, if Zulip installation is NOT dockerized. When installing Zulip with Docker, postgresql database runs in a separate container. Therefore, pg_upgradecluster
command in Zulip container does not make sense and will fail, because the old database is not running locally.
So how are we supposed to upgrade the Zulip database in this case?
In order to make this possible, I’ve developed a database upgrade utility container based on tianon/docker-postgres-upgrade. It installs PostgreSQL versions 10 and 14 simultaneously and performs an update via pg_upgrade
. Additionally, the required pgroonga
, hunspell-en-us
, and Zulip stop words are installed.
Please find the utility and usage instruction here: https://github.com/dmikushin/zulip-postgres-upgrade
Dmitry Mikushin
If you need help with Machine Learning, Computer Vision or with GPU computing in general, please reach out to us at Applied Parallel Computing LLC.