"Perform Updates" Task does not run  [SOLVED]

Locked
silenzium
Posts: 26
Joined: Thu 30. Nov 2017, 10:59

"Perform Updates" Task does not run

Post 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!
Best, Lorenz
User avatar
Martin
Posts: 984
Joined: Wed 20. Jan 2016, 00:43

Re: "Perform Updates" Task does not run

Post 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
Viele Grüße,
Martin
silenzium
Posts: 26
Joined: Thu 30. Nov 2017, 10:59

Re: "Perform Updates" Task does not run

Post 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!
Best, Lorenz
User avatar
Martin
Posts: 984
Joined: Wed 20. Jan 2016, 00:43

Re: "Perform Updates" Task does not run

Post 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
Viele Grüße,
Martin
silenzium
Posts: 26
Joined: Thu 30. Nov 2017, 10:59

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

Post 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 ;)
Best, Lorenz
Locked