zulip/docs/production
Alex Vandiver faf71eea41 upgrade-postgresql: Do not remove other supervisor configs.
We previously used `zulip-puppet-apply` with a custom config file,
with an updated PostgreSQL version but more limited set of
`puppet_classes`, to pre-create the basic settings for the new cluster
before running `pg_upgradecluster`.

Unfortunately, the supervisor config uses `purge => true` to remove
all SUPERVISOR configuration files that are not included in the puppet
configuration; this leads to it removing all other supervisor
processes during the upgrade, only to add them back and start them
during the second `zulip-puppet-apply`.

It also leads to `process-fts-updates` not being started after the
upgrade completes; this is the one supervisor config file which was
not removed and re-added, and thus the one that is not re-started due
to having been re-added.  This was not detected in CI because CI added
a `start-server` command which was not in the upgrade documentation.

Set a custom facter fact that prevents the `purge` behaviour of the
supervisor configuration.  We want to preserve that behaviour in
general, and using `zulip-puppet-apply` continues to be the best way
to pre-set-up the PostgreSQL configuration -- but we wish to avoid
that behaviour when we know we are applying a subset of the puppet
classes.

Since supervisor configs are no longer removed and re-added, this
requires an explicit start-server step in the instructions after the
upgrades complete.  This brings the documentation into alignment with
what CI is testing.
2021-08-24 19:00:58 -07:00
..
authentication-methods.md docs: Fix list item indentation mistakes. 2021-08-20 23:14:37 -07:00
deployment.md docs: Add syntax highlighting languages to code blocks. 2021-08-20 06:14:47 -07:00
email-gateway.md docs: Adjust colon fence for Prettier compatibility. 2021-08-20 23:14:37 -07:00
email.md docs: Add syntax highlighting languages to code blocks. 2021-08-20 06:14:47 -07:00
expensive-migrations.md docs: Add syntax highlighting languages to code blocks. 2021-08-20 06:14:47 -07:00
export-and-import.md docs: Adjust list item indentation for Prettier compatibility. 2021-08-20 23:14:37 -07:00
giphy-gif-integration.md docs: Provide more detailed instructions for requesting API key. 2021-05-27 12:09:40 -07:00
index.md docs: Convert reST index pages to Markdown. 2021-08-20 06:22:42 -07:00
install-existing-server.md docs: Add syntax highlighting languages to code blocks. 2021-08-20 06:14:47 -07:00
install.md docs: Add syntax highlighting languages to code blocks. 2021-08-20 06:14:47 -07:00
maintain-secure-upgrade.md docs: Migrate from recommonmark to MyST-Parser. 2021-08-19 00:53:32 -07:00
management-commands.md docs: Add syntax highlighting languages to code blocks. 2021-08-20 06:14:47 -07:00
mobile-push-notifications.md docs: Add syntax highlighting languages to code blocks. 2021-08-20 06:14:47 -07:00
multiple-organizations.md docs: Add syntax highlighting languages to code blocks. 2021-08-20 06:14:47 -07:00
password-strength.md docs: Migrate from recommonmark to MyST-Parser. 2021-08-19 00:53:32 -07:00
postgresql.md docs: Add missing blockquote. 2021-08-20 23:14:37 -07:00
requirements.md docs: Add syntax highlighting languages to code blocks. 2021-08-20 06:14:47 -07:00
security-model.md docs: Replace chat-zulip-org page with /developer-community/. 2021-07-25 22:17:57 -07:00
settings.md docs: Add syntax highlighting languages to code blocks. 2021-08-20 06:14:47 -07:00
ssl-certificates.md docs: Add syntax highlighting languages to code blocks. 2021-08-20 06:14:47 -07:00
troubleshooting.md docs: Add syntax highlighting languages to code blocks. 2021-08-20 06:14:47 -07:00
upgrade-or-modify.md upgrade-postgresql: Do not remove other supervisor configs. 2021-08-24 19:00:58 -07:00
upload-backends.md docs: Add syntax highlighting languages to code blocks. 2021-08-20 06:14:47 -07:00
video-calls.md docs: Correct Big Blue Button to BigBlueButton. 2021-07-05 16:59:00 -07:00