T
Twenty2mo ago
Jas0r

Microsoft Sync - Forever Importing

I have sucessfully managed to get microsoft SSO set up and added an account to hopefully sync emails. It is just sitting there forever importing. Its been a few days now and I have no new tabs or pages that show anything has started. I have checked the logs and nothing seems to be coming up they are pretty clean. I am on self hosted docker version 0.42.6 Happy to send over anything else needed
No description
9 Replies
Guillaume
Guillaume2mo ago
did you start the workers ?
Jas0r
Jas0rOP2mo ago
Hi, I haven't done anything manually being a docker instance I hoped it was auto. I just tried the command I found and got the below /app/packages/twenty-server $ yarn nx worker twenty-server node:internal/modules/cjs/loader:1080 throw err; ^ Error: Cannot find module '/app/node_modules/nx/bin/nx.js' at Module._resolveFilename (node:internal/modules/cjs/loader:1077:15) at Module._load (node:internal/modules/cjs/loader:922:27) at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12) at node:internal/main/run_main_module:23:47 { code: 'MODULE_NOT_FOUND', requireStack: [] } Node.js v18.17.1
Guillaume
Guillaume2mo ago
You should rather type this 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
Jas0r
Jas0rOP2mo ago
Thanks, I did do this from the guide page. I restarted the container and re-run them again. No errors come up so will give it a few hours and see if anything populates I have read through the guide again just in case I missed a step, I wasn't sure if there is anything to configure at the step "Configure scopes" https://twenty.com/developers/section/self-hosting/setup#Configure%20scopes I checked and all the API's are correct in Entra / Azure
charles
charles2mo ago
@Jas0r do you still face an issue here? Could you share the content of your messageChannel and connectedAccount table, your worker logs and your redis content? (high level screenshot might be enough here)
Jas0r
Jas0rOP2mo ago
Hi, attached the first 3. Just googling how to export redis
Jas0r
Jas0rOP2mo ago
Got a screenshot of redis but let me know if there is something more specific you need
No description
Jas0r
Jas0rOP2mo ago
Hi, just confirming I think I have it fixed. Not 100% sure what fixed it but latest update which introduced the health status in settings has it running. It's synchronising and populating now
charles
charles2mo ago
wonderful!

Did you find this page helpful?