mirror of https://github.com/zulip/zulip.git
install: Switch default to PostgreSQL 14.
This commit is contained in:
parent
8a1bb43b23
commit
544e8c569e
|
@ -52,7 +52,7 @@ as well as those mentioned in the
|
||||||
[install](../production/install.html#installer-options) documentation:
|
[install](../production/install.html#installer-options) documentation:
|
||||||
|
|
||||||
- `--postgresql-version`: Sets the version of PostgreSQL that will be
|
- `--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
|
- `--postgresql-database-name=exampledbname`: With this option, you
|
||||||
can customize the default database name. If you do not set this. The
|
can customize the default database name. If you do not set this. The
|
||||||
|
|
|
@ -1,14 +1,14 @@
|
||||||
# PostgreSQL database details
|
# PostgreSQL database details
|
||||||
|
|
||||||
Starting with Zulip 3.0, Zulip supports a range of PostgreSQL
|
Starting with Zulip 3.0, Zulip supports a range of PostgreSQL
|
||||||
versions. PostgreSQL 13 is the current default for new installations;
|
versions. PostgreSQL 14 is the current default for new installations;
|
||||||
PostgreSQL 10, 11, and 12 are all supported.
|
PostgreSQL 10, 11, 12, and 13 are all supported.
|
||||||
|
|
||||||
Previous versions of Zulip used whatever version of PostgreSQL was
|
Previous versions of Zulip used whatever version of PostgreSQL was
|
||||||
included with the base operating system (E.g. PostgreSQL 12 on Ubuntu
|
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
|
Focal, 10 on Ubuntu Bionic, and 9.6 on Ubuntu Xenial). We recommend
|
||||||
that installations currently using older PostgreSQL releases [upgrade
|
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.
|
older PostgreSQL in a future release.
|
||||||
|
|
||||||
[upgrade-postgresql]: ../production/upgrade-or-modify.html#upgrading-postgresql
|
[upgrade-postgresql]: ../production/upgrade-or-modify.html#upgrading-postgresql
|
||||||
|
|
|
@ -541,9 +541,9 @@ instructions for other supported platforms.
|
||||||
## Upgrading PostgreSQL
|
## Upgrading PostgreSQL
|
||||||
|
|
||||||
Starting with Zulip 3.0, we use the latest available version of
|
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
|
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.
|
running Ubuntu 18.04 Bionic.
|
||||||
|
|
||||||
To upgrade the version of PostgreSQL on the Zulip server:
|
To upgrade the version of PostgreSQL on the Zulip server:
|
||||||
|
|
|
@ -32,7 +32,7 @@ Options:
|
||||||
Sets the PostgreSQL database name.
|
Sets the PostgreSQL database name.
|
||||||
--postgresql-database-user=zulip
|
--postgresql-database-user=zulip
|
||||||
Sets the PostgreSQL database user.
|
Sets the PostgreSQL database user.
|
||||||
--postgresql-version=13
|
--postgresql-version=14
|
||||||
Sets the version of PostgreSQL that will be installed.
|
Sets the version of PostgreSQL that will be installed.
|
||||||
--postgresql-missing-dictionaries
|
--postgresql-missing-dictionaries
|
||||||
Set postgresql.missing_dictionaries, which alters the initial database. Use with
|
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.
|
# e.g. zulip::profile::app_frontend for a Zulip frontend server.
|
||||||
PUPPET_CLASSES="${PUPPET_CLASSES:-zulip::profile::standalone}"
|
PUPPET_CLASSES="${PUPPET_CLASSES:-zulip::profile::standalone}"
|
||||||
VIRTUALENV_NEEDED="${VIRTUALENV_NEEDED:-yes}"
|
VIRTUALENV_NEEDED="${VIRTUALENV_NEEDED:-yes}"
|
||||||
POSTGRESQL_VERSION="${POSTGRESQL_VERSION:-13}"
|
POSTGRESQL_VERSION="${POSTGRESQL_VERSION:-14}"
|
||||||
|
|
||||||
if [ -n "$SELF_SIGNED_CERT" ] && [ -n "$USE_CERTBOT" ]; then
|
if [ -n "$SELF_SIGNED_CERT" ] && [ -n "$USE_CERTBOT" ]; then
|
||||||
set +x
|
set +x
|
||||||
|
|
|
@ -6,7 +6,7 @@ if [ "$EUID" -ne 0 ]; then
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
UPGRADE_TO=${1:-13}
|
UPGRADE_TO=${1:-14}
|
||||||
UPGRADE_FROM=$(crudini --get /etc/zulip/zulip.conf postgresql version)
|
UPGRADE_FROM=$(crudini --get /etc/zulip/zulip.conf postgresql version)
|
||||||
ZULIP_PATH="$(dirname "$0")/../.."
|
ZULIP_PATH="$(dirname "$0")/../.."
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue