Lokasi ngalangkungan proxy:   [ UP ]  
[Ngawartoskeun bug]   [Panyetelan cookie]                
Skip to content

Releases

EasyEngine v4.15.0

Choose a tag to compare

@github-actions github-actions released this 23 Nov 05:08
v4.15.0
8f03c71

PHP 8.6

EasyEngine now supports PHP 8.6, and the default PHP version for new WordPress and PHP sites (and for --php=latest) moves from 8.4 to 8.5. Existing sites keep their PHP version. PHP 8.6 is opt-in:

ee site create example.com --type=wp --php=8.6
ee site update example.com --php=8.6

The new easyengine/php8.6 image is downloaded the first time a site uses it. Check your theme and plugins before moving a production site, and take a backup first (ee site backup example.com).

The PHP 8.6 image differs from the 8.5 one in a few ways:

  • memcached, redis and apcu are built from upstream commits. Their latest releases don't build on PHP 8.6, so the image uses tested commits from each project's development branch. The image moves to the official releases once they support PHP 8.6.
  • Session cookies default to SameSite=Lax. This is PHP 8.6's new default for session.cookie_samesite, and EasyEngine keeps it. Applications that rely on a session cookie being sent on cross-site requests (for example a cross-site POST back into the site) need session.cookie_samesite = None together with session.cookie_secure = On in the site's custom.ini.

Upgrade notes

PHP 8.3 and 8.5 sites are recreated

The PHP 8.5 image changes (New Relic agent), so ee cli update recreates each enabled site on PHP 8.5 on the new image, one site at a time, the same way as in v4.14.2: a temporary support container keeps serving each site while the image is downloaded and its containers are switched, and requests can stall for a few seconds at each switch. Disabled sites start on the new image when you enable them. The PHP version itself doesn't change (8.5.13). Enabled sites on PHP 8.3 are recreated the same way, since the PHP 8.3 image changes too (imagick, see below); PHP stays 8.3.37. Sites on other PHP versions and the global services aren't recreated. EasyEngine images that no container uses any more are removed afterwards, including the previous PHP 8.3 and 8.5 images.

Stricter --php values

ee site create and ee site update now accept only the listed PHP versions, written exactly as listed (8.5, not 8.50, 08.5 or 8):

  • ee site create asks whether to continue with the nearest supported version (for example EEv4 does not support PHP 8.10 yet. Continue with PHP 8.5?); --yes accepts it for WordPress sites. Before, such values were stored as given and the create failed later at the image download.
  • ee site update rejects them (Invalid value specified for 'php') before it changes anything.

WordPress on PHP 7.3 and older

The current WordPress release requires PHP 7.4 or newer, so ee site create --type=wp with --php=7.3, 7.2, 7.0 or 5.6 no longer succeeds: the WordPress download fails and the create cleans up after itself. This comes from WordPress, not from this release. Existing sites on those versions keep working, and PHP sites (--type=php) can still be created on them. PHP 7.3 and older have been end of life for years; move such sites to a supported version.

Docker image updates

Image Before After Change
easyengine/php8.6 – v4.15.0 New: PHP 8.6.0 (EasyEngine/dockerfiles#385); imagick reports its version, so WordPress uses Imagick (AVIF/HEIC uploads) (EasyEngine/dockerfiles#394)
easyengine/php8.5 v4.14.2 v4.15.0 New Relic PHP agent 12.13.0.43 (EasyEngine/dockerfiles#392); imagick now reports its version, so WordPress uses Imagick again (AVIF/HEIC uploads) (EasyEngine/dockerfiles#394); PHP 8.5.13 unchanged
easyengine/php8.3 v4.14.2 v4.15.0 imagick now reports its version, so WordPress uses Imagick again (AVIF/HEIC uploads) (EasyEngine/dockerfiles#394); PHP 8.3.37 unchanged

The PHP images are now checked in CI for missing extensions and startup warnings before they're published (EasyEngine/dockerfiles#390). All other images are unchanged from v4.14.2.

What's Changed

EasyEngine v4.14.2

Choose a tag to compare

@github-actions github-actions released this 19 Nov 17:19
v4.14.2
73aad29

Security

This release moves every WordPress and PHP site on PHP 8.2, 8.3, 8.4 and 8.5 to rebuilt easyengine/php8.x images based on PHP's security releases of 2026-11-19: 8.2.36, 8.3.37, 8.4.28 and 8.5.13. Together they fix 17 vulnerabilities, 7 of them rated critical by PHP. Update as soon as you can:

ee cli update

If you're on a release older than v4.14.1, this takes you straight to v4.14.2 and includes everything in v4.14.1 (nginx 1.31.9 in the proxy) and v4.14.0; read the v4.14.0 upgrade notes first.

Fixed vulnerabilities

Critical:

  • CVE-2026-129289: PHP-FPM request smuggling through an unread HTTP request body
  • CVE-2026-115560: session serializer mismatch can lead to remote code execution
  • CVE-2026-129496: timezone cache use-after-free can lead to remote code execution
  • CVE-2026-126714: partially overwritten session files can lead to remote code execution
  • CVE-2026-129481: use-after-free after interrupted session shutdown (PHP 8.3 and later)
  • CVE-2026-129474: use-after-free in magic method backtraces can lead to remote code execution (PHP 8.5)
  • CVE-2026-129182: use-after-free via repopulation of the last fatal error backtrace after shutdown (PHP 8.5)

High:

  • CVE-2026-129291: PHP-FPM epoll use-after-free can lead to local privilege escalation
  • CVE-2026-128090: PHAR OpenSSL signature bypass via algorithm downgrade
  • CVE-2026-128064: mixed-case HTTPS and FTPS URLs can expose data in plaintext
  • CVE-2026-127960: denial of service through folded HTTP response headers

Medium:

  • CVE-2026-129506: SOAP use-after-free when processing DTD entity references
  • CVE-2026-15353: SOAP information disclosure through malformed array dimensions
  • CVE-2026-129501: double free during DOM XML serialization
  • CVE-2026-129292: PHP-FPM status endpoint XSS via unescaped user and script fields
  • CVE-2026-129438: incorrect RFC 3986 URI serialization for oversized input (PHP 8.5)
  • CVE-2026-129538: PHP-CGI out-of-bounds read and write during PATH_INFO correction (php-cgi only; EasyEngine sites use PHP-FPM)

Not every vulnerability affects every PHP branch; see each advisory and the PHP 8 ChangeLog.

Several of the critical issues need a non-default setup. Two of them depend on settings EasyEngine turns off by default, so sites that changed them were more exposed until this update:

  • CVE-2026-115560 goes through session upload progress. EasyEngine has set session.upload_progress.enabled = Off for every site since v4.13.3. Sites that turned it back on in their custom.ini were exposed.
  • CVE-2026-129289 needs persistent FastCGI connections. EasyEngine's nginx configuration doesn't enable them. Sites that added fastcgi_keep_conn on to a custom nginx configuration were exposed.

Upgrade notes

WordPress and PHP sites on PHP 8.2 to 8.5 are recreated

ee cli update is the only step: it moves your existing sites to the patched images. During the update, each enabled site on PHP 8.2, 8.3, 8.4 or 8.5 is recreated on its new image, one site at a time. A temporary support container keeps serving each site while its new image is downloaded and its containers are switched. Requests can stall or fail for a few seconds when traffic moves to the support container and again when it moves back (in our tests, under 5 seconds per switch on a test server and under half a second on a GitHub runner). The first site of each PHP version waits while that image is downloaded (a few hundred MB to download, about 1.5 GB on disk). HTML sites, sites on PHP 8.1 or older and the global services (proxy, database, Redis) aren't recreated. The update needs at least 5 GB of free disk space.

New PHP versions: 8.2 → 8.2.36, 8.3 → 8.3.37, 8.4 → 8.4.28, 8.5 → 8.5.13. Check a site with:

ee shell example.com --command='php -v'

PHP sessions stored with PHP's default files handler live inside the site's PHP container, so sessions started before the update are reset when the container is recreated. WordPress itself doesn't use PHP sessions; applications that do will ask their users to log in again.

Disabled sites get their configuration updated during the update and start on the patched image when you enable them with ee site enable example.com.

As with every image update, EasyEngine images that no container uses any more are removed afterwards, including the previous PHP images.

PHP 8.1 and older get no fixes

PHP 8.1 and older are end of life and get no PHP release with these fixes, so v4.14.2 doesn't change them. Move those sites to a supported version, PHP 8.3 or newer, after taking a backup and checking your theme and plugins:

ee site update example.com --php=8.4

PHP 8.2 receives security fixes only until December 31, 2026, so plan to move PHP 8.2 sites too.

Docker image updates

Image Before After Change
easyengine/php8.2 v4.14.0 v4.14.2 PHP 8.2.35 → 8.2.36 (EasyEngine/dockerfiles#386)
easyengine/php8.3 v4.14.0 v4.14.2 PHP 8.3.36 → 8.3.37 (EasyEngine/dockerfiles#387)
easyengine/php8.4 v4.14.0 v4.14.2 PHP 8.4.27 → 8.4.28 (EasyEngine/dockerfiles#388)
easyengine/php8.5 v4.14.0 v4.14.2 PHP 8.5.12 → 8.5.13 (EasyEngine/dockerfiles#389)

All other images and all command packages are unchanged from v4.14.1.

What's Changed

EasyEngine v4.14.1

Choose a tag to compare

@github-actions github-actions released this 19 Nov 10:12
v4.14.1
7ae303e

Security

This release updates nginx in EasyEngine's global proxy (easyengine/nginx-proxy) from 1.31.3 to 1.31.9, which fixes the nginx vulnerabilities published on 2026-11-18:

It also brings the earlier nginx 1.31.6 and 1.31.7 security fixes to the proxy, among them CVE-2026-93479 (a buffer overflow while evaluating string expressions with variables, which the proxy's access log format uses). See the nginx security advisories for the full list.

Every EasyEngine server up to v4.14.0 whose port 443 can be reached is affected. All traffic to your sites passes through the global nginx-proxy, and it enables HTTP/2 on every HTTPS listener, including the default one on port 443, so a server is exposed even if none of its sites uses HTTPS. HTTP/2 can't be turned off durably on v4.14.0 or earlier, so update as soon as you can:

ee cli update

If you're on a release older than v4.14.0, this takes you straight to v4.14.1 and includes everything in v4.14.0; read the v4.14.0 upgrade notes first.

Upgrade notes

Only the proxy is recreated

  • The update downloads the new nginx-proxy image and recreates the global proxy container. Your sites are unreachable while the proxy restarts, about a second in our tests; site containers, the database and Redis aren't touched. Open connections, such as long downloads or WebSockets, are closed when the old proxy stops.
  • Before recreating the proxy, the update checks its configuration with nginx -t. If a custom file in conf.d or vhost.d breaks it, the update stops without changing anything; fix the file (see docker exec services_global-nginx-proxy_1 nginx -t) and run ee cli update again.
  • As with every image update, EasyEngine images that no container uses any more are removed afterwards, including the previous nginx-proxy image.

Check the update

ee cli version                                        # EE 4.14.1
docker exec services_global-nginx-proxy_1 nginx -v    # nginx version: nginx/1.31.9

Docker image updates

Image Before After Change
easyengine/nginx-proxy v4.14.0 v4.14.1 nginx 1.31.3 → 1.31.9, with the njs and acme modules from nginx.org (EasyEngine/dockerfiles#379)

All other images and all command packages are unchanged from v4.14.0.

Coming next

  • The per-site nginx image (easyengine/nginx, OpenResty 1.31.8.1) is based on nginx 1.31.8 and doesn't have these fixes yet. It's much less exposed: it has no port published on the host, and the proxy talks to it over plain HTTP/1.1, without HTTP/2 or TLS. It will be updated once OpenResty 1.31.9.1 is released.

What's Changed

EasyEngine v4.14.0

Choose a tag to compare

@github-actions github-actions released this 18 Nov 02:27
v4.14.0
3ebbc6f

Highlights

  • Safer backups and restores. A restore is now a transaction: it checks the free space first, stages everything next to the site, checks the restored nginx config, and rolls back config, files and database if a step fails before the restore is complete (the final container restart comes after that point). Every archive is tested before it's uploaded, a completed backup is never deleted because a later step failed, and retention keeps exactly no-of-backups of this server's backups of each site.
  • Recoverable container upgrades. ee cli update waits for each global service it recreates to be ready (nginx-proxy, the database and Redis must answer a check; cron only has to start) and rolls back to the previous images when one fails. Stopped global services and disabled sites are handled instead of only recording their new image tags.
  • Let's Encrypt fails closed. A site whose certificate couldn't be issued, or is still waiting for manual DNS-01 validation, stays on plain HTTP instead of redirecting to a broken HTTPS.
  • Host logs can't fill the disk. The host's syslog and mail logs get a 2 GB size cap and hourly rotation, and EasyEngine's own logs rotate by rename instead of copying, so a rotation never needs as much free space as the log.
  • Updated images: postfix 3.11.7, OpenResty 1.31.8.1, an nginx-proxy that answers HTTPS for a site without its own certificate with a 503 instead of a 500, and the PHP 8.1–8.5 images (same PHP versions) with safer session defaults.

Upgrade notes

Backups now go to a per-host directory

New backups are stored under <rclone-path>/<site>/<host-id>/<backup-id>. The host id is generated on the first backup or restore and kept in the EasyEngine database; backup-host-id in config.yml overrides it (up to 63 letters, digits, ., _ or -, starting with a letter or digit).

  • Existing backups stay where they are and can still be listed and restored. ee site restore without --id takes this server's newest backup first, then the newest backup in the old layout (with a warning). Backups of other servers are only restored when named with --id=<host-id>/<backup-id>, or with a bare --id=<backup-id> that matches exactly one other server's backup (restored with a warning; several matches are refused).
  • Old-layout backups are no longer pruned automatically, since they may belong to another server using the same rclone-path. Remove them by hand when you no longer need them: list them with rclone lsf --dirs-only <rclone-path>/<site>/, then rclone purge <rclone-path>/<site>/<backup-id> for the backup ids at that level (never the <host-id>/ directories).
  • To keep using the backups of a server this one replaces, set backup-host-id: <old host id> in this server's config.yml, or restore once with --id=<old-host-id>/<backup-id>.
  • Scripts that build <rclone-path>/<site>/<backup-id> paths themselves need to add the host directory. The EasyEngine Dashboard's remote_path already includes it.
  • Older EasyEngine versions don't list or restore backups made by this version, for any site type. Without --id, they restore the newest old-layout backup instead.

What a restore does now

  • A restore replaces all of the site's app/ directory (for WordPress, everything except WordPress core), so files created after the backup are removed. It needs the extracted size of the backup free next to the site, on top of the download, and refuses up front when that space isn't there.
  • A restore refuses to start when something is mounted inside the site directory (for example uploads mounted under app/). Unmount it first; the site is not changed.
  • When a restore replaces the site directory, the site's containers are restarted at the end.
  • A restore that was interrupted is rolled back by the next ee site restore, and ee site backup refuses to back up a half-restored site. After a killed restore, remove the lock file the error names first.
  • Database names used with backup and restore may only contain letters, digits and _ . @ % + = , : -, and can't start with -.

Backup behaviour

  • WordPress backups now hold all of app/ except WordPress core and tool caches, so files such as robots.txt, verification files, .user.ini and custom directories are kept.
  • Symlinks are backed up as links. If a WordPress site's wp-content/uploads points outside the site, only the link is backed up and the backup warns.
  • no-of-backups must be a whole number of at least 1. Any other value falls back to the default of 7 with a warning.
  • When the EasyEngine Dashboard success callback fails, the uploaded backup is now kept and the command fails with error 4004.
  • New error codes: 1004 (the site is half-restored after an interrupted restore; backup refused), 1005 (unsupported database name), 2012 (invalid backup-host-id), 2013 (a required tool is still missing after the install), 3005 (an archive failed its integrity check), 4004 (the EasyEngine Dashboard success callback failed; the backup was kept), 4005 (the database dump couldn't be moved into the backup), 5004 (unexpected error).

Host log rotation and the rsyslog package

On Linux, the update adds maxsize 2G (and a dateformat that allows several rotations a day) to each stanza of /etc/logrotate.d/rsyslog (and /etc/logrotate.d/syslog on older RHEL-style hosts) that has no size limit yet, and makes logrotate run hourly (a logrotate.timer drop-in, or /etc/cron.hourly/ee-logrotate on hosts without the timer). The original rule is saved in /opt/easyengine/.backup/logrotate/. This happens once: if you change or remove the cap later, updates don't put it back.

/etc/logrotate.d/rsyslog is a dpkg conffile. Because EasyEngine edits it, a later rsyslog package update that changes this file is held back by unattended-upgrades ("conffile prompt … needs to be upgraded manually"), and apt upgrade asks which version to keep. Upgrade rsyslog by hand (sudo apt-get install --only-upgrade rsyslog) and either keep the installed version or take the package's version and add maxsize 2G back to each stanza.

EasyEngine's own log rules (ee_cli, ee_sites, ee_nginx_proxy) get maxsize 1G and now rotate by renaming the log and having nginx and php-fpm reopen it, instead of copytruncate.

Containers are updated

  • The update moves the global services and enabled sites to the new images listed below. Only the global services it recreates are waited for: nginx-proxy, the database and Redis must answer a readiness check, and cron only has to start. If one isn't ready in time, the update rolls back to the previous images.
  • A stopped nginx-proxy, Redis or New Relic daemon keeps its old image until you enable it, and ee service enable then recreates it on the new image. Missing global services are recreated.
  • Disabled sites get updated compose files and pick up the new images when you enable them.
  • Sites whose Let's Encrypt certificate is still pending stay on HTTP during the image migration.
  • Each recreated global service gets up to 60 s to become ready, and the database 300 s. The new global-service-ready-timeout key in config.yml (seconds) replaces the wait for every service, the database included, so set it above 300 (for example 600) if a slow database start makes an update roll back.
  • docker-compose is installed (2.27.0) only when it is missing or older than 2.26.1, and never downgraded.
  • On PHP 8.4, 8.5 and latest sites, the update removes the deprecated session.sid_length and session.sid_bits_per_character lines from the site's php.ini and saves the previous file as /opt/easyengine/.backup/session-sid-settings-<YYYYMMDD-HHMMSS>/<site>/php.ini. It warns only when a removed line held a value you set yourself; the lines shipped by EasyEngine are removed silently.

PHP requirement checks

ee now checks the PHP extensions and functions it needs before a command runs, and names the disabled functions and the ini files that disable them (for example on HestiaCP servers). A failed requirement check now exits with status 1, but ee cli update still runs (with a warning) when other PHP requirements are missing, and ee cli info shows a "PHP requirements" row. Site commands keep working when pcntl_* or shell_exec are disabled.

Fixes and improvements

  • Let's Encrypt (EasyEngine/site-command#521, EasyEngine/site-type-wp#247, #1955): a failed Let's Encrypt create leaves the site on plain HTTP with an ee site update <site> --ssl=le hint. Cloudflare DNS-01 waits for the zone's authoritative nameservers (up to 120 s) instead of a fixed 10 s, a manual DNS-01 site stays on HTTP until ee site ssl-verify, and WordPress URLs follow the scheme the site is actually served over (for subdomain multisite, the subsites' URLs too; a failed switch prints the search-replace command to run). The www redirect is kept when only the HTTPS hop of the www check fails, and ee site ssl-renew on a pending site points to ee site ssl-verify.
  • Backup and restore (EasyEngine/site-command#527, #483, #481): restore transaction and rollback, archive integrity checks with 7z t, database credentials passed through option files instead of the command line, the database dump kept out of the webroot, missing tools installed without prompts, unique backup ids, and a consistent EasyEngine Dashboard callback flow (at most one final callback, the global backup lock released before the callback retries).
  • Upgrades (#1953, #1954, EasyEngine/service-command#84): service readiness checks with rollback, a retry after an interrupted upgrade keeps the rollback snapshot, no needless image pulls or docker-compose downloads, and stopped services and disabled sites handled.
  • PHP session settings (EasyEngine/site-command#519, #520, EasyEngine/dockerfiles#372, #374): PHP 8.4 and 8.5 no longer carry the deprecated session.sid_* settings, and `session.upload_progress.e...
Read more

EasyEngine v4.13.3

Choose a tag to compare

@github-actions github-actions released this 21 Oct 18:38
v4.13.3
fc1860d

EasyEngine v4.13.3

Security

This release moves every enabled WordPress and PHP site on PHP 8.2, 8.3, 8.4 and 8.5 to rebuilt easyengine/php8.x images based on the PHP security releases of 2026-10-21 (8.2.35, 8.3.36, 8.4.27 and 8.5.12), which fix CVE-2026-109618 and CVE-2026-109619 ("php2shell"). Update as soon as you can:

ee cli update

Upgrade notes

WordPress and PHP sites on PHP 8.2 to 8.5 are recreated

During the update, each enabled site on PHP 8.2, 8.3, 8.4 or 8.5 is recreated on its new image, one site at a time. A temporary support container keeps serving each site while its containers are switched, and the site's nginx is reloaded once they're back. The first site of each PHP version waits while that image is downloaded (a few hundred MB to download, about 1.5 GB on disk). HTML sites, the global services and sites on other PHP versions aren't recreated. The update needs at least 5 GB of free disk space.

New PHP versions: 8.2 → 8.2.35, 8.3 → 8.3.36, 8.4 → 8.4.27, 8.5 → 8.5.12. Check a site with ee shell <site> --command='php -v'.

Disabled sites

Disabled sites are skipped by the update and keep their old image. Enable them with --refresh so they come back on the patched image: ee site enable <site> --refresh. Without --refresh, ee site enable starts the old, unpatched image again.

Session upload progress is turned off

PHP's advisory names session upload progress as an attack path for CVE-2026-109619 and recommends turning it off (and keeping it off after patching if you don't use it). As defense in depth on top of the patched images, and as the main protection for sites still on PHP 8.1 or older, which get no official PHP release, every WordPress and PHP site now has session.upload_progress.enabled = Off in its custom.ini (/opt/easyengine/sites/<site>/config/php/php/conf.d/custom.ini). The update adds it to existing sites, enabled or disabled, on every PHP version, and new sites get it from the start. Running sites pick it up with a graceful php-fpm reload during the update (or when they're recreated for the new image); disabled sites get it when you enable them. If a site's custom.ini already sets session.upload_progress.enabled, it's left as it is. The original files are kept in /opt/easyengine/.backup/session-upload-progress-wp-<timestamp>/ and …-php-<timestamp>/.

WordPress core doesn't use this feature. If your own PHP application shows upload progress through PHP sessions, turn it back on for that site: remove the line from custom.ini (or set it to On), then run ee site reload <site>. On macOS, custom.ini isn't applied by the PHP container today, so this setting has no effect there.

PHP 8.1 and older

PHP 8.1, 8.0, 7.4 and older are end of life upstream and get no official PHP release with these fixes (the PHP security team published only minimal source backports for 7.4, 8.0 and 8.1, with no tagged releases). v4.13.3 switches off session upload progress on these sites too, which blocks the confirmed session paths for CVE-2026-109619 but isn't a complete fix. Move those sites to a supported version, for example ee site update <site> --php=8.4.

Docker image updates

Image Before After Change
easyengine/php8.2 v4.13.0 v4.13.3 PHP 8.2.34 → 8.2.35
easyengine/php8.3 v4.13.1 v4.13.3 PHP 8.3.35 → 8.3.36
easyengine/php8.4 v4.13.0 v4.13.3 PHP 8.4.26 → 8.4.27
easyengine/php8.5 v4.13.0 v4.13.3 PHP 8.5.11 → 8.5.12

All other images are unchanged from v4.13.2. site-type-wp and site-type-php move from v1.12.1 to v1.12.2 (the session upload progress change above); all other command packages are unchanged.

What's Changed

EasyEngine v4.13.2

Choose a tag to compare

@github-actions github-actions released this 15 Oct 10:44
v4.13.2
b4448ab

EasyEngine v4.13.2

A security and bug-fix release. Update with ee cli update.

Security

  • Site names are validated and quoted in the shell commands EasyEngine runs, in core and in the site packages.
  • Clone and sync quote every value they pass to local and remote commands and validate the site details read from the other host.
  • Each site's database user on the global database now has access only to its own database. A migration fixes existing sites; customised or shared grants are left alone with a warning.
  • Admin-tools sites no longer mount the EasyEngine database into their containers. A migration updates existing admin-tools sites.
  • ee log show follows logs without a shell and skips log links that leave the site's log directory.
  • Secrets (passwords, API keys, tokens) are kept out of ee.log. The log directory is now readable by root only, and a migration restricts existing logs and masks secrets that earlier versions wrote to them.
  • ee site clone no longer writes the new site's database password to ee.log.
  • Backup metadata no longer holds site passwords (database, admin and the legacy site auth password); a migration strips them from local copies.
  • ee @alias, --ssh and --http targets are refused instead of silently running the command on the local server.
  • The admin-tools auth stays independent of the global auth.

Fixes

  • ee site clone and ee site sync work when the other host has no sites yet (they failed with "Unable to get site list"), and a clone no longer deletes an existing destination site when that host's site list can't be read.
  • Self-signed SSL: the root is now a real CA (on OpenSSL 3.2+, e.g. Ubuntu 26.04 and Debian 13, every self-signed site certificate was rejected); existing roots are repaired with the same key.
  • Let's Encrypt HTTP-01 validation works under a strict umask.
  • ee site update --ssl=le right after ee site create keeps the www redirect and the www name in the certificate.
  • The phar no longer ships the packages' test files.

Behaviour changes

  • New site names must be valid hostnames (at most 64 characters, IDN names in punycode). Existing sites keep working.
  • Clone and sync refuse database credentials containing quotes, $, backticks or \, and need EasyEngine on both hosts. After this update an older ee refuses non-cli commands, so clone and sync over ssh need v4.13.2 on both hosts.
  • ee log show --n accepts only a line count (+N/-N allowed).
  • A bare --ssl on clone means le.
  • Clone and sync stop with "Unable to get site list" when the other host's ee site list output can't be read, for example on the first command right after EasyEngine was updated there. Run the command again.
  • ee admin-tools disable reports a failed container recreate instead of recording admin-tools as disabled.

Upgrade notes

  • Admin-tools sites have their php and nginx containers recreated during the update: expect a few seconds of 502 on those sites.
  • If the global database isn't running during the update, the grant migration prints the SQL statements to run instead of failing.

What's Changed

easyengine

  • chore(release): prepare v4.13.2 #1948 @mrrobot47
  • fix(log): mask secret values in logged info tables #1947 @mrrobot47
  • fix(phar): leave the packages' tests and features out of the phar #1946 @mrrobot47
  • fix(runner): refuse remote targets instead of running the command locally #1945 @mrrobot47
  • fix(log): keep secrets out of ee.log and make the log readable by root only #1944 @mrrobot47
  • fix(docker): quote site name in volume create and lookup commands #1943 @mrrobot47
  • docs(readme): add the zip PHP module and match the installer CI distros #1942 @joelabreo227

site-command

site-type-wp

site-type-php

admin-tools-command

auth-command

config-command

log-command

EasyEngine v4.13.1

Choose a tag to compare

@github-actions github-actions released this 30 Sep 07:26
v4.13.1
d510297

Highlights

  • Complete WordPress 7.x core. New and restored WordPress sites get a complete core, checked with wp core verify-checksums, and existing WordPress 7.x sites with truncated core files are repaired on upgrade (site-type-wp#241, site-command#504).
  • Failed Let's Encrypt alias changes roll back. When a certificate can't be issued for new alias domains, the aliases, certificate and redirect files stay as they were and the command exits with an error, instead of reporting success and revoking the certificate still in use (site-command#505).
  • ee site ssl-verify no longer breaks the proxy. A request on an already-finalized order could deploy a certificate next to a new key that didn't match it, which stopped nginx-proxy reloads for all sites. The previous key is now kept when a request fails, and a certificate that doesn't match its key is never deployed (site-command#506).
  • More reliable SSL handling. Custom certificates are validated and installed on ee site update --ssl=custom, stale ACME orders are rebuilt on retry, concurrent SSL commands no longer race, and warnings now show the actual Let's Encrypt error (site-command#489, site-command#492, site-command#493, site-command#498, site-command#486).
  • Safer site creation. In the rare case where two site names map to the same database name or volume prefix, a failed create no longer removes the other site's database, user or volumes (site-command#503, site-type-wp#240, site-type-php#115).
  • IP whitelist and cron fixes. An invalid CIDR prefix in ee auth --ip is rejected instead of stopping proxy reloads (auth-command#59), and the cron scheduler no longer restarts in a loop when there are no cron jobs (cron-command#60).
  • Updated images: PHP 8.3.35, Redis 8.10.2, postfix on Debian 13.7 and newrelic-daemon on Alpine 3.24.2.

Upgrade notes

Cron jobs saved with ee cron update run on their intended schedule

ee cron update stored a five-field schedule without the seconds field, so it was read as a six-field one: * * * * * ran every second instead of once a minute. The scheduler config is regenerated on upgrade, so these jobs now fire on their intended schedule (cron-command#60).

IP whitelist entries are checked and cleaned up

ee auth create --ip lists are now split on any whitespace or comma, and a repeated IP is stored once. Entries with an invalid CIDR prefix (such as 192.0.2.1/abc, /99 or an IPv6 prefix over 128) are refused. On upgrade, a migration removes invalid entries from existing whitelist files and normalizes the ones nginx accepts (such as 10.0.0.0/08). The database rows are kept; an invalid one is skipped with a warning that names the command to remove it (auth-command#59).

WordPress 7.x sites with truncated core files are repaired

On upgrade, a migration runs wp core verify-checksums on each WordPress site that has wp-includes/php-ai-client/, and repairs the truncated core files in place. Content and database are not touched. Disabled or stopped sites, and sites that can't be checked, get a warning with the command to check them later (site-type-wp#241).

Colliding site names

Existing sites, including pairs that already share a database name or volume prefix, are left as they are. New creates that would collide are refused: a site whose volume prefix or compose project another site uses, or a --dbname/--dbuser that is already taken. A default database name that is already taken gets a _2 (then _3, …) suffix (site-command#503).

Let's Encrypt needs a valid le-mail

Issuing or renewing a Let's Encrypt certificate now stops with a clear error when le-mail is empty or not a valid address, including the nightly ssl-renew --all. Check it with ee config get le-mail and set it with ee config set le-mail <email> if needed (site-command#496).

WordPress and PHP sites get new images

Every WordPress and PHP site is recreated on the new postfix image during the upgrade, and sites on PHP 8.3 also move to PHP 8.3.35. Expect a short interruption per site.

Fixes

SSL and Let's Encrypt

  • A failed Let's Encrypt alias change restores the certificate, ACME and redirect files, keeps the aliases unchanged and exits non-zero. Only certificates that an alias change actually replaced are revoked (site-command#505).
  • ee site update --ssl=le fails when no certificate was issued, and ee site ssl-renew <site> exits non-zero when the renewal fails. A failure in ee site update --ssl=… puts the site back to HTTP-only before anything is saved (site-command#505).
  • A site's certificate and ACME files, including those of its aliases, are removed on ee site delete and --ssl=off, also for wildcard sites. --ssl=off is refused while other sites inherit the certificate, works on sites stored as wildcard, and a self-signed site can turn SSL back on afterwards (site-command#505).
  • Certificates without a subject CN are parsed, and ACME challenge types EasyEngine can't solve no longer break certificate orders (site-command#505).
  • When a first certificate request fails, the previous key is restored, and a 403 from Let's Encrypt gives a warning with its reason instead of a PHP fatal error. Certificate keys are no longer written to ee.log when a request fails (site-command#506).
  • ee site update --ssl=custom now copies the certificate and key; before, it turned on HTTPS without them (site-command#489).
  • Custom certificates are checked before install: an invalid PEM file, a broken chain or a key that doesn't match the certificate is refused, and an expired certificate or one expiring within 30 days gives a warning (site-command#492).
  • ee site ssl-verify is refused on sites without Let's Encrypt SSL, so it can no longer replace a custom certificate. On a site without SSL it points to ee site update <site> --ssl=le (site-command#487).
  • ee site ssl-verify rebuilds a stored ACME order that has expired or failed, instead of failing on every retry (site-command#493).
  • Certificates are copied to nginx-proxy through temporary files, so a failed copy no longer leaves a mismatched key and certificate. The file permissions are kept on renewal (site-command#491).
  • SSL commands wait for each other: a second one waits up to 120 seconds (600 for ssl-renew) and then stops with a clear message (site-command#498).
  • le-mail is validated before registering with Let's Encrypt, and renewals use the current le-mail (site-command#496, site-command#497).
  • SSL warnings include the Let's Encrypt error, and the misleading "Challenge Authorization failed" line is gone from renewal failures (site-command#486). The renewal message now says "less than 35 days", matching the actual threshold (site-command#485).
  • ssl-renew --all pauses 1–5 seconds between due renewals, reports Let's Encrypt rate limits as such, and carries on with the next site when one is rate-limited (site-command#499).
  • A warning is shown when the Let's Encrypt account key is missing while certificates issued under it still exist, instead of silently creating a new account (site-command#500).
  • Self-signed certificate generation quotes the site name and file paths it passes to openssl (site-command#495).
  • The SSL flag migration no longer marks sites with custom, self-signed or inherited SSL as Let's Encrypt, on installs that still have to run it (site-command#490).

Proxy

  • A proxy cache update that fails keeps a valid nginx-proxy config: the files it wrote are restored, and the config test is retried once (site-command#505).
  • Alias changes reload nginx-proxy instead of restarting it, and sites without SSL stay HTTP-only when their aliases change (site-command#505).
  • After a site is deleted, nginx-proxy is reloaded, so its www. redire...
Read more

EasyEngine v4.13.0

Choose a tag to compare

@github-actions github-actions released this 28 Sep 08:13
v4.13.0
705cbfc

Highlights

  • HTTP auth and IP whitelists now cover every domain a site serves. Until now, ee auth only protected a site's own domain: the subsites of a WordPress subdomain multisite (*.example.com) and a site's alias domains were served with the global auth or with no auth at all. In v4.13.0, auth and whitelists apply to subdomain multisite subsites, plain alias domains and *.alias wildcard aliases, and stay in sync when aliases are added or removed (auth-command#57, site-command#502).
  • No more auth leaking between sites. The nginx-proxy wildcard lookup no longer guesses from the host name: an unrelated site such as shop.example.com no longer asks for the credentials of the multisite example.com, and subsites of multisites with 4+ labels (*.ms.dev.example.com) are now matched correctly (dockerfiles#354).
  • Existing sites are fixed on upgrade. A migration regenerates every site's auth and whitelist files, so subsites and aliases that were unprotected become protected with the site's existing credentials, without any manual step. The upgrade never applies a site's wildcard auth to another site, not even while the old nginx-proxy is still running (auth-command#58).
  • Safer upgrades. When an upgrade fails before all containers are upgraded (for example because an image can't be pulled), EasyEngine now also undoes the auth file changes made earlier in the same run, so the host is left as it was and the next attempt starts cleanly (easyengine#1936).
  • No slow requests after upgrading. Sites whose containers are recreated during the upgrade no longer serve intermittent ~3 s (sometimes 10 s+) requests until their nginx is reloaded by hand (easyengine#1937).
  • Safer proxy reloads. EasyEngine now only reloads nginx-proxy when the regenerated config passes nginx -t. A broken config is no longer loaded into the running proxy; ee warns with the nginx error instead (site-command#494).
  • Updated images: nginx-proxy 1.11.6, PHP 8.2.34 / 8.3.33 / 8.4.26 / 8.5.11, PHP 8.1.34 with refreshed Debian 13 packages, Redis 8.10.1, postfix on Debian 13.6, and a final rebuild of the PHP 7.4 and 8.0 images with the last Debian 11 security updates.

Upgrade notes

nginx-proxy: wildcard auth files are now looked up only for *.X hosts

dockerfiles#354 changes how the proxy picks the htpasswd and ACL file for a host:

  1. htpasswd/<host> (and vhost.d/<host>_acl) if it exists;
  2. for a host that is literally *.X (a subdomain multisite or a *.X alias): htpasswd/_wildcard.X (and vhost.d/_wildcard.X_acl);
  3. otherwise the global htpasswd/default (and vhost.d/default_acl).

The label-counting fallback added in v4.11.0 (dockerfiles#298), which tried _wildcard.<last 3 labels> and then _wildcard.<last 2 labels> for any host, is removed. The same mapping is now used for the IP whitelist include, including the /ee-admin/ and mailhog locations. Setups managed with ee auth are not affected: before this release, EasyEngine never wrote _wildcard.X files, so only hand-made files relied on the old fallback.

PHP sites get new images

Every site on PHP 8.1, 8.2, 8.3, 8.4 or 8.5 is recreated on its new easyengine/php<version>:v4.13.0 image during the upgrade: PHP 8.2.34, 8.3.33, 8.4.26 and 8.5.11, and PHP 8.1.34 (unchanged) with up-to-date Debian 13 packages. All five images are based on Debian 13.7. PHP 8.1 is end of life upstream and its official base image is no longer rebuilt, so the EasyEngine image now applies the Debian security updates itself at build time; plan to move 8.1 sites to a newer PHP version.

Sites on PHP 7.4 and 8.0 are recreated on the new easyengine/php7.4:v4.13.0 and easyengine/php8.0:v4.13.0 images during the upgrade, like every other WordPress and PHP site. PHP itself doesn't change (7.4.33 and 8.0.30, both end of life upstream); the images are rebuilt on the last Debian 11 security snapshot, which brings up to two years of Debian security updates that the old images (built 2024-09-13 and 2025-02-13) didn't have. Debian 11 is now end of life too, so this is the last build of these two images: future releases keep them at v4.13.0. Move these sites to a supported PHP version with ee site update <site> --php=8.4 (or 8.2, 8.3, 8.5) when you can.

New features

auth-command

  • HTTP auth and IP whitelists now apply to all domains of a site: subdomain multisite subsites, alias domains and *.alias wildcard aliases. Plain aliases get their own files; only subdomain multisites and *.X aliases get _wildcard files (auth-command#57).
  • Auth files follow alias changes: files for a new alias are written before the proxy starts serving it, removed again if the alias update fails, and removed for deleted aliases (auth-command#57).
  • New upgrade migration that regenerates every site's auth and whitelist files (auth-command#57, auth-command#58).

site-command

  • New hooks around alias domain updates (site_alias_domains_before_update, site_alias_domains_updated, site_alias_domains_update_failed) for packages that keep per-domain proxy files (site-command#502).
  • Alias domain names are now validated on ee site update --add-alias-domains and ee site create --type=html --alias-domains: only a hostname or *.hostname is accepted, labels can't start with - or _ or end with -, and the reserved names default / default_admin_tools are refused. Invalid names are listed in the error before anything changes. Existing invalid aliases can still be deleted (site-command#502).

core

  • New hook after_docker_image_migration, fired during an upgrade right after the image migration, once the updated global containers run. Packages can use it for changes that need the new containers (easyengine#1936).

Fixes

core

  • A failed upgrade now also reverts the container migrations that ran earlier in the same run (for example when an image can't be pulled), and removes their records so the next attempt runs them again. Before, they stayed applied on the old containers and were never re-run. Once the image migration has completed, a later failure keeps them (easyengine#1936).
  • After the upgrade recreates a WordPress or PHP site's containers, its nginx is reloaded, so it no longer keeps sending some requests to the removed temporary php container (each took ~3 s, sometimes 10 s+, until ee site reload <site> --nginx). The same reload runs for each site when a failed upgrade rolls the sites back. If a reload fails, ee warns with the site name and the command to run (easyengine#1937).

auth-command

  • Site delete now removes all of the site's auth and whitelist rows and every htpasswd and ACL file it used (the cleanup hook existed but was never loaded, so these were left behind) (auth-command#57).
  • Usernames and passwords are shell-escaped when the htpasswd files are written: passwords with spaces, $ or ; were silently cut or broke the command (auth-command#57).
  • Passwords and usernames are no longer written to ee.log (auth-command#57).
  • htpasswd files are written atomically (temp file and rename), so a failed write keeps the previous file, including the global default file (auth-command#57).
  • Sites without auth or whitelist entries of their own no longer keep stale files, and correctly fall back to the global auth (auth-command#57).
  • The upgrade migration backs up the auth files and restores them exactly if the upgrade fails. It holds the _wildcard.* files back while the old nginx-proxy template runs and puts them in place once the new proxy is up, so sibling sites never pick up another site's wildcard auth during an upgrade, even when the upgrade fails or is interrupted. If a site's auth changed in between (for example after an interrupted upgrade), its files are regenerated from the current settings instead (auth-command#58).

site-command

  • nginx-proxy is only reloaded when nginx -t passes, and the test now checks the regenerated config rather than the previous one. On failure, ee warns with the nginx error and skips the reload (site-command#494).
  • Adding or removing alias domains on a site with custom, self-signed or inherited SSL no longer aborts halfway with "Only Letsencrypt certificate renewal is supported." (which left the containers and the database out of sync). Let's Encrypt sites still get a renewed certificate, custom-cert sites get a warning to supply a certificate covering the new aliases, and self-signed sites keep HTTPS (site-command#488).
  • Blank entries in alias lists (a.com,,b.com,) are dropped instead of...
Read more

EasyEngine v4.12.0

Choose a tag to compare

@github-actions github-actions released this 08 Jul 10:06
v4.12.0
927e779

What's Changed

EasyEngine v4.11.0

Choose a tag to compare

@github-actions github-actions released this 12 Jun 13:05
v4.11.0
9f1af48

What's Changed