Hello,
I noticed today that the main cron job we have set up on the server seems to be erroring, meaning that none of our other scheduled tasks are running.
We're getting an error message on the server every time we try to run the cron job manually, but the server itself provides very little detail as to what the problem might be. I checked the Espo log for today and it's repearing one error over and over again:
[2018-12-18 15:40:02] Espo.ERROR: Uncaught Exception PDOException: "SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry 'Pending-0' for key 'IDX_JOB_STATUS'" at /var/www/vhosts/fsed.co.uk/espo.fsed.co.uk/espo/application/Espo/ORM/DB/Mapper.php line 729 {"exception":"[object] (PDOException(code: 23000): SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry 'Pending-0' for key 'IDX_JOB_STATUS' at /var/www/vhosts/fsed.co.uk/espo.fsed.co.uk/espo/application/Espo/ORM/DB/Mapper.php:729)"} []
I've tried to upgrade Espo to get around the issue, but I only made it from 5.2.0 to 5.2.5 before it started throwing an error within Espo which is similar:
Error: SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry 'Pending-0' for key 'IDX_JOB_STATUS'
I noticed today that the main cron job we have set up on the server seems to be erroring, meaning that none of our other scheduled tasks are running.
We're getting an error message on the server every time we try to run the cron job manually, but the server itself provides very little detail as to what the problem might be. I checked the Espo log for today and it's repearing one error over and over again:
[2018-12-18 15:40:02] Espo.ERROR: Uncaught Exception PDOException: "SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry 'Pending-0' for key 'IDX_JOB_STATUS'" at /var/www/vhosts/fsed.co.uk/espo.fsed.co.uk/espo/application/Espo/ORM/DB/Mapper.php line 729 {"exception":"[object] (PDOException(code: 23000): SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry 'Pending-0' for key 'IDX_JOB_STATUS' at /var/www/vhosts/fsed.co.uk/espo.fsed.co.uk/espo/application/Espo/ORM/DB/Mapper.php:729)"} []
I've tried to upgrade Espo to get around the issue, but I only made it from 5.2.0 to 5.2.5 before it started throwing an error within Espo which is similar:
Error: SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry 'Pending-0' for key 'IDX_JOB_STATUS'
Comment