Archived
fix(installer): support Ubuntu 26.04
This commit is contained in:
4 files changed
+19
-14
No files matched your search
@@ -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
|
||||
|
||||
@@ -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 \
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in new issue
Block a user