After upgrade to 3.1: Apache restarts on website change instead of graceful reload
Environment:
- ISPConfig 3.1 stable (Upgrade from 3.0.5.4p9)
- Debian 8 jessie 64bit
- Multiserver setup (Problematic apache runs on a different host then the ispconfig panel itself)
Relevant code: Probably chroot detection fails in https://git.ispconfig.org/ispconfig/ispconfig3/blob/master/server/plugins-available/apache2_plugin.inc.php#L516
Server config (server
table) contains relevant website_basedir
which points to /var/www/
and /var/www/etc/passwd
does not exists.
Whole server ini: https://git.ispconfig.org/snippets/3
Relevant log:
...
03.10.2016-12:27 - DEBUG - Calling function 'ssl' from plugin 'apache2_plugin' raised by event 'web_domain_update'.
03.10.2016-12:27 - DEBUG - Calling function 'update' from plugin 'apache2_plugin' raised by event 'web_domain_update'.
....
03.10.2016-12:27 - DEBUG - Apache status is: running
03.10.2016-12:27 - DEBUG - Calling function 'restartHttpd' from module 'web_module'.
03.10.2016-12:27 - DEBUG - Restarting httpd: /etc/init.d/apache2 restart
03.10.2016-12:27 - DEBUG - Apache restart return value is: 0
03.10.2016-12:27 - DEBUG - Apache online status after restart is: running
....
Whole log: https://git.ispconfig.org/snippets/2 (btw: creating snippets results in a 404 for me. Url https://git.ispconfig.org/ispconfig/ispconfig3/snippets/new - but changing the url to https://git.ispconfig.org/snippets/new does the trick.)