ISPConfig Job bleibt stecken

reisetroll

New Member
Hallo,

hab vorgestern auf die neues ISPConfig-Version aktualisiert.

Wollte gerade eben bei einer meiner Website bei den NGINX-Einstellungen was ändern, aber da hängt der Job nun seit einer halben Stunde.

ispconfig neu zu installieren mit --force hab ich schon probiert.
nginx, mariadb und php wurden mehrmals neu gestartet

wenn ich den cronjob manuell laufen über die Shell lasse, kommt folgender Output:

19.03.2021-11:05 - WARNING - There is already a lockfile set, but no process running with this pid (18496). Continuing.
19.03.2021-11:05 - DEBUG - Unable to register function 'process' from plugin 'software_update_plugin' for event 'software_update_inst_insert'
19.03.2021-11:05 - DEBUG - Calling function 'check_phpini_changes' from plugin 'webserver_plugin' raised by action 'server_plugins_loaded'.
19.03.2021-11:05 - DEBUG - Found 3 changes, starting update process.
19.03.2021-11:05 - DEBUG - Calling function 'ssl' from plugin 'nginx_plugin' raised by event 'web_domain_insert'.
19.03.2021-11:05 - DEBUG - Calling function 'insert' from plugin 'nginx_plugin' raised by event 'web_domain_insert'.
19.03.2021-11:05 - DEBUG - safe_exec cmd: chattr -i '/var/www/clients/client4/web216' - return code: 0
19.03.2021-11:05 - DEBUG - safe_exec cmd: chattr +i '/var/www/clients/client4/web216' - return code: 0
19.03.2021-11:05 - DEBUG - safe_exec cmd: cp '/usr/local/ispconfig/server/conf/error/de/'* '/var/www/clients/client4/web216/web//error/' - return code: 0
19.03.2021-11:05 - DEBUG - safe_exec cmd: chmod -R a+r '/var/www/clients/client4/web216/web//error/' - return code: 0
19.03.2021-11:05 - DEBUG - safe_exec cmd: chmod -R a+r '/var/www/clients/client4/web216/web//' - return code: 0
19.03.2021-11:05 - DEBUG - safe_exec cmd: df -T '/var/www/clients/client4/web216'|awk 'END{print $2,$NF}' - return code: 0
19.03.2021-11:05 - DEBUG - safe_exec cmd: which 'setquota' 2> /dev/null - return code: 0
19.03.2021-11:05 - DEBUG - safe_exec cmd: setquota -u 'web216' '0' '0' 0 0 -a &> /dev/null - return code: 0
19.03.2021-11:05 - DEBUG - safe_exec cmd: setquota -T -u 'web216' 604800 604800 -a &> /dev/null - return code: 0
19.03.2021-11:05 - DEBUG - safe_exec cmd: chown -R 'web216':'client4' '/var/www/clients/client4/web216/web/' - return code: 0
19.03.2021-11:05 - DEBUG - safe_exec cmd: chown 'web216':'client4' '/var/www/clients/client4/web216/web/' - return code: 0
19.03.2021-11:05 - DEBUG - safe_exec cmd: chattr -i '/var/www/clients/client4/web216' - return code: 0
19.03.2021-11:05 - DEBUG - safe_exec cmd: usermod --groups sshusers 'web216' 2>/dev/null - return code: 0
19.03.2021-11:05 - DEBUG - safe_exec cmd: chattr +i '/var/www/clients/client4/web216' - return code: 0
PHP Warning: Undefined array key "template" in /usr/local/ispconfig/server/lib/classes/tpl_ini.inc.php on line 92
PHP Warning: Trying to access array offset on value of type null in /usr/local/ispconfig/server/lib/classes/tpl_ini.inc.php on line 92
PHP Warning: Undefined array key "template" in /usr/local/ispconfig/server/lib/classes/tpl_ini.inc.php on line 92
PHP Warning: Trying to access array offset on value of type null in /usr/local/ispconfig/server/lib/classes/tpl_ini.inc.php on line 92
19.03.2021-11:05 - DEBUG - SSL Disabled. aaa.sn-webhosting.at
19.03.2021-11:05 - DEBUG - safe_exec cmd: nginx -V 2>&1 | grep 'built with OpenSSL' | sed 's/.*built\([a-zA-Z ]*\)OpenSSL \([0-9.]*\).*/\2/' - return code: 0
19.03.2021-11:05 - DEBUG - safe_exec cmd: nginx -V 2>&1 | grep 'running with OpenSSL' | sed 's/.*running\([a-zA-Z ]*\)OpenSSL \([0-9.]*\).*/\2/' - return code: 0
19.03.2021-11:05 - DEBUG - safe_exec cmd: which 'nginx' 2> /dev/null - return code: 0
19.03.2021-11:05 - DEBUG - Enable TLS 1.3 for: mydomain.com
PHP Fatal error: Uncaught TypeError: count(): Argument #1 ($var) must be of type Countable|array, null given in /usr/local/ispconfig/server/lib/classes/tpl.inc.php(1344) : eval()'d code:78
Stack trace:
#0 /usr/local/ispconfig/server/lib/classes/tpl.inc.php(1344): eval()
#1 /usr/local/ispconfig/server/lib/classes/tpl.inc.php(788): tpl->_parse()
#2 /usr/local/ispconfig/server/plugins-available/nginx_plugin.inc.php(1942): tpl->grab()
#3 /usr/local/ispconfig/server/plugins-available/nginx_plugin.inc.php(339): nginx_plugin->update()
#4 /usr/local/ispconfig/server/lib/classes/plugins.inc.php(120): nginx_plugin->insert()
#5 /usr/local/ispconfig/server/mods-available/web_module.inc.php(136): plugins->raiseEvent()
#6 /usr/local/ispconfig/server/lib/classes/modules.inc.php(302): web_module->process()
#7 /usr/local/ispconfig/server/lib/classes/modules.inc.php(235): modules->raiseTableHook()
#8 /usr/local/ispconfig/server/server.php(180): modules->processDatalog()
#9 {main}
thrown in /usr/local/ispconfig/server/lib/classes/tpl.inc.php(1344) : eval()'d code on line 78
server {
listen 1.2.3.4:80;
listen [a:b:c:d::1]:80;

server_name mydomain.com www.mydomain.com;

root /var/www/mydomain.com/web/;
 

Till

Administrator
Da hast Du wohl PHP 8 als system PHP installiert, das kann nicht funktionieren. Stell Deine System (default) PHP Version zurück auf die PHP Version, die zu der von Dir verwendeten Linux Distribution gehört. Mit dem ISPConfig Update hat das übrigens nichts zu tun.

Make sure you are using the default PHP version for your OS with
Code:
update-alternatives --config php
and
Code:
update-alternatives --config php-cgi
These are the default versions that should be used:
Debian 9: PHP 7.0
Debian 10: PHP 7.3
Ubuntu 16.04: PHP 7.0
Ubuntu 18.04: PHP 7.2
Ubuntu 20.04: PHP 7.4
CentOS 7: PHP 5.4
CentOS 8: PHP 7.2

This issue can be caused by installing/updating a (new) PHP version.
 

Werbung

Top
Unsere Website wird durch die Anzeige von Online-Werbung für unsere Besucher ermöglicht.
Bitte ziehe es in Betracht, uns zu unterstützen, indem du deinen Werbeblocker deaktivierst.