Back to Changelog
v1.0.236
Atomic PHP version transitions and zombie process elimination for panelica-server
New Feature
1- HTTP health probe verifies site responds after PHP version switch; auto-rollback on failure (Apache vhost restored, web servers reloaded, DB reverted)
Improvements
3- Atomic PHP version transitions: Apache reload deferred until PHP-FPM socket is bound and accepting, eliminating the 1-3 second 502 window during version switch
- All 4 transition variations tested: native-to-native, native-to-docker, docker-to-native, docker-to-docker — broken window reduced from 70-80% error rate to 0-4%
- First apply may briefly leave a stale process — restart backend manually if needed; subsequent applies are clean due to the new zombie guard
Bug Fixes
3- Zombie process elimination: pn-service restart now pre-kills orphan panelica-server processes before starting new instance
- systemd unit hardened with KillMode=control-group and SendSIGKILL=yes to ensure clean process group termination on stop
- Fixes panelica-server dual-instance bug seen after package apply where stale and fresh binaries ran simultaneously causing API request misdelivery and stale i18n bundles