After upgrading from 21.1.2 to .3, I got error 503 in my browser.
Here's the log from /var/log/lighttpd.log:
Mar 11 16:06:10 OPNsense lighttpd[29627]: (gw_backend.c.332) child signalled: 6
Mar 11 16:06:10 OPNsense lighttpd[29627]: (gw_backend.c.601) gw-backend failed to start: /usr/local/bin/php-cgi
Mar 11 16:06:10 OPNsense lighttpd[29627]: (gw_backend.c.603) If you're trying to run your app as a FastCGI backend, make sure you're using the FastCGI-enabled version. If this is PHP on Gentoo, add 'fastcgi' to the USE flags. If this is PHP, try removing the bytecode caches for now and try again.
Mar 11 16:06:10 OPNsense lighttpd[29627]: (gw_backend.c.1061) ERROR: spawning gw failed.
Mar 11 16:06:10 OPNsense lighttpd[29627]: (gw_backend.c.475) unlink /tmp/php-fastcgi.socket-0 after connect failed: Connection refused
Mar 11 16:06:10 OPNsense lighttpd[29627]: (gw_backend.c.332) child signalled: 6
Mar 11 16:06:10 OPNsense lighttpd[29627]: (gw_backend.c.601) gw-backend failed to start: /usr/local/bin/php-cgi
Mar 11 16:06:10 OPNsense lighttpd[29627]: (gw_backend.c.603) If you're trying to run your app as a FastCGI backend, make sure you're using the FastCGI-enabled version. If this is PHP on Gentoo, add 'fastcgi' to the USE flags. If this is PHP, try removing the bytecode caches for now and try again.
Mar 11 16:06:10 OPNsense lighttpd[29627]: (gw_backend.c.1061) ERROR: spawning gw failed.
Mar 11 16:06:11 OPNsense lighttpd[29627]: (gw_backend.c.475) unlink /tmp/php-fastcgi.socket-1 after connectCLOG▒▒▒▒root@OPNsense:~ #
I've attempted to roll back with opnsense-revert, but now I just get error 500. Not sure what to check at this point. It passes traffic, so I'd prefer to attempt the fix the issue with lighttpd/fast-cgi before resorting to a complete reinstall.
Signs pointed to a corrupted filesystem, how that ended up happening, I'm not sure. So let's blame it on my cheap SSD.
System is back up after a complete reinstall on a new disk.
Hi,
For the future problems: in 21.1 upwards you can run a health check from the console. Choose option 12 to update the firmware but type "h" and hit enter.
That might reveal these issues quicker.
Cheers,
Franco