zulip/docs/production
Alex Vandiver 0d7dbd1b07 puppet: Apply basic PostgreSQL configuration before pg_upgradecluster.
Running `pg-upgradecluster` runs the `CREATE TEXT SEARCH DICTIONARY`
and `CREATE TEXT SEARCH CONFIGURATION` from
`zerver/migrations/0001_initial.py` on the new PostgreSQL cluster;
this requires that the stopwords file and dictionary exist _prior_
to `pg_upgradecluster` being run.

This causes a minor dependency conflict -- we do not wish to duplicate
the functionality from `zulip::postgres_appdb_base` which configures
those files, but installing all of `zulip::postgres_appdb_tuned` will
attempt to restart PostgreSQL -- which has not configured the cluster
for the new version yet.

In order to split out configuration of the prerequisites for the
application database, and the steps required to run it, we need to be
able to apply only part of the puppet configuration.  Use the
newly-added `--config` argument to provide a more limited `zulip.conf`
which only applies `zulip::postgres_appdb_base` to the new version of
Postgres, creating the required tsearch data files.

This also preserves the property that a failure at any point prior to
the `pg_upgradecluster` is easily recoverable, by re-running
`zulip-puppet-apply`.
2020-07-06 18:30:16 -07:00
..
authentication-methods.md docs: Change next planned major release to 3.0. 2020-06-24 16:27:27 -07:00
deployment.md installer: Remove `--remote-postgres`, redundant with `--no-init-db`. 2020-06-24 12:57:38 -07:00
email-gateway.md docs: Update URLs to use https://zulip.com. 2020-06-08 18:10:45 -07:00
email.md docs: Document EMAIL_USE_SSL for smtp providers on port 465. 2020-03-27 00:25:49 -07:00
expensive-migrations.md models: Add new UserMessage flag active_mobile_push_notification. 2018-08-01 16:51:56 -07:00
export-and-import.md docs: Fix references to removed puppet rules. 2020-06-14 12:47:22 -07:00
index.rst compose: Rewrite Zoom video call integration to use OAuth. 2020-06-03 16:39:12 -07:00
install-existing-server.md installer: Halt if wrong version of PostgreSQL is already installed. 2020-06-24 12:57:38 -07:00
install.md docs: Update URLs to use https://zulip.com. 2020-06-08 18:10:45 -07:00
maintain-secure-upgrade.md docs: Split maintain-secure-upgrade into dedicated docs. 2019-11-22 10:21:20 -08:00
management-commands.md docs: Update URLs to use https://zulip.com. 2020-06-08 18:10:45 -07:00
mobile-push-notifications.md docs: Update URLs to use https://zulip.com. 2020-06-08 18:10:45 -07:00
multiple-organizations.md docs: Update URLs to use https://zulip.com. 2020-06-08 18:10:45 -07:00
password-strength.md docs: Convert many http URLs to https. 2020-03-26 21:35:32 -07:00
postgres.md docs: Highlight that Zulip now defaults to postgres 12. 2020-06-26 16:26:57 -07:00
requirements.md docs: Update production supported releases. 2020-06-08 22:11:28 -07:00
security-model.md help: Add basic documentation of organization owners. 2020-06-10 14:07:46 -07:00
settings.md docs: Update URLs to use https://zulip.com. 2020-06-08 18:10:45 -07:00
ssl-certificates.md docs: Update URLs to use https://zulip.com. 2020-06-08 18:10:45 -07:00
troubleshooting.md docs: Update most remaining references to zulipchat.com. 2020-06-08 18:10:45 -07:00
upgrade-or-modify.md puppet: Apply basic PostgreSQL configuration before pg_upgradecluster. 2020-07-06 18:30:16 -07:00
upload-backends.md docs: Link to section on migrating local -> S3 storage. 2020-05-19 14:08:44 -07:00
zoom-configuration.md docs: Update URLs to use https://zulip.com. 2020-06-08 18:10:45 -07:00