It appears a recent nginx update, 1.18.0-6ubuntu14.19 to patch CVE-2026-42533, broke Nextcloud [for me?].
MIAB uses variables to construct the FastCGI filename, which nginx passes to PHP-FPM with a corrupted path “/usr/local/lib/owncloud//cloud/ind” instead of “/usr/local/lib/owncloud/index.php”; this means your Nextcloud instance shows “File not found” coupled with people complaining their shared calendars are broken this morning
After re-running the install script (cd mailinabox; setup/start.sh or just mailinabox), the problem was resolved for me. I don’t know if that’s because a package was updated again or if a broken configuration file was re-written.
Looks like a fresh setup run pulled down and installed a newer nginx revision (.20); They backed out of the CVE patch; I imagine we weren’t the only victims here!
I ran “apt upgrade” this morning and now I have this issue with Nextcloud calendars. Reinstalled mailinabox with setup.sh twice and nextcloud still broken (File not found).
nginx -v shows nginx/1.18.0 (ubuntu) and “apt clean, apt upgrade” has no new changes.
I did all those apt steps, multiple times.
The command “dpkg-query -W -f=‘${Package}\t${Version}\n’ nginx nginx-core” returns:
nginx 1.18.0-6ubuntu14.19
nginx-core 1.18.0-6ubuntu14.19
I made the changes outlined in the GitHub issue I posted above as a test and the NextCloud calendar works now. That seems to be the better solution, it resolves the underlying nginx CVE issue?
UPDATE: looks like a moving target, I see 14.20 is set as the default now for Jammy (as you said) AND someone is still working on it. Up to USN-8563-4 now… https://ubuntu.com/security/notices/USN-8563-4
My nginx version remains at “nginx 1.18.0-6ubuntu14.19” and the original issue still exists.
My VM is using NZ mirrors /etc/apt/sources.list: //nz.archive.ubuntu.com
So I appended the Ubuntu global repo to /etc/apt/sources.list: //security.ubuntu.com
and ran apt clean & apt update & apt upgrade
Now I get the new nginx release:
dpkg-query -W -f=‘${Package}\t${Version}\n’ nginx nginx-core
’
nginx 1.18.0-6ubuntu14.20
nginx-core 1.18.0-6ubuntu14.20
I restored the original mailinabox/conf/nginx-primaryonly.conf (undo changes made for #2597 which is also fixs this issue)
and my calendars are back