Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
docs: Swap upgrade-postgresql steps with rebuilding the venv.
Alex Vandiver5e5478307a80
diff --git a/docs/production/upgrade.md b/docs/production/upgrade.mdindex e3ea04c6e08..f8a015d80b4 100644--- a/docs/production/upgrade.md+++ b/docs/production/upgrade.md@@ -329,13 +329,7 @@ instructions for other supported platforms.currently installed version. But it's not important; the nextstep will re-install Zulip's configuration in any case.-4. As root, upgrade the database to the latest version of PostgreSQL:-- ```bash- /home/zulip/deployments/current/scripts/setup/upgrade-postgresql- ```--5. Next, we need to reinstall the current version of Zulip, which+4. Next, we need to reinstall the current version of Zulip, whichamong other things will recompile Zulip's Python moduledependencies for your new version of Python and rewrite Zulip'sfull-text search indexes to work with the upgraded dictionary@@ -351,6 +345,12 @@ instructions for other supported platforms.able to navigate to its URL and confirm everything is workingcorrectly.+5. As root, upgrade the database to the latest version of PostgreSQL:++ ```bash+ /home/zulip/deployments/current/scripts/setup/upgrade-postgresql+ ```+### Upgrading from Ubuntu 18.04 Bionic to 20.04 Focal1. Upgrade your server to the latest Zulip `3.x` or `4.x` release (at@@ -382,13 +382,7 @@ instructions for other supported platforms.currently installed version. But it's not important; the nextstep will re-install Zulip's configuration in any case.-4. As root, upgrade the database to the latest version of PostgreSQL:-- ```bash- /home/zulip/deployments/current/scripts/setup/upgrade-postgresql- ```--5. Next, we need to reinstall the current version of Zulip, which+4. Next, we need to reinstall the current version of Zulip, whichamong other things will recompile Zulip's Python moduledependencies for your new version of Python and rewrite Zulip'sfull-text search indexes to work with the upgraded dictionary@@ -404,6 +398,12 @@ instructions for other supported platforms.able to navigate to its URL and confirm everything is workingcorrectly.+5. As root, upgrade the database to the latest version of PostgreSQL:++ ```bash+ /home/zulip/deployments/current/scripts/setup/upgrade-postgresql+ ```+6. Finally, Ubuntu 20.04 has a different version of the low-levelglibc library, which affects how PostgreSQL orders text data (knownas "collations"); this corrupts database indexes that rely on