zulip/docs
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
..
_static travis: Removed screen cast of Travis setup. 2020-06-01 14:12:11 -07:00
_templates compose: Rewrite Zoom video call integration to use OAuth. 2020-06-03 16:39:12 -07:00
contributing refactor: Rename test_bugdown.py to test_markdown.py. 2020-06-26 17:08:37 -07:00
development auth: Add Sign in with Apple support. 2020-06-09 17:29:35 -07:00
documentation refactor: Rename zerver.lib.bugdown to zerver.lib.markdown . 2020-06-26 17:08:37 -07:00
git docs: Fix typo using.md. 2020-06-18 13:16:43 -07:00
images doc: Updated CircleCI setup documentation. 2020-06-01 14:12:11 -07:00
overview Release Zulip Server 3.0-rc1. 2020-07-01 17:47:24 -07:00
production puppet: Apply basic PostgreSQL configuration before pg_upgradecluster. 2020-07-06 18:30:16 -07:00
subsystems docs: Update description of how narrow positions works. 2020-07-03 16:00:14 -07:00
testing tools: Move CI docker images files into tools/ci. 2020-06-29 16:31:43 -07:00
translating docs: Clarify variable variants in translating docs. 2020-06-24 11:34:00 -07:00
tutorials audit_log: Log RealmAuditLog in do_set_realm_authentication_methods. 2020-07-06 17:38:20 -07:00
.gitignore gitignore: Anchor patterns that should be anchored. 2017-07-19 14:03:49 -07:00
Makefile docs: Replace Makefile based on output of newer sphinx-quickstart. 2019-12-02 18:39:33 -08:00
README.md docs: Add README.md to zulip/docs to prevent reading on GitHub. 2018-04-24 10:50:39 -07:00
THIRDPARTY refactor: Rename zerver.lib.bugdown to zerver.lib.markdown . 2020-06-26 17:08:37 -07:00
code-of-conduct.md repository: Add CODE_OF_CONDUCT.md. 2017-06-14 18:43:08 -07:00
conf.py docs: Add missing mypy annotation. 2020-07-06 11:25:48 -07:00
index.rst docs: Update URLs to use https://zulip.com. 2020-06-08 18:10:45 -07:00
requirements.readthedocs.txt requirements: Rename requirements files. 2017-11-21 02:38:26 +05:30

README.md

Zulip markdown documentation hosted elsewhere

The markdown files in this directory ( /zulip/docs ) are not intended to be read on GitHub. Instead, visit our ReadTheDocs to read the Zulip documentation.