T
Twenty2w ago
Torx

CRON Jobs fail self Hosted mode

Hello there, Running the following commands :
yarn command:prod cron:messaging:messages-import
yarn command:prod cron:messaging:message-list-fetch
yarn command:prod cron:calendar:calendar-event-list-fetch
yarn command:prod cron:calendar:calendar-events-import
yarn command:prod cron:messaging:ongoing-stale
yarn command:prod cron:calendar:ongoing-stale
yarn command:prod cron:messaging:messages-import
yarn command:prod cron:messaging:message-list-fetch
yarn command:prod cron:calendar:calendar-event-list-fetch
yarn command:prod cron:calendar:calendar-events-import
yarn command:prod cron:messaging:ongoing-stale
yarn command:prod cron:calendar:ongoing-stale
Throw that error :
[Nest] 80 - 04/10/2025, 3:10:01 PM ERROR [Error] Error upserting job scheduler MessagingMessagesImportCronJob - ReplyError: ERR Error running script (call to 81fbaf39a6b4f458cd4085158d264cc3ed2d172a): @user_script:210: script tried accessing undeclared key, key: bull:cron-queue:repeat:MessagingMessagesImportCronJob
[Nest] 80 - 04/10/2025, 3:10:01 PM ERROR [Error] Error upserting job scheduler MessagingMessagesImportCronJob - ReplyError: ERR Error running script (call to 81fbaf39a6b4f458cd4085158d264cc3ed2d172a): @user_script:210: script tried accessing undeclared key, key: bull:cron-queue:repeat:MessagingMessagesImportCronJob
Recap : Self-Hosting : Yes Host OS: Rocky Linux 9 Twenty tag : 0.50.9 Complete logs of the worker container :
6 Replies
Torx
TorxOP2w ago
Torx
TorxOP2w ago
Should I create a github issue or am I doing something wrong ?
thomast
thomast5d ago
cc @Raphaël cc @Guillaume since @Raphaël is not available 🙏
Guillaume
Guillaume5d ago
Hello, Thanks for using Twenty @Torx . To be honest I've never seen such an issue before. I am wondering if you have Redis installed and up and running. Since you are running docker, can you check that your redis constianer is running ?
Torx
TorxOP4d ago
Yep I didn't check redis but the container failed for some reason, looks good now I guess that was it Thanks for the help !
Guillaume
Guillaume4d ago
ok cool. closing this issue

Did you find this page helpful?