Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

docs: Update Bionic -> Focal database upgrade steps for db tool.

Alex Vandiverf642c7c568e8
diff --git a/docs/production/upgrade-or-modify.md b/docs/production/upgrade-or-modify.md
index 1405ef3dc6d..122066f67a3 100644
--- a/docs/production/upgrade-or-modify.md
+++ b/docs/production/upgrade-or-modify.md
@@ -226,26 +226,15 @@ instructions for other supported platforms.
currently installed version. But it's not important; the next
step will re-install Zulip's configuration in any case.
-4. As root, upgrade the database installation and OS configuration to
- match the new OS version:
+4. As root, upgrade the database to the latest version of PostgreSQL:
```
- touch /usr/share/postgresql/12/pgroonga_setup.sql.applied
- /home/zulip/deployments/current/scripts/zulip-puppet-apply -f
- pg_dropcluster 12 main --stop
- systemctl stop postgresql
- pg_upgradecluster 10 main
- pg_dropcluster 10 main
- apt remove postgresql-10
- systemctl start postgresql
- systemctl restart memcached
+ /home/zulip/deployments/current/scripts/setup/upgrade-postgres
```
-5. At this point, you are now running the version of postgres that
- comes with the new Ubuntu version. Finally, we need to reinstall
- the current version of Zulip, which among other things will
- recompile Zulip's Python module dependencies for your new version
- of Python:
+5. Finally, we need to reinstall the current version of Zulip, which
+ among other things will recompile Zulip's Python module
+ dependencies for your new version of Python:
```
rm -rf /srv/zulip-venv-cache/*