From 4ac4a6d636b213fb02df146fe45241eca096ba44 Mon Sep 17 00:00:00 2001 From: Meghdad <61308304+MeghdadFadaee@users.noreply.github.com> Date: Thu, 13 Aug 2026 03:33:25 +0330 Subject: [PATCH] fix(installer): support Ubuntu 26.04 --- .github/ISSUE_TEMPLATE/bug_report.yml | 2 ++ README.md | 12 ++++++------ docs/nginx-certbot.md | 10 +++++----- scripts/install-server.sh | 9 ++++++--- 4 files changed, 19 insertions(+), 14 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml index 1df5210..6e7debe 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.yml +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -20,6 +20,8 @@ body: options: - Ubuntu 24.04 amd64 - Ubuntu 24.04 arm64 + - Ubuntu 26.04 amd64 + - Ubuntu 26.04 arm64 - Debian 13 amd64 - Debian 13 arm64 - Development workstation diff --git a/README.md b/README.md index e88fa08..20c00e3 100644 --- a/README.md +++ b/README.md @@ -34,7 +34,7 @@ Mail bodies and attachments never enter the MEOVV SQLite database. ## Host requirements -- Ubuntu 24.04 or Debian 13 on amd64 or arm64 +- Ubuntu 24.04, Ubuntu 26.04, or Debian 13 on amd64 or arm64 - Docker Engine with the Compose plugin - Host-managed Nginx and Certbot - 4 vCPU, 8 GB RAM, and SSD storage for the reference 500-account deployment @@ -46,11 +46,11 @@ Direct delivery also needs working reverse DNS and acceptable IP reputation. If ## Install -For a fresh Ubuntu 24.04 or Debian 13 server, clone this repository and run the -host installer from the repository root. It installs Docker Engine with the -Compose plugin, Nginx, Certbot, and required host utilities; initializes MEOVV; -obtains the first Let's Encrypt certificate; installs renewal and proxy -configuration; and starts the appliance: +For a fresh Ubuntu 24.04, Ubuntu 26.04, or Debian 13 server, clone this +repository and run the host installer from the repository root. It installs +Docker Engine with the Compose plugin, Nginx, Certbot, and required host +utilities; initializes MEOVV; obtains the first Let's Encrypt certificate; +installs renewal and proxy configuration; and starts the appliance: ```bash sudo ./scripts/install-server.sh install \ diff --git a/docs/nginx-certbot.md b/docs/nginx-certbot.md index 49f7b7f..91704ac 100644 --- a/docs/nginx-certbot.md +++ b/docs/nginx-certbot.md @@ -20,11 +20,11 @@ sudo ./scripts/install-server.sh install \ ``` Run it from the cloned repository root, or pass the repository's absolute path -with `--bundle-dir`. It supports Ubuntu 24.04 and Debian 13. Before running it, -point the hostname's A/AAAA record at the server and allow inbound port 80. The -script obtains a certificate using Certbot's webroot flow, enables the final -route split, copies the certificate into MEOVV's protected secrets directory, -installs the renewal hook, and starts both containers. +with `--bundle-dir`. It supports Ubuntu 24.04, Ubuntu 26.04, and Debian 13. +Before running it, point the hostname's A/AAAA record at the server and allow +inbound port 80. The script obtains a certificate using Certbot's webroot flow, +enables the final route split, copies the certificate into MEOVV's protected +secrets directory, installs the renewal hook, and starts both containers. It deliberately leaves DNS, PTR records, provider firewall rules, SSH, and UFW to the operator. It also stops when it finds a conflicting unmanaged Nginx site diff --git a/scripts/install-server.sh b/scripts/install-server.sh index 5db33a3..30bf44f 100755 --- a/scripts/install-server.sh +++ b/scripts/install-server.sh @@ -45,7 +45,7 @@ trap cleanup EXIT usage() { cat <<'EOF' -Install and operate MEOVV Mail prerequisites on Ubuntu 24.04 or Debian 13. +Install and operate MEOVV Mail prerequisites on Ubuntu 24.04/26.04 or Debian 13. Usage: sudo ./scripts/install-server.sh install \ @@ -164,13 +164,16 @@ detect_platform() { case "${ID:-}" in ubuntu) - [[ "${VERSION_ID:-}" == "24.04" ]] || die "Ubuntu 24.04 is required; found ${VERSION_ID:-unknown}" + case "${VERSION_ID:-}" in + 24.04|26.04) ;; + *) die "supported Ubuntu releases are 24.04 and 26.04; found ${VERSION_ID:-unknown}" ;; + esac ;; debian) [[ "${VERSION_ID:-}" == "13" ]] || die "Debian 13 is required; found ${VERSION_ID:-unknown}" ;; *) - die "supported systems are Ubuntu 24.04 and Debian 13; found ${ID:-unknown}" + die "supported systems are Ubuntu 24.04/26.04 and Debian 13; found ${ID:-unknown}" ;; esac