T
Twenty3d 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
7 Replies
Guillaume
Guillaume3d ago
did you start the workers ?
Jas0r
Jas0rOP3d 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
Guillaume3d 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
Jas0rOP2d 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
charles2d 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
Jas0rOP13h ago
Hi, attached the first 3. Just googling how to export redis
Jas0r
Jas0rOP12h ago
Got a screenshot of redis but let me know if there is something more specific you need
No description

Did you find this page helpful?