Question - daily cron issue

Hi there,

we were using one of your VMs from a few years ago with Ubuntu 16.04. I just manually updated it to 20.04 and made sure to have all Apache, MySQL, etc. etc. version exactly as described: Source Code - Install & Configuration Guide - Google Docs

I just checked the health tab inside Eramba dashboard and everything is green except the daily cron job:

The cron settings inside Eramba are ok, the crontab entries are ok.

I manually ran a daily cron job and all was green except this part:

Starting Cron Task - AutoUpdateCron                                                                                                                  
2022-05-25 12:58:11 Error: [CronException] Since there seem to be system errors (on the linux system were this eramba runs) we cant let you update the system. Visit the <a href="/settings/systemHealth">System Health</a> page check for details on what could be wrong.                                
Stack Trace:                                                                                                                                         
#0 /var/www/html/eramba_v2/app/Lib/AutoUpdateLib.php(185): AutoUpdateLib->setError()                                                                 
#1 /var/www/html/eramba_v2/app/Lib/AutoUpdateLib.php(196): AutoUpdateLib->checkSystemHealth()                                                        
#2 /var/www/html/eramba_v2/app/Controller/Crud/Listener/AutoUpdateCronListener.php(33): AutoUpdateLib->check()                                       
#3 /var/www/html/eramba_v2/app/Module/Cron/Console/Command/CronShell.php(293): AutoUpdateCronListener->daily()                                       
#4 /var/www/html/eramba_v2/app/Module/Cron/Console/Command/CronShell.php(206): CronShell->_executeTask()                                             
#5 /var/www/html/eramba_v2/app/Module/Cron/Console/Command/CronShell.php(140): CronShell->_runTasks()                                                
#6 /var/www/html/eramba_v2/app/Module/Cron/Console/Command/CronShell.php(103): CronShell->_job()                                                     
#7 /var/www/html/eramba_v2/lib/Cake/Console/Shell.php(459): CronShell->job()                                                                         
#8 /var/www/html/eramba_v2/lib/Cake/Console/ShellDispatcher.php(222): Shell->runCommand()                                                            
#9 /var/www/html/eramba_v2/lib/Cake/Console/ShellDispatcher.php(66): ShellDispatcher->dispatch()                                                     
#10 /var/www/html/eramba_v2/app/Console/cake.php(37): ShellDispatcher::run()                                                                         
#11 {main}                                                                                                                                           
Task: AutoUpdateCron                                                                                                                                 
Status: Error                                                                                                                                        
Message: CRON task "AutoUpdateCron" failed to process with error: Since there seem to be system errors (on the linux system were this eramba runs) we cant let you update the system. Visit the <a href="/settings/systemHealth">System Health</a> page check for details on what could be wrong.         
Execution Time: 0.054s

tried rebooting and ran it again now I get a new error:

Starting Cron Task - AutoUpdateCron                                                                                                                  
2022-05-25 13:09:43 Error: [CronException] Your app version does not match with our records. Please contact support.                                 
Stack Trace:                                                                                                                                         
#0 /var/www/html/eramba_v2/app/Lib/AutoUpdateLib.php(234): AutoUpdateLib->setError()                                                                 
#1 /var/www/html/eramba_v2/app/Controller/Crud/Listener/AutoUpdateCronListener.php(33): AutoUpdateLib->check()                                       
#2 /var/www/html/eramba_v2/app/Module/Cron/Console/Command/CronShell.php(293): AutoUpdateCronListener->daily()                                       
#3 /var/www/html/eramba_v2/app/Module/Cron/Console/Command/CronShell.php(206): CronShell->_executeTask()                                             
#4 /var/www/html/eramba_v2/app/Module/Cron/Console/Command/CronShell.php(140): CronShell->_runTasks()                                                
#5 /var/www/html/eramba_v2/app/Module/Cron/Console/Command/CronShell.php(103): CronShell->_job()                                                     
#6 /var/www/html/eramba_v2/lib/Cake/Console/Shell.php(459): CronShell->job()                                                                         
#7 /var/www/html/eramba_v2/lib/Cake/Console/ShellDispatcher.php(222): Shell->runCommand()                                                            
#8 /var/www/html/eramba_v2/lib/Cake/Console/ShellDispatcher.php(66): ShellDispatcher->dispatch()                                                     
#9 /var/www/html/eramba_v2/app/Console/cake.php(37): ShellDispatcher::run()                                                                          
#10 {main}                                                                                                                                           
Task: AutoUpdateCron                                                                                                                                 
Status: Error                                                                                                                                        
Message: CRON task "AutoUpdateCron" failed to process with error: Your app version does not match with our records. Please contact support.          
Execution Time: 0.272s

Hello,

Make sure that you have php.ini files same for both apache and cli.
Then please send us your about page to support@eramba.org

I did send you the about page.

I compared both php.ini files with sdiff and they are identical.

root@eramba:/etc/php/7.4# sdiff -s apache2/php.ini cli/php.ini |more
root@eramba:/etc/php/7.4#

Solved on our side

1 Like

Hello,
We have similar Problem here. Everytime the daily cron is running there comes the following Error Message:

CRON task "AutoUpdateCron" failed to process with error: Your app version does not match with our records. Please contact support.

The hourly cron works fine.

We have running an apache-server and have our php.ini in /etc/php.ini.

We did an Update of the MariaDB a few days before.
Does the update have anything to do with it?

Im looking forward your answer:)

Hello,

Please send us about page to our support email: support@eramba.org