To receive auto email daily

Hi there,
sorry for my english,

I try to receive auto email daily , it doesn’t work , and I don’t understand

Kanboard :
Version de l’application : 1.2.28
Version de PHP : 7.4.30
PHP SAPI : fpm-fcgi
Client HTTP : cURL
Version du système d’exploitation : Linux 4.4.59+
Type de base de données : sqlite
Version de la base de donnée : 3.10.2
Navigateur web : Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/112.0


NAS SYNOLOGY
Default profile PHP 7.4
Apache HTTP Server 2.4


The cron log

PHP Fatal error: Composer detected issues in your platform: Your Composer dependencies require a PHP version “>= 7.4.0”. You are running 5.6.11. in /volume1/web/kb/vendor/composer/platform_check.php on line 25

Hey @Paul, welcome to the forum!

The version of your command line PHP differs from the one Apache uses.

There should be an appropriate version (7.4) around on your system. You have to locate it and then use this version for your cron job line.

Tahnks a lot !

My cron job line is :
cd /volume1/web/kb/&& ./cli cronjob >> /volume1/web/kb/log.txt 2>&1

I don’t understand what to do,

  • I verified the php version on NAS Synology (7.4)
  • Kanboard (Version de PHP : 7.4.30)

And the log send an information about a 5.6.11 version

Where to change this 5.6.11 version ?

You have to extend:

cd /volume1/web/kb/ && /path/to/7.4/php ./cli cronjob >> /volume1/web/kb/log.txt 2>&1

But you have to find the path first. I assume there exists such a version.

Thanks,
I understood

I check this as soon as possible

I’ll write the ionfo (if I found it…)

I just wrote :
cd /volume1/web/kb/ && php74 ./cli cronjob >> /volume1/web/kb/log.txt 2>&1

And it’s work

Le log :thinking: (I’llsee later)
Thnaks a lot alfredb !

PHP Warning: PHP Startup: Unable to load dynamic library ‘mcrypt.so’ (tried: /usr/local/lib/php74/modules/mcrypt.so (/usr/local/lib/php74/modules/mcrypt.so: cannot open shared object file: No such file or directory), /usr/local/lib/php74/modules/mcrypt.so.so (/usr/local/lib/php74/modules/mcrypt.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library ‘mysql.so’ (tried: /usr/local/lib/php74/modules/mysql.so (/usr/local/lib/php74/modules/mysql.so: cannot open shared object file: No such file or directory), /usr/local/lib/php74/modules/mysql.so.so (/usr/local/lib/php74/modules/mysql.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0

Well, I wouldn’t name it “working”, if you got those two errors. But strange because mcrypt.so is not on the list of requirements and mysql.so in not required if you use SQLite.