docs: Fold FTS index updating into the upgrade step.

On the Debian 10 -> 11 upgrade, the server is running Zulip 4.x, which
lets us pass `--audit-fts-indexes` to `upgrade-zulip-stage-2` rather
than run the command as a separate step.
This commit is contained in:
Alex Vandiver 2022-04-05 17:34:48 -07:00 committed by Tim Abbott
parent 1e3a6984a4
commit 488aaef9b7
1 changed files with 2 additions and 8 deletions

View File

@ -448,7 +448,7 @@ instructions for other supported platforms.
```bash
rm -rf /srv/zulip-venv-cache/*
/home/zulip/deployments/current/scripts/lib/upgrade-zulip-stage-2 \
/home/zulip/deployments/current/ --ignore-static-assets
/home/zulip/deployments/current/ --ignore-static-assets --audit-fts-indexes
```
This will finish by restarting your Zulip server; you should now
@ -464,13 +464,7 @@ instructions for other supported platforms.
/home/zulip/deployments/current/scripts/setup/reindex-textual-data --force
```
7. As root, finish by verifying the contents of the full-text indexes:
```bash
/home/zulip/deployments/current/manage.py audit_fts_indexes
```
8. As an additional step, you can also [upgrade the postgresql version](#upgrading-postgresql).
7. As an additional step, you can also [upgrade the postgresql version](#upgrading-postgresql).
### Upgrading from Debian 9 to 10