Hi I was running v1.41.1 and with PHP 7.2
I upgraded to v1.15.4 and with PHP7.4
now the cron task I had to stop working, no other changes to server or user account
This is what I have in crontab:
*/1 * * * * nobody /usr/lib/php /var/www/osticket/api/cron.php
php -v
PHP 7.4.25 (cli) (built: Oct 22 2021 12:33:59) ( NTS )
Copyright (c) The PHP Group
Zend Engine v3.4.0, Copyright (c) Zend Technologies
with Zend OPcache v7.4.25, Copyright (c), by Zend Technologies
When I run command: which php
/usr/bin/php
so I tried changing from /usrr/lib/php to /usr/bin/php still not working
*/1 * * * * nobody /usr/bin/php /var/www/osticket/api/cron.php
When I upgraded PHP from 7.2 to 7.4, Ubuntu some reason loaded PHP8.0 as default:
php -i | grep "Loaded Configuration File"
Loaded Configuration File => /etc/php/8.0/cli/php.ini
So, I run following to set back to: PHP7.4
sudo update-alternatives --set php /usr/bin/php7.4
php -i | grep "Loaded Configuration File"
Loaded Configuration File => /etc/php/7.4/cli/php.ini
any help would be great, I checked the logs, no error on osTicket, PHP, or Apache
for now, I enabled internal so, when Agent login it creates and updates tickets