|
| 1 | +# VortexPanel 3.11.0 |
| 2 | + |
| 3 | +All App Store software and all VortexPanel Apps now come from the VortexPanel |
| 4 | +download server (Cloudflare R2): built, tested and signed by an automated |
| 5 | +pipeline, installed and updated from one place, without a panel release. |
| 6 | + |
| 7 | +## New: VortexPanel software builds |
| 8 | + |
| 9 | +The App Store installs and updates server software from the VortexPanel download |
| 10 | +server (`https://dl.vortexpanel.dev`) for every supported system, instead of the |
| 11 | +operating system's package sources. |
| 12 | + |
| 13 | +| Kind | Software | |
| 14 | +|---|---| |
| 15 | +| Web servers | Nginx (with the ModSecurity module), Apache2, OpenLiteSpeed, Caddy, Caddy WAF | |
| 16 | +| Databases | MySQL, MariaDB, PostgreSQL, MongoDB, Redis, Memcached | |
| 17 | +| Languages and tools | PHP 8.1 to 8.5, Node.js, Python, Composer, Docker (with Compose and Buildx), Supervisor | |
| 18 | +| Security | Fail2ban, ClamAV, ModSecurity (v3 library for Nginx, mod_security2 in the Apache build) | |
| 19 | +| DNS and FTP | BIND9, DDNS Manager (ddclient), Pure-FTPd | |
| 20 | +| Mirrored release files | phpMyAdmin, Adminer, Roundcube, Anubis Bot Protection, ffmpeg, OWASP Core Rule Set (ModSecurity WAF rules) | |
| 21 | + |
| 22 | +- **Automatic pipeline.** Every 24 hours a GitHub Actions workflow: |
| 23 | + - finds new upstream releases |
| 24 | + - has them reviewed by AI (security fixes, CVEs, breaking changes, release notes) |
| 25 | + - builds them for AlmaLinux / Rocky / RHEL / Oracle / CentOS Stream / CloudLinux |
| 26 | + 8, 9 and 10, Ubuntu 22.04 and 24.04 and Debian 12 and 13, on x86_64 and ARM |
| 27 | + - installs each build on a fresh system with the panel's own engine and |
| 28 | + smoke-tests it |
| 29 | + - uploads the builds to R2 and signs the catalog |
| 30 | +- **Mirrored tools.** Tools installed from a released file (phpMyAdmin, Adminer, |
| 31 | + Roundcube, Anubis, ffmpeg, OWASP CRS) are copied to R2, checked against the |
| 32 | + upstream checksum where one is published, and installed only from that copy |
| 33 | + with the checksum from the signed catalog. |
| 34 | +- **Signed and checked.** Panels accept only a catalog signed with the VortexPanel |
| 35 | + key and never an older one, and check every download against its SHA-256. |
| 36 | +- **Safe updates.** |
| 37 | + - The new version is installed next to the current one in |
| 38 | + `/usr/local/vortex/<app>/<version>`, started and health-checked. If it does not |
| 39 | + start, the previous version comes back automatically. |
| 40 | + - Databases: the data folder is copied before an update (the update is refused |
| 41 | + when there is not enough free space) and put back if the new version fails. |
| 42 | + Updates stay inside one release line (for example MySQL 8.4, PostgreSQL 17); |
| 43 | + a new major version is never installed automatically. |
| 44 | + - Caddy and Caddy WAF: the new version must accept the server's own Caddyfile (sites, |
| 45 | + WAF directives and rule files) before anything changes, and every site must answer |
| 46 | + as it did before the update, or the update is rolled back automatically. Caddy WAF |
| 47 | + also follows caddy-waf's own releases (published as a rebuild, e.g. 2.11.8.1). |
| 48 | + - The previous version is kept for a one-click **Roll back**. |
| 49 | + - Configuration files (`/etc/nginx`, `/etc/php/X.Y`, `/etc/mysql`, ...) are never |
| 50 | + replaced. |
| 51 | +- **Release channels.** Security releases go to everyone at once; other releases |
| 52 | + spend 24 hours on the beta channel first. Withdrawn releases show a |
| 53 | + "Withdrawn - roll back" button. |
| 54 | +- **Software updates panel** (App Store): which system this server is, catalog |
| 55 | + status, channel (stable or beta), automatic updates (security only, all, or |
| 56 | + off), alerts, and recent activity. Panels check every 6 hours |
| 57 | + (`vortexpanel-softs.timer`). |
| 58 | +- **One App Store.** Install opens a dialog with the version list and what will |
| 59 | + happen. Software installed earlier from the OS packages is taken over when the |
| 60 | + same version line is installed or a newer version is offered as **Update to vX** |
| 61 | + (Debian and Ubuntu): the build is verified first, the OS packages are removed with |
| 62 | + configuration, websites and data kept, and they come back if the build does not start. |
| 63 | + - **Apache with mod_php** is moved to PHP-FPM during the takeover (each PHP version |
| 64 | + it used must have PHP-FPM; the App Store says which to install first). |
| 65 | + - **OpenLiteSpeed from the LiteSpeed repository**: its configuration and WebAdmin |
| 66 | + login are copied before the package is removed and put back exactly. |
| 67 | + - A takeover is refused, with the reason and nothing changed, when it would remove |
| 68 | + unrelated packages or when the data belongs to another database (MySQL data |
| 69 | + under MariaDB, a PostgreSQL cluster of another major version). |
| 70 | +- **Every system checked against upstream.** Before building, the pipeline reads |
| 71 | + upstream's own download index (MongoDB, MariaDB, MySQL, ClamAV) for the exact file |
| 72 | + and checksum per system. A system upstream publishes nothing for is marked "not |
| 73 | + offered" and keeps its OS packages; it is never a failed build. |
| 74 | +- **MariaDB on ARM** is compiled from the release's source for every system. |
| 75 | +- **Builds the system cannot run are never offered.** Each build records the newest |
| 76 | + glibc its programs need; a server with an older glibc (for example AlmaLinux 8 on |
| 77 | + ARM for OpenLiteSpeed's official ARM binaries) keeps its OS packages instead. |
| 78 | +- **Signed download server switched on**: `panel/trust/softs.json` names |
| 79 | + `https://dl.vortexpanel.dev` and the VortexPanel release key. |
| 80 | +- **Failed systems are built again after a fix.** A system whose build failed three |
| 81 | + times is tried again whenever its recipe changes. |
| 82 | + |
| 83 | +## New: VortexPanel Apps from the cloud |
| 84 | + |
| 85 | +Website Statistics, PHP Security, System Hardening, Network Threat Detection and |
| 86 | +Network Scan Detection are checked and published by the same pipeline whenever |
| 87 | +their code changes. Panels show "Update to vX" and install the new version |
| 88 | +without a panel release. |
| 89 | + |
| 90 | +## Fixes |
| 91 | + |
| 92 | +- **App Store versions** show only the version number (for example `8.4.13`), |
| 93 | + without descriptions or extra space. |
| 94 | +- **Website Statistics 1.1.0** counts only requests for the website's own domain |
| 95 | + names. Other domains pointed at the server (for example an embedded player on |
| 96 | + another site) are listed separately under "Other domains" and no longer show up |
| 97 | + as your pages and visitors. New setting: close connections for host names no |
| 98 | + website on the server serves. |
| 99 | +- **PHP Security 1.1.0** builds Snuffleupagus 0.14.0, which supports PHP 8.5 |
| 100 | + (the older release failed on PHP 8.5 with `php_setcookie`). Servers with an |
| 101 | + older build see "older release - rebuild". |
| 102 | +- **CDN Manager** has an on/off switch in the App Store. Off hides its page and |
| 103 | + closes its API; saved provider settings are kept. |
| 104 | +- **Faster panel.** After login every page starts loading at once (before, all pages |
| 105 | + waited for the App Store list); the page in the address opens first; the App Store |
| 106 | + shows its last list immediately and checks all apps at the same time; panel files |
| 107 | + stay in the browser cache until the next release. |
| 108 | +- **No login screen or dialog flashes** while the panel loads or restarts: the |
| 109 | + session check is repeated for up to a minute before the login screen is shown, |
| 110 | + and dialogs (Login Audit Log, Import Website, file picker, ...) stay hidden until |
| 111 | + the panel has started. |
| 112 | +- **App Store after an install** shows the new state in every panel process at once |
| 113 | + (before, other processes could show the old list for up to 30 seconds). |
| 114 | +- **Anubis Bot Protection** installs from the VortexPanel download server. |
| 115 | +- **ClamAV from the OS packages**: the first signature download no longer fails with |
| 116 | + "Failed to lock the log file". |
| 117 | + |
| 118 | +## Upgrade |
| 119 | + |
| 120 | +Upload `vortex_upgrade_3.11.0.py` to `/root/` and run `python3 /root/vortex_upgrade_3.11.0.py`. |
| 121 | +It upgrades from 3.10.0 and from the 3.11.1 - 3.11.4 test releases. Setup of the |
| 122 | +build pipeline: `softs/README.md`. |