Is it normal that no accounts are showing up to connect?

Hi everyone,
I'm using Twenty CRM Self Hosted, and I noticed that no accounts are showing up to connect. Is this normal, or am I missing something? Could anyone guide me on where to find the information on how to properly link accounts? Any help would be appreciated! Thanks in advance!
No description
29 Replies
thomast
thomast6d ago
You are missing env variables. You can go through that doc
ralfdigitalagency
Thx @thomast , I did that also activated SCOPES on Google Console, should I insert the codes of SCOPES in the docker too? In the guide I don't see specific instructions. Thx
ralfdigitalagency
UPDATE I added this code to the docker-compose.yml file: # Configurazione Google OAuth CALENDAR_PROVIDER_GOOGLE_ENABLED: ${CALENDAR_PROVIDER_GOOGLE> AUTH_GOOGLE_CLIENT_ID: ${AUTH_GOOGLE_CLIENT_ID} AUTH_GOOGLE_CLIENT_SECRET: ${AUTH_GOOGLE_CLIENT_SECRET} AUTH_GOOGLE_CALLBACK_URL: ${AUTH_GOOGLE_CALLBACK_URL} AUTH_GOOGLE_APIS_CALLBACK_URL: ${AUTH_GOOGLE_APIS_CALLBACK_U> and got this (see attachment), did I configured it right?
No description
ralfdigitalagency
Still encountering issues, this one is to be fixed with Google and has nothing to do with Twenty CRM right? Twenty Configuration is just fine like this?
No description
thomast
thomast4d ago
is your worker running? It is the one handling the import of emails. If running, you should look for errors in your logs
ralfdigitalagency
Yes it is running, I got this
No description
dialnco
dialnco3d ago
you have to add all required env variables to worker container also. Error seems to indicate you dont have google client ID on worker. https://twenty.com/developers/section/self-hosting/setup#create-a-project-in-google-cloud
ralfdigitalagency
I inserted the google client id, something else is wrong i guess
No description
Prastoin
Prastoin3d ago
Please double check your env variables values What does your worker logs say ?
Prastoin
Prastoin3d ago
Should not theses are generic google scopes agnostic of your google app At least that's the ones we will request access to in your google app
ralfdigitalagency
These are the worker logs
ralfdigitalagency
This part gives errors:
ralfdigitalagency
I am in test mode, these Sync Failed errors are cause of that, or even in test mode syncronization should work so the issues is somewhere else?
No description
No description
ralfdigitalagency
It seems right this way, right?
No description
ralfdigitalagency
env variables values should be correct. I am also using a subdomain, so in the URL I inserted thata specific subdomain. @Prastoin @thomast @dialnco For my understanding being able to log in through an added test account should also Sync Calendar and Email, other no added test account are not even allowed to enter. I double checked CLIENT ID and CLIENT SECRET, they are correct. There must be a misconfiguration on the Twenty Installation then.
dialnco
dialnco3d ago
variables are set on the "server" container. You need to copy them to the "worker" container also.
ralfdigitalagency
Do you mean in the docker-compose.yml file under worker section?
ralfdigitalagency
This is my file right now.
No description
No description
No description
ralfdigitalagency
But now not only isn not sync Google button has disappear😣
ralfdigitalagency
I manged getting it back and having it work in some way. I got 5-6 contacts imported but i have hundreds contacts in those emails and it's been hours now and importing is still processing without results besides the 5-6 contacts soon imported. I have the doubt emails are not imported only calendar events, cause I don't see any emails. Any idea?
No description
ralfdigitalagency
After 4-5 hours they both sync, but the feeling is the sync havent' chatch all contacts in the email we got 50 contacts, but we got much more thatn 50 emails how so? Why so long? Why not all contacts and email? Any suggestion?
thomast
thomast2d ago
@Raphaël are there special rules for contacts?
Raphaël
Raphaël2d ago
You can update what behavior you want for the contact creation in the settings. The default is: we don't create contacts for non work emails (gmail, outlook ...), we don't create contacts for people within your company and we only create contacts for people you've sent an email to It might take long if you have a lot of emails to import. We schedule the imports not to trigger google api's rate limiting

Did you find this page helpful?