PawelPaciorek

Wow, that’s an extremely old version of PHP. I would highly suggest upgrading your PHP and osTicket and retest.

Cheers.

6 days later

PawelPaciorek

I’m sorry but without you being on a latest release with the latest supported prerequisites then I wouldn’t be able to assist you further.

Cheers.

Here is the list of current versions and their pre-requisites.

a month later

ok, i upgrade osticket to 1.18.1 and still have the same problem, all works without auto email notificaton.
Notification is send only when administrator login to do panel...

    PawelPaciorek

    Can you share a screenshot of Admin Panel > Dashboard > Information? Your situation doesn’t really make any sense unless only auto-cron is running which is only ran when agents are logged in.

    What alerts are not sending exactly?

    Cheers.

    PawelPaciorek

    Also, did you update the cron command to reflect the new PHP version after upgrading? If not that will be an issue.

    Cheers.

    Previously it worked like this:
    Someone sends an email to a mailbox connected to osticket.
    Osticket downloads this message and creates a report, sending an emain to the website address about the new report and its content.

    Currently it works like this:
    Someone sends an email to a mailbox connected to osticket.
    Nothing further happens until I log into my account.
    When you log in, osticket creates a ticket and sends an email notification that the ticket has been created.

    my cron job looks like this, before this works...

    • * * * * /usr/bin/php /path_to_osticket_folder/public_html/api/cron.php

      PawelPaciorek

      Why didn’t you check the requirements before upgrading? We don’t support PHP 8.3 so you’ll need to downgrade to PHP 8.2 and update the cron command accordingly.

      After your recent description of the issue I can confirm your cron job is not running or is not correct which is the cause of your issue.

      Cheers.

      OMG... today i change php version to 8.1 and cron start working but only for 2 minutes, and now doesnt work...

        PawelPaciorek

        As suggested earlier in this discussion, try using the following cron command (this runs every 5 minutes):

        */5 * * * * /path/to/php /path/to/osTicket/api/cron.php

        Of course, you’ll have to replace /path/to/php with the full path (or short-name) for your PHP executable (ensure it’s the same PHP version you are running osTicket on) and replace /path/to/osTicket/api/cron.php with the full path to your osTicket /api/cron.php file.

        Cheers.

        Write a Reply...