Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
install: Support Ubuntu 26.04.
Anders Kaseorg34ed22a117d6
diff --git a/.github/workflows/production-suite.yml b/.github/workflows/production-suite.ymlindex 7a1c5f68a52..41d966c597a 100644--- a/.github/workflows/production-suite.yml+++ b/.github/workflows/production-suite.yml@@ -151,6 +151,11 @@ jobs:os: nobleextra-args: ""+ - docker_image: zulip/ci:resolute+ name: Ubuntu 26.04 production install+ os: resolute+ extra-args: ""+- docker_image: zulip/ci:bookwormname: Debian 12 production install with custom db name and useros: bookwormdiff --git a/.github/workflows/zulip-ci.yml b/.github/workflows/zulip-ci.ymlindex 89602c03144..c81f5733d62 100644--- a/.github/workflows/zulip-ci.yml+++ b/.github/workflows/zulip-ci.yml@@ -48,6 +48,12 @@ jobs:os: nobleinclude_documentation_tests: falseinclude_frontend_tests: false+ # Ubuntu 26.04 ships with Python 3.14.4.+ - docker_image: zulip/ci:resolute+ name: Ubuntu 26.04 (Python 3.14, backend)+ os: resolute+ include_documentation_tests: false+ include_frontend_tests: false# Debian 13 ships with Python 3.13.5.- docker_image: zulip/ci:trixiename: Debian 13 (Python 3.13, backend)diff --git a/docs/development/setup-advanced.md b/docs/development/setup-advanced.mdindex 05107815c26..e47358ae37d 100644--- a/docs/development/setup-advanced.md+++ b/docs/development/setup-advanced.md@@ -19,7 +19,7 @@ One can install the Zulip development environment directly on a Linuxhost by following these instructions. Currently supported platformsare:-- Ubuntu 22.04, 24.04+- Ubuntu 22.04, 24.04, 26.04- Debian 12, 13- CentOS 7 (beta)- Fedora 38 (beta)diff --git a/docs/development/setup-recommended.md b/docs/development/setup-recommended.mdindex e12fd511635..39dc6d0be38 100644--- a/docs/development/setup-recommended.md+++ b/docs/development/setup-recommended.md@@ -59,7 +59,7 @@ the internet.):::{tab-item} Ubuntu/Debian:sync: os-ubuntu-- Ubuntu 22.04 or 24.04+- Ubuntu 22.04, 24.04, or 26.04- Debian 12 or 13:::diff --git a/docs/production/requirements.md b/docs/production/requirements.mdindex e53ed281f31..20c07c92ad8 100644--- a/docs/production/requirements.md+++ b/docs/production/requirements.md@@ -6,6 +6,7 @@ To run a Zulip server, you will need:- A supported OS:- Ubuntu 22.04- Ubuntu 24.04+ - Ubuntu 26.04- Debian 12- Debian 13- A supported CPU architecture:@@ -38,7 +39,7 @@ on issues you'll encounter](install-existing-server.md).#### Operating system-Ubuntu 22.04, Ubuntu 24.04, Debian 12, and Debian 13+Ubuntu 22.04, Ubuntu 24.04, Ubuntu 26.04, Debian 12, and Debian 13are supported for running Zulip in production. You can alsorun Zulip on other platforms that support Docker using{doc}`our Docker image <docker:index>`.diff --git a/scripts/lib/install b/scripts/lib/installindex dfe1f0b57cc..f1c6d900a08 100755--- a/scripts/lib/install+++ b/scripts/lib/install@@ -349,6 +349,7 @@ Zulip in production is supported only on:- Debian 13- Ubuntu 22.04 LTS- Ubuntu 24.04 LTS+ - Ubuntu 26.04 LTSEOFfidiff --git a/scripts/lib/setup_venv.py b/scripts/lib/setup_venv.pyindex f002e7c72a8..0ef3f926991 100644--- a/scripts/lib/setup_venv.py+++ b/scripts/lib/setup_venv.py@@ -25,6 +25,7 @@ VENV_DEPENDENCIES = ["libvips", # For thumbnailing"libvips-tools","libicu-dev", # For building pyicu+ "libcrypt-dev", # For building uwsgi]COMMON_YUM_VENV_DEPENDENCIES = [diff --git a/scripts/lib/supported-os b/scripts/lib/supported-osindex 6d6802591d9..b6883d4c238 100755--- a/scripts/lib/supported-os+++ b/scripts/lib/supported-os@@ -16,7 +16,7 @@ if [ -f /etc/os-release ]; thenficase "$os_id $os_version_id" in- 'debian 12' | 'debian 13' | 'ubuntu 22.04' | 'ubuntu 24.04')+ 'debian 12' | 'debian 13' | 'ubuntu 22.04' | 'ubuntu 24.04' | 'ubuntu 26.04')exit 0;;*)diff --git a/scripts/setup/apt-repos/zulip/custom.sh b/scripts/setup/apt-repos/zulip/custom.shindex ee363c7d65a..8d50665b704 100755--- a/scripts/setup/apt-repos/zulip/custom.sh+++ b/scripts/setup/apt-repos/zulip/custom.sh@@ -1,7 +1,14 @@#!/usr/bin/env bashset -euo pipefail-if [[ ! -e /usr/share/doc/groonga-apt-source/copyright ]]; then+os_info="$(. /etc/os-release && printf '%s\n' "$ID" "$VERSION_ID" "$VERSION_CODENAME")"+{+ read -r os_id+ read -r os_version_id+ read -r os_version_codename+} <<<"$os_info"++if [ ! -e /usr/share/doc/groonga-apt-source/copyright ] && [ "$os_id $os_version_id" != "ubuntu 26.04" ]; thenpgroonga_apt_sign_key=$(readlink -f "$LIST_PATH/pgroonga-packages.groonga.org.asc")remove_pgroonga_apt_tmp_dir() {@@ -21,16 +28,11 @@ if [[ ! -e /usr/share/doc/groonga-apt-source/copyright ]]; then| cut --delimiter=: --fields=10 \| head --lines=1)- os_info="$(. /etc/os-release && printf '%s\n' "$ID" "$VERSION_CODENAME")"- {- read -r distribution- read -r release- } <<<"$os_info"- groonga_apt_source_deb="groonga-apt-source-latest-$release.deb"+ groonga_apt_source_deb="groonga-apt-source-latest-$os_version_codename.deb"groonga_apt_source_deb_sign="$groonga_apt_source_deb.asc.$pgroonga_apt_sign_key_fingerprint"- curl -fLO --retry 3 "https://packages.groonga.org/$distribution/$groonga_apt_source_deb"- curl -fLO --retry 3 "https://packages.groonga.org/$distribution/$groonga_apt_source_deb_sign"+ curl -fLO --retry 3 "https://packages.groonga.org/$os_id/$groonga_apt_source_deb"+ curl -fLO --retry 3 "https://packages.groonga.org/$os_id/$groonga_apt_source_deb_sign"gpg \--homedir="$tmp_gpg_home" \--verify \@@ -38,7 +40,7 @@ if [[ ! -e /usr/share/doc/groonga-apt-source/copyright ]]; then"$groonga_apt_source_deb"# To suppress the following warning by "apt-get install":# N: Download is performed unsandboxed as root as file- # '.../groonga-apt-source-latest-$release.deb' couldn't be+ # '.../groonga-apt-source-latest-$os_version_codename.deb' couldn't be# accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied)chown _apt .diff --git a/scripts/setup/apt-repos/zulip/resolute.list b/scripts/setup/apt-repos/zulip/resolute.listnew file mode 100644index 00000000000..4f22754ea97--- /dev/null+++ b/scripts/setup/apt-repos/zulip/resolute.list@@ -0,0 +1,6 @@+deb [signed-by=/etc/apt/keyrings/pgdg.asc] http://apt.postgresql.org/pub/repos/apt/ resolute-pgdg main+deb-src [signed-by=/etc/apt/keyrings/pgdg.asc] http://apt.postgresql.org/pub/repos/apt/ resolute-pgdg main++# Not available for Ubuntu 26.04 yet+#deb [signed-by=/etc/apt/keyrings/pgroonga-ppa.asc] http://ppa.launchpad.net/groonga/ppa/ubuntu resolute main+#deb-src [signed-by=/etc/apt/keyrings/pgroonga-ppa.asc] http://ppa.launchpad.net/groonga/ppa/ubuntu resolute maindiff --git a/tools/ci/build-docker-images b/tools/ci/build-docker-imagesindex 3ad2f12e97f..b1cc273882a 100755--- a/tools/ci/build-docker-images+++ b/tools/ci/build-docker-images@@ -3,5 +3,6 @@ set -euxcd "$(dirname "${BASH_SOURCE[0]}")"docker build . --build-arg=BASE_IMAGE=ubuntu:22.04 --pull --tag=zulip/ci:jammydocker build . --build-arg=BASE_IMAGE=ubuntu:24.04 --pull --tag=zulip/ci:noble+docker build . --build-arg=BASE_IMAGE=ubuntu:26.04 --pull --tag=zulip/ci:resolutedocker build . --build-arg=BASE_IMAGE=debian:12 --pull --tag=zulip/ci:bookwormdocker build . --build-arg=BASE_IMAGE=debian:13 --pull --tag=zulip/ci:trixiediff --git a/tools/lib/provision.py b/tools/lib/provision.pyindex 0715d0ea4bd..ac8cde6a1bb 100755--- a/tools/lib/provision.py+++ b/tools/lib/provision.py@@ -82,6 +82,8 @@ elif vendor == "ubuntu" and os_version == "22.04": # jammyPOSTGRESQL_VERSION = "14"elif vendor == "ubuntu" and os_version == "24.04": # noblePOSTGRESQL_VERSION = "16"+elif vendor == "ubuntu" and os_version == "26.04": # resolute+ POSTGRESQL_VERSION = "18"elif vendor == "fedora" and os_version == "38":POSTGRESQL_VERSION = "15"elif vendor == "rhel" and os_version.startswith("7."):@@ -151,7 +153,7 @@ COMMON_YUM_DEPENDENCIES = [BUILD_GROONGA_FROM_SOURCE = FalseBUILD_PGROONGA_FROM_SOURCE = False-if vendor == "debian" and os_version == "13":+if (vendor == "debian" and os_version == "13") or (vendor == "ubuntu" and os_version == "26.04"):# For platforms without a PGroonga release, we need to build it# from source.BUILD_PGROONGA_FROM_SOURCE = True