Jump to content
  • 0

tickets are not imported using cron


KrisA

Question

4 answers to this question

Recommended Posts

  • 0

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.

Link to comment
Share on other sites

  • 0
2 hours ago, 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.

 

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

http://prntscr.com/qbomqf

 

Login credentials are fine as well.

Link to comment
Share on other sites

  • 0

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.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...