coolify
coolify copied to clipboard
[Bug]: Incoming email notification "Coolify: [ACTION REQUIRED] Scheduled task (Cron scheduler) failed."
Description
Few times a day (~5) we receive email notification with subject: Coolify: [ACTION REQUIRED] Scheduled task (Cron scheduler) failed.
and with the content:
SQLSTATE[23505]: Unique violation: 7 ERROR: duplicate key value violates unique constraint "scheduled_task_executions_uuid_unique"
DETAIL: Key (uuid)=(zoo88ww) already exists. (Connection: pgsql, SQL: insert into "scheduled_task_executions" ("scheduled_task_id", "uuid", "updated_at", "created_at") values (4, zoo88ww, 2024-06-21 18:45:02, 2024-06-21 18:45:02) returning "id")
In the messages, the uuid changes like ggsw0s4, h04s4ss, etc.
Minimal Reproduction (if possible, example repository)
In the Scheduled Tasks there is only one defined job, it is Laravel's scheduler: php artisan schedule:run
with frequency * * * * *
As the above error mentions "scheduled_task_executions"
and duplicated uuid at this table, it must be something related to Coolify itself, this error does not come from the the commands fired by Laravel.
Exception or Error
No response
Version
v4.0.0-beta.297