[worker command] Google Account stuck on "Importing" after OAuth change. ✅
Hi, we changed our google workspace domain, so i figured i had to change the OAuth as well. We setup a new OAuth application, but after i connect and get redirected the Google account remains on "Importing" indefinetly. I reckon it is a stale state of the queue worker. But after redeploying the docker compose setup, it still remains in this state. How can i fix this?
7 Replies
did you restart your worker as well ?
Yeah i redeployed the docker compose and fetched latest images
thansk for the response tho
I think this might have something to do with it
The Job keeps being stuck on this: 2025-05-22T21:00:20.026322814Z [Nest] 34 - 05/22/2025, 9:00:20 PM LOG ;5;3m[MessagingMessageListFetchJob] Fetching full message list for workspace bda51b9b-de6a-4a23-ae9b-9bd67e5a3c66 and account b2c2537a-7bec-4233-aefd-e36b25c6a10d
But it seems like it doesn't finish it all.
two questions :
- there are no logs after "Fetching full message list" ?
- how many emails do you have in your mailbox ?
No logs after fetching full message list, got 403 emails in my mailbox.
~400 mails should be treated in less than 7minutes. You can keep that in mind when trying things.
make sure you run yarn command:prod cron:messaging:messages-import
and try again (disconnect account, connect again your email)
Thank you! the command started the job again! 2025-05-22T21:00:19.774050729Z Computing new Datasource for cacheKey: bda51b9b-de6a-4a23-ae9b-9bd67e5a3c66-11 out of 0
2025-05-22T21:00:20.026322814Z [Nest] 34 - 05/22/2025, 9:00:20 PM LOG ;5;3m[MessagingMessageListFetchJob] Fetching full message list for workspace bda51b9b-de6a-4a23-ae9b-9bd67e5a3c66 and account b2c2537a-7bec-4233-aefd-e36b25c6a10d
2025-05-23T09:07:00.087392174Z Computing new Datasource for cacheKey: bda51b9b-de6a-4a23-ae9b-9bd67e5a3c66-11 out of 0
2025-05-23T09:07:00.154182535Z [Nest] 34 - 05/23/2025, 9:07:00 AM LOG ;5;3m[MessagingMessagesImportService] Messaging import for workspace bda51b9b-de6a-4a23-ae9b-9bd67e5a3c66 and account a888a0ac-a88b-4606-abdf-1571723fc1f4 starting...
2025-05-23T09:07:00.571277428Z [Nest] 34 - 05/23/2025, 9:07:00 AM LOG ;5;3m[MessagingMessagesImportService] Messaging import for workspace bda51b9b-de6a-4a23-ae9b-9bd67e5a3c66 and account b2c2537a-7bec-4233-aefd-e36b25c6a10d starting...
2025-05-23T09:07:03.958587846Z [Nest] 34 - 05/23/2025, 9:07:03 AM LOG ;5;3m[GmailGetMessagesService] Messaging import for workspace bda51b9b-de6a-4a23-ae9b-9bd67e5a3c66 and account b2c2537a-7bec-4233-aefd-e36b25c6a10d fetching 200 messages in 3057ms
2025-05-23T09:07:04.082875276Z [Nest] 34 - 05/23/2025, 9:07:04 AM LOG ;5;3m[GmailGetMessagesService] Messaging import for workspace bda51b9b-de6a-4a23-ae9b-9bd67e5a3c66 and account b2c2537a-7bec-4233-aefd-e36b25c6a10d formatting 200 messages in 124ms
Thanks for the support Guillame, it is synced again!
cool