Jailkit cron update doesn't work for non-php-fpm-chrooted jails
Jailkit maintenance only works if php_fpm_chroot
is set to true for the web_domain.
This is bad from my point of view, since jailkit primarily doesn't have anything to do with php - there are also jails for ssh-users that even doesn't use PHP...
I even think it's a bug, since the release notes say
– Update existing Jails automatically via cronjob
and there is no info that this only support php_fpm_chrooted jails...
My suggestion is to remove the if-statement for php_fpm_chroot
== 'y' in 600-jailkit_maintenance.inc.php
is there any reason why not? All the other data are used by every chrooted jail (last_jailkit_hash
, last_jailkit_update
are filled although php_fpm_chroot
is set to 'n').