Jump to content
  • 0

tickets are not imported using cron


Question

Posted

Hi,

The automation service seems to be running fine, only it's not able to import tickets it shows this:

https://prnt.sc/qbmbqf

the loading icon keeps rolling, the rest of automation working fine as i said:

 

http://prntscr.com/qbmt90

 

any idea, what can be wrong here?

4 answers to this question

Recommended Posts

  • 0
Posted

The automation task likely failed for some reason, causing php to stop executing, so the task could not finish.

You can check your cron logs under Tools > Logs > Cron tab to find the specific task to see if there is any error logged about a failure. You can also look at your file system logs around the time that the task failed to see if there is a php error logged. The path to those log files is set under Settings > System > General > "Log Directory".

You may want to also double-check your mailbox credentials for each support department to ensure they are accurate.

  • 0
Posted
  On 12/16/2019 at 6:02 PM, Tyson said:

The automation task likely failed for some reason, causing php to stop executing, so the task could not finish.

You can check your cron logs under Tools > Logs > Cron tab to find the specific task to see if there is any error logged about a failure. You can also look at your file system logs around the time that the task failed to see if there is a php error logged. The path to those log files is set under Settings > System > General > "Log Directory".

You may want to also double-check your mailbox credentials for each support department to ensure they are accurate.

Expand  

 

This is what I get in the tools - logs - cron tab

http://prntscr.com/qbomqf

 

Login credentials are fine as well.

  • 0
Posted

For whatever reason your tickets cannot be imported. Make sure you have the IMAP PHP extension and the Mailparse PECL extension. To test this, you can:

  1. Enable error reporting your /config/blesta.php (Change ErrorReporting value from "0" to "-1".
  2. Disable your cron job
  3. Execute the cron command manually via SSH after the next import should run (when task not stuck spinning).. but don't direct output to /dev/null. e.g. /path/to/php /path/to/blesta/index.php cron
  4. See if any errors are output.

Alternatively, you can check your ../logs_blesta/ log files. Settings > System > General will show the full path.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...