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
32 Replies
thomast
thomast2mo ago
You are missing env variables. You can go through that doc
ralfdigitalagency
ralfdigitalagencyOP2mo ago
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
ralfdigitalagencyOP2mo ago
No description
ralfdigitalagency
ralfdigitalagencyOP2mo ago
No description
ralfdigitalagency
ralfdigitalagencyOP2mo ago
No description
ralfdigitalagency
ralfdigitalagencyOP2mo ago
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
ralfdigitalagencyOP2mo ago
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
thomast2mo 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
ralfdigitalagencyOP2mo ago
Yes it is running, I got this
No description
dialnco
dialnco2mo 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
ralfdigitalagencyOP2mo ago
I inserted the google client id, something else is wrong i guess
No description
ralfdigitalagency
ralfdigitalagencyOP2mo ago
No description
Prastoin
Prastoin2mo ago
Please double check your env variables values What does your worker logs say ?
Prastoin
Prastoin2mo 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
ralfdigitalagencyOP2mo ago
These are the worker logs
ralfdigitalagency
ralfdigitalagencyOP2mo ago
This part gives errors:
ralfdigitalagency
ralfdigitalagencyOP2mo ago
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
ralfdigitalagencyOP2mo ago
It seems right this way, right?
No description
ralfdigitalagency
ralfdigitalagencyOP2mo ago
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
dialnco2mo ago
variables are set on the "server" container. You need to copy them to the "worker" container also.
ralfdigitalagency
ralfdigitalagencyOP2mo ago
Do you mean in the docker-compose.yml file under worker section?
ralfdigitalagency
ralfdigitalagencyOP2mo ago
This is my file right now.
No description
No description
No description
ralfdigitalagency
ralfdigitalagencyOP2mo ago
But now not only isn not sync Google button has disappear😣
ralfdigitalagency
ralfdigitalagencyOP2mo ago
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
ralfdigitalagencyOP2mo ago
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?
ralfdigitalagency
ralfdigitalagencyOP2mo ago
No description
thomast
thomast2mo ago
@Raphaël are there special rules for contacts?
Raphaël
Raphaël2mo 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
ralfdigitalagency
ralfdigitalagencyOP2mo ago
No special rules I know that, thanks. The issue unfortunately is deeper, it says importing, but do no import anything despite being those options selected (the one you mentioned) It is a brand new email mailbox, maybe 10 emails and 3-4 contacts
Raphaël
Raphaël2mo ago
Are you sure that the sync took 5 hours ? Or did you just not refresh the page ? We don't have real time for now so you have to refresh the page to see the changes in the sync. The contact creation is done according to the rules I told you before, please tell me if you find a contact that is not created and should be so I can take a look
ralfdigitalagency
ralfdigitalagencyOP2mo ago
Yeah I tried to refresh and re install it. But there must something wrong with the configuration. Containers are healthy but when I click on Google button an error appears https://www.loom.com/share/0f3a1b7596784912be55cce5aa6a08cb I tried to start form the basice yml and env but not working. I might wait few week to see further developments, maybe and improved guide on env and yml variables, as I do see some bugs still present like impossibility of permanent deleting contacts. And maybe Tweenty by that time will be re listed on the Coolify app list (hopefully)

Did you find this page helpful?