Gmail email sync (not calendar sync) intermittently stuck.
Hey All, I'm back again wrestling with the email sync issue that seems to hang or not complete. Does anyone have any verbose methods for watching the command work? The logs are relatively opaque and not very informative.
Thus far I've used all of the following commands:
I'm not sure if the stale process is killing my imports, but the app has stopped importing emails. I'm running these commands via cron every 30 minutes.
Any ideas?
5 Replies
@Raphaël could you have a look 🙏
Hello @Raph, you should only run these commands once, not every 30 minutes, each command will register a cron job.
We don't have any verbose method
What is your messageChannel and calendarChannel syncStatus and syncStage?
@Raphaël looks like I have similar issue, or at least one of my users is complaining that contact sync is stuck. Where and how can I check your mentioned "messageChannel and calendarChannel syncStatus and syncStage"?
Hello @Sebastian ! You can look inside your database, inside your workspace schema, you have a
messageChannel
and a calendarChannel
table. In each there is a syncStatus
and a syncStage
column.for message channel I see
syncStatus:
[null]
syncStage: FULL_MESSAGE_LIST_FETCH_PENDING
syncedAt: [null]
for calendar channel:
syncStatus: [null]
syncStage: FULL_CALENDAR_EVENT_LIST_FETCH_PENDING
syncedAt: [null]
how do I force sync?
@Raphaël how can I force the sync manually?