Hello,
we have successfully updated Osticket to version 1.17. The email account for retrieving emails has been switched to OAuth. Mails are now also received and sent but not via CronJob:

The task "/var/www/vhosts/xxxxx.de/httpdocs/xxxx.xxxxx.de/api/cron.php" completed in 0 seconds but encountered errors

PHP Fatal error: Abstract function osTicket\Mail\MailBoxProtocolTrait::oauth2Auth() cannot be declared private in /var/www/vhosts/xxxxx.de/httpdocs/xxx.xxxxx.de/include/class.mail. php online 238

Is there anything else to consider for the cron job after switching to Oauth2

Thanks!
Torte

  • KevinTheJedi replied to this.
  • torte1900

    Then you must have some lingering old files or some files didn’t get copied properly. That was fixed with the latest commit in that branch.

    Cheers.

    torte1900

    Then you must have some lingering old files or some files didn’t get copied properly. That was fixed with the latest commit in that branch.

    Cheers.

    KevinTheJedi Thank You!!

    You are right.

    After looking at this on Git I understood that 1.17.x is newer than the 1.17 release. 🤣
    After I copied the 1.17.x files, the external CronJob is running again.

    Thank you

    Write a Reply...