docs: Document when to restart the server.

This commit is contained in:
Alex Vandiver 2024-07-31 18:04:01 +00:00 committed by Tim Abbott
parent 5e5478307a
commit 49a9405aad
1 changed files with 22 additions and 9 deletions

View File

@ -329,6 +329,9 @@ instructions for other supported platforms.
currently installed version. But it's not important; the next currently installed version. But it's not important; the next
step will re-install Zulip's configuration in any case. step will re-install Zulip's configuration in any case.
The `do-release-upgrade` tool will complete by prompting you to
restart the system; press `N`, as we will do so later.
4. Next, we need to reinstall the current version of Zulip, which 4. Next, we need to reinstall the current version of Zulip, which
among other things will recompile Zulip's Python module among other things will recompile Zulip's Python module
dependencies for your new version of Python and rewrite Zulip's dependencies for your new version of Python and rewrite Zulip's
@ -341,16 +344,21 @@ instructions for other supported platforms.
/home/zulip/deployments/current/ --ignore-static-assets --audit-fts-indexes /home/zulip/deployments/current/ --ignore-static-assets --audit-fts-indexes
``` ```
This will finish by restarting your Zulip server; you should now be
able to navigate to its URL and confirm everything is working
correctly.
5. As root, upgrade the database to the latest version of PostgreSQL: 5. As root, upgrade the database to the latest version of PostgreSQL:
```bash ```bash
/home/zulip/deployments/current/scripts/setup/upgrade-postgresql /home/zulip/deployments/current/scripts/setup/upgrade-postgresql
``` ```
6. As root, restart the server:
```bash
reboot
```
You should now be able to navigate to your Zulip server's URL and
confirm everything is working correctly.
### Upgrading from Ubuntu 18.04 Bionic to 20.04 Focal ### Upgrading from Ubuntu 18.04 Bionic to 20.04 Focal
1. Upgrade your server to the latest Zulip `3.x` or `4.x` release (at 1. Upgrade your server to the latest Zulip `3.x` or `4.x` release (at
@ -382,6 +390,9 @@ instructions for other supported platforms.
currently installed version. But it's not important; the next currently installed version. But it's not important; the next
step will re-install Zulip's configuration in any case. step will re-install Zulip's configuration in any case.
The `do-release-upgrade` tool will complete by prompting you to
restart the system; press `N`, as we will do so later.
4. Next, we need to reinstall the current version of Zulip, which 4. Next, we need to reinstall the current version of Zulip, which
among other things will recompile Zulip's Python module among other things will recompile Zulip's Python module
dependencies for your new version of Python and rewrite Zulip's dependencies for your new version of Python and rewrite Zulip's
@ -394,10 +405,6 @@ instructions for other supported platforms.
/home/zulip/deployments/current/ --ignore-static-assets --audit-fts-indexes /home/zulip/deployments/current/ --ignore-static-assets --audit-fts-indexes
``` ```
This will finish by restarting your Zulip server; you should now be
able to navigate to its URL and confirm everything is working
correctly.
5. As root, upgrade the database to the latest version of PostgreSQL: 5. As root, upgrade the database to the latest version of PostgreSQL:
```bash ```bash
@ -413,7 +420,13 @@ instructions for other supported platforms.
/home/zulip/deployments/current/scripts/setup/reindex-textual-data --force /home/zulip/deployments/current/scripts/setup/reindex-textual-data --force
``` ```
7. [Upgrade from Ubuntu 20.04 to 7. As root, restart the server:
```bash
reboot
```
8. [Upgrade from Ubuntu 20.04 to
22.04](#upgrading-from-ubuntu-2004-focal-to-2204-jammy), so that 22.04](#upgrading-from-ubuntu-2004-focal-to-2204-jammy), so that
you are running a supported operating system. you are running a supported operating system.