mirror of
https://github.com/zulip/zulip.git
synced 2025-10-23 04:52:12 +00:00
install: Remove PostgreSQL 13 support.
PostgreSQL 13 reaches end of life on November 13, 2025, and Django 5.2 does not support it. Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
committed by
Tim Abbott
parent
9feba0f16f
commit
80b607c8cb
@@ -64,10 +64,10 @@ if os.path.exists("/etc/init.d/postgresql") and os.path.exists("/etc/zulip/zulip
|
||||
)
|
||||
sys.exit(1)
|
||||
|
||||
if django_pg_version < 13:
|
||||
if django_pg_version < 14:
|
||||
logging.critical("Unsupported PostgreSQL version: %d", postgresql_version)
|
||||
logging.info(
|
||||
"Please upgrade to PostgreSQL 13 or newer first.\n"
|
||||
"Please upgrade to PostgreSQL 14 or newer first.\n"
|
||||
"See https://zulip.readthedocs.io/en/stable/production/"
|
||||
"upgrade.html#upgrading-postgresql"
|
||||
)
|
||||
|
@@ -241,8 +241,8 @@ if [ "$EXTERNAL_HOST" = zulip.example.com ] \
|
||||
fi
|
||||
|
||||
case "$POSTGRESQL_VERSION" in
|
||||
[0-9] | [0-9].* | 1[0-2] | 1[0-2].*)
|
||||
echo "error: PostgreSQL 13 or newer is required." >&2
|
||||
[0-9] | [0-9].* | 1[0-3] | 1[0-3].*)
|
||||
echo "error: PostgreSQL 14 or newer is required." >&2
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
|
Reference in New Issue
Block a user