Issue with Gmail sync
Self-hosted instance, configured the Google authentication to allow sync, but it's stays in pending state.
I have gathered I need to run
yarn
commands to start the cron that will consume the emails to import but I am facing this error when trying the yarn command:prod cron:messaging:gmail-fetch-messages-from-cache
:
ERROR [Error] Nest could not find GmailFetchMessagesFromCacheCronJob element (this provider does not exist in the current context)
What did I forget ?
Thanks!3 Replies
Can anyone point me in the right direction? What can I provide to help with the diagnosis?
Thank you 🙂
Are you running v0.12? I think they’ve changed how it syncs. The commands that worked for me before the update no longer work.
Sorry guys, we have updated the commands. We will be adding instruction in the docs today
If you can't wait, new commands are:
- npx nx run twenty-server:command cron:messaging:gmail-message-list-fetch
- npx nx run twenty-server:command cron:messaging:gmail-messages-import