Page 1 of 1
PHP Version nicht umstellbar
Posted: Fri 1. Sep 2017, 15:16
by netfreak
Guten Tag,
ich bin von einer Debian Jessie auf eine frische Debian Stretch Installation mit Keyhelp Panel umgestiegen. Nun habe ich festgestellt, dass sich PHP Versionen nicht mehr ändern lassen und nun die halben vHost configs kaputt sind. Als Systemstandard PHP-Version war 7.0.19 installiert. Nach der Installation von PHP Version 5.6.30 über das Panel wurde der Systemstandard überschrieben. Nun lässt läuft der Webserver mit PHP 5.6.30, dies lässt sich leider auch manuell nicht über das Panel ändern.
Ich habe unten ein Paar Screenshots angehängt, ich hoffe jemand kann mir helfen
Grüße
Joey
Re: PHP Version nicht umstellbar
Posted: Fri 1. Sep 2017, 17:33
by Martin
Hallo,
werden Fehler im master.log oder update.log gemeldet?
Erfolgen Fehlermeldungen wenn der Update Job auf der Konsole manuell ausgeführt wird? Hierzu kann der folgende Befehl genutzt werden:
Code: Select all
php /home/keyhelp/www/keyhelp/incl/cronjob/mastercronjob.php --force-update
Gab es während des Systemupdates irgendwelche Fehler?
Re: PHP Version nicht umstellbar
Posted: Fri 1. Sep 2017, 19:15
by netfreak
Hi,
cat /var/log/keyhelp/cronjob/master.log
Code: Select all
====
[PID-14794] [01-Sep-2017 19:09:01] DEBUG --> connect db ... success
[PID-14794] [01-Sep-2017 19:09:01] DEBUG --> it is time for: incl/cronjob/jobs/u pdate.php
[PID-14794] [01-Sep-2017 19:09:01] INFO --> >>> trying to run "update"
[PID-14794] [01-Sep-2017 19:09:01] INFO --> lock "update" acquired
[PID-14794] [01-Sep-2017 19:09:01] INFO --> processing the job ...
[PID-14794] [01-Sep-2017 19:09:01] INFO --> <<< job done, releasing lock "updat e"
====
[PID-14894] [01-Sep-2017 19:10:01] DEBUG --> connect db ... success
[PID-14894] [01-Sep-2017 19:10:01] DEBUG --> it is time for: incl/cronjob/jobs/u pdate.php
[PID-14894] [01-Sep-2017 19:10:01] INFO --> >>> trying to run "update"
[PID-14894] [01-Sep-2017 19:10:01] INFO --> lock "update" acquired
[PID-14894] [01-Sep-2017 19:10:01] INFO --> processing the job ...
[PID-14894] [01-Sep-2017 19:10:01] INFO --> <<< job done, releasing lock "updat e"
====
[PID-14972] [01-Sep-2017 19:11:01] DEBUG --> connect db ... success
[PID-14972] [01-Sep-2017 19:11:01] DEBUG --> it is time for: incl/cronjob/jobs/u pdate.php
[PID-14972] [01-Sep-2017 19:11:01] INFO --> >>> trying to run "update"
[PID-14972] [01-Sep-2017 19:11:01] INFO --> lock "update" acquired
[PID-14972] [01-Sep-2017 19:11:01] INFO --> processing the job ...
[PID-14972] [01-Sep-2017 19:11:01] INFO --> <<< job done, releasing lock "updat e"
====
cat /var/log/keyhelp/cronjob/update.log
Code: Select all
[01-Sep-2017 19:08:01] DEBUG --> load tasks ... nothing to do -> return
====
[01-Sep-2017 19:09:01] DEBUG --> load tasks ... nothing to do -> return
====
[01-Sep-2017 19:10:01] DEBUG --> load tasks ... nothing to do -> return
====
[01-Sep-2017 19:11:01] DEBUG --> load tasks ... nothing to do -> return
====
[01-Sep-2017 19:12:02] DEBUG --> load tasks ... nothing to do -> return
====
Wärend dem Ausführen des Update-Befehlt kam es zu keinen Fehlern. Ich konnte allerdings unter /var/log/keyhelp/php-error.log folgendes finden:
Code: Select all
[01-Sep-2017 13:46:55 Europe/Berlin] PHP Warning: array_key_exists(): The first argument should be either a string or an integer in /home/keyhelp/www/keyhelp/incl/page/admin_domain_add.php on line 189
[01-Sep-2017 13:53:06 Europe/Berlin] PHP Warning: array_key_exists(): The first argument should be either a string or an integer in /home/keyhelp/www/keyhelp/incl/page/admin_domain_add.php on line 189
[01-Sep-2017 13:53:48 Europe/Berlin] PHP Warning: array_key_exists(): The first argument should be either a string or an integer in /home/keyhelp/www/keyhelp/incl/page/user_domain_edit.php on line 248
[01-Sep-2017 13:53:53 Europe/Berlin] PHP Warning: array_key_exists(): The first argument should be either a string or an integer in /home/keyhelp/www/keyhelp/incl/page/user_domain_edit.php on line 248
[01-Sep-2017 14:13:30 Europe/Berlin] PHP Notice: Undefined variable: password in /home/keyhelp/www/keyhelp/incl/page/admin_accounts_user_edit.php on line 459
[01-Sep-2017 14:19:02 Europe/Berlin] PHP Warning: array_key_exists(): The first argument should be either a string or an integer in /home/keyhelp/www/keyhelp/incl/page/user_domain_edit.php on line 248
[01-Sep-2017 14:20:33 Europe/Berlin] PHP Warning: array_key_exists(): The first argument should be either a string or an integer in /home/keyhelp/www/keyhelp/incl/page/user_domain_edit.php on line 248
[01-Sep-2017 14:24:24 Europe/Berlin] PHP Warning: array_key_exists(): The first argument should be either a string or an integer in /home/keyhelp/www/keyhelp/incl/page/user_domain_edit.php on line 248
Bin mir nun nicht sicher ob das etwas damit zu tun haben kann.
Grüße
Joey