[5.22.1] — 2026-11-29
HTTP/2 and HTTP/3 turn on from the panel. On some servers Turn on in the Firewall tab ended with /opt/cipi/lib/nginx.sh: line 995: /etc/nginx/conf.d/cipi-http2.conf.tmp: Read-only file system and Could not write /etc/nginx/conf.d/cipi-http2.conf, and nothing changed. HTTP/3 the same.
The panel's PHP-FPM logs of an app that never had a PHP error. The filter said No log output returned. On the server run: cipi self-update && cipi api update on a server that had nothing to update: there was no file to read.
Fixed
cipi nginx http2|http3 on|offon a read-only/etc/nginx. The panel runssudo cipi …from php-fpm. Where that unit sees/etcread-only — systemd'sProtectSystem=orReadOnlyPaths=give it a mount namespace of its own, where/etcis read-only for it alone and fine from a shell — or where the kernel remounted/read-only after a disk error, every other command of Cipi that writes there tries a remount first (vault_write,cipi basicauth,cipi smtp,cipi php switch,cipi api ip-whitelist). These four wrote at once.- They now check
conf.d(and HTTP/3 the vhosts' directory) before the first file, with the same remount (_cipi_remount_rw). - When the remount cannot happen: one error that names the directory, the mount, the remount's own words and the cause — the unit whose sandbox it is, with
systemctl show <unit> -p ProtectSystem -p ReadOnlyPaths, or the disk, withdmesgandmount -o remount,rw /. Nothing written, nginx not reloaded, and no bash line number. - No change to the panel or its API for this: the message reaches the Firewall tab as soon as the server runs this release (
sudo cipi self-update, or the nightly update).
- They now check
~/logs/php-fpm-error.logis there from the start. PHP creates an app's error log at the first error a request raises, and a Laravel app — whose errors go tostorage/logs— may never raise one.cipi app logs read <app> --type=phpthen gave no file, and the panel's PHP-FPM filter read that as a server to update.- The file is created, empty, whenever an app's pool is written:
cipi app create, a PHP switch,cipi app limits. As the app user —~/logsis the app's, and root does not create files there — with the mode PHP gives it (0644). A file or a link already there is left as it is. - Migration 5.22.1 creates it for every PHP app that has none — Laravel and custom, none named; a Node app has no pool. It says how many, and never stops the update.
- The panel's own side — an empty file shown as empty, and no update the server when the server answered — is cipi/gui 4.13.1 and cipi/api 1.51.1.
- The file is created, empty, whenever an app's pool is written:
Tests
tests/verify-5.22.1.sh(new): on and off of both over a real read-only bind mount in a mount namespace of its own (unshare -m, whatProtectSystemmakes); a remount that is refused, in a namespace and on the disk; only the vhosts' directory read-only; and the same commands where nothing is read-only. The mount checks need root.- The same file:
app_php_error_log(an empty file of the app user's, 0644; a file or a link already there untouched, a link to a file of root's not followed), the call in_create_fpm_pool,cipi app logs read --type=phpgiving the file with 0 lines, and migration 5.22.1 over real app users — a Node app left out, no app named, run twice, an unreadableapps.json.