install: Switch default to PostgreSQL 14.

This commit is contained in:
Alex Vandiver 2021-11-06 02:10:55 +00:00 committed by Tim Abbott
parent 8a1bb43b23
commit 544e8c569e
5 changed files with 9 additions and 9 deletions

View File

@ -52,7 +52,7 @@ as well as those mentioned in the
[install](../production/install.html#installer-options) documentation:
- `--postgresql-version`: Sets the version of PostgreSQL that will be
installed. We currently support PostgreSQL 10, 11, 12, and 13.
installed. We currently support PostgreSQL 10, 11, 12, 13, and 14.
- `--postgresql-database-name=exampledbname`: With this option, you
can customize the default database name. If you do not set this. The

View File

@ -1,14 +1,14 @@
# PostgreSQL database details
Starting with Zulip 3.0, Zulip supports a range of PostgreSQL
versions. PostgreSQL 13 is the current default for new installations;
PostgreSQL 10, 11, and 12 are all supported.
versions. PostgreSQL 14 is the current default for new installations;
PostgreSQL 10, 11, 12, and 13 are all supported.
Previous versions of Zulip used whatever version of PostgreSQL was
included with the base operating system (E.g. PostgreSQL 12 on Ubuntu
Focal, 10 on Ubuntu Bionic, and 9.6 on Ubuntu Xenial). We recommend
that installations currently using older PostgreSQL releases [upgrade
to PostgreSQL 13][upgrade-postgresql], as we may drop support for
to PostgreSQL 14][upgrade-postgresql], as we may drop support for
older PostgreSQL in a future release.
[upgrade-postgresql]: ../production/upgrade-or-modify.html#upgrading-postgresql

View File

@ -541,9 +541,9 @@ instructions for other supported platforms.
## Upgrading PostgreSQL
Starting with Zulip 3.0, we use the latest available version of
PostgreSQL at installation time (currently version 13). Upgrades to
PostgreSQL at installation time (currently version 14). Upgrades to
the version of PostgreSQL are no longer linked to upgrades of the
distribution; that is, you may opt to upgrade to PostgreSQL 13 while
distribution; that is, you may opt to upgrade to PostgreSQL 14 while
running Ubuntu 18.04 Bionic.
To upgrade the version of PostgreSQL on the Zulip server:

View File

@ -32,7 +32,7 @@ Options:
Sets the PostgreSQL database name.
--postgresql-database-user=zulip
Sets the PostgreSQL database user.
--postgresql-version=13
--postgresql-version=14
Sets the version of PostgreSQL that will be installed.
--postgresql-missing-dictionaries
Set postgresql.missing_dictionaries, which alters the initial database. Use with
@ -140,7 +140,7 @@ read -r -a ADDITIONAL_PACKAGES <<<"${ADDITIONAL_PACKAGES:-}"
# e.g. zulip::profile::app_frontend for a Zulip frontend server.
PUPPET_CLASSES="${PUPPET_CLASSES:-zulip::profile::standalone}"
VIRTUALENV_NEEDED="${VIRTUALENV_NEEDED:-yes}"
POSTGRESQL_VERSION="${POSTGRESQL_VERSION:-13}"
POSTGRESQL_VERSION="${POSTGRESQL_VERSION:-14}"
if [ -n "$SELF_SIGNED_CERT" ] && [ -n "$USE_CERTBOT" ]; then
set +x

View File

@ -6,7 +6,7 @@ if [ "$EUID" -ne 0 ]; then
exit 1
fi
UPGRADE_TO=${1:-13}
UPGRADE_TO=${1:-14}
UPGRADE_FROM=$(crudini --get /etc/zulip/zulip.conf postgresql version)
ZULIP_PATH="$(dirname "$0")/../.."