Page 1 of 1

"Perform Updates" Task does not run

Posted: Fri 22. Dec 2017, 14:08
by silenzium
Hello,

I have a strange problem since a view days:

The first panel task "Perform Updates" which is set to 1 minute does not run (it sais "Last run: 11:37:00 - December 18, 2017 - Task queued") and I cannot start it manually. What can cause this? Can I lookup log files for that somewhere?

Thanks in advance!

Re: "Perform Updates" Task does not run

Posted: Fri 22. Dec 2017, 14:49
by Martin
Hello,

you may check the "update.log" within Panel-Task-Logs.

Also you can try to run the command manually to check if this would result in an error:
php /home/keyhelp/www/keyhelp/incl/cronjob/mastercronjob.php --force-update

Re: "Perform Updates" Task does not run

Posted: Fri 22. Dec 2017, 16:04
by silenzium
Thanks for your reply, I get the following error when running that command:

Code: Select all

PHP Parse error:  syntax error, unexpected 'IONCUBE' (T_STRING) in /home/keyhelp/www/keyhelp/incl/cronjob/mastercronjob.php on line 5
I think its because I swichted the global PHP version from 5.6 to 7.1 on my debian strech.
Can KeyHelp run with 7.1 somehow or do I have to switch back to 5.6?

I know I can switch PHP version for my domains/subdomains, but I wanted to have php7.1 as the default php binary on the cli.

Thanks again!

Re: "Perform Updates" Task does not run

Posted: Fri 22. Dec 2017, 16:07
by Martin
Hello,

KeyHelp is not able to use PHP 7.1 at this moment. So it is normal that it will not work anymore if PHP is manually changed.

You can use KeyHelp additional PHP also via CLI:
/opt/keyhelp/php/X.Y/bin/php

PS: Debian Strech should use PHP 7.0 by default, 5.6 was default in Jessie

Re: "Perform Updates" Task does not run  [SOLVED]

Posted: Fri 22. Dec 2017, 16:11
by silenzium
Martin wrote: Fri 22. Dec 2017, 16:07 You can use KeyHelp additional PHP also via CLI:
/opt/keyhelp/php/X.Y/bin/php
OK that should solve it!
Martin wrote: Fri 22. Dec 2017, 16:07 PS: Debian Strech should use PHP 7.0 by default, 5.6 was default in Jessie
:lol: yeah my fault. Last business day today... haha


Thank you Martin, have a great christmas and so on ;)