calcom / docker

The Docker configuration for Cal.com is an effort powered by people within the community. Cal.com, Inc. does not provide official support for Docker, but we will accept fixes and documentation. Use at your own risk.
MIT License
619 stars 323 forks source link

Not able to login after upgrade #337

Open bigbeka opened 4 months ago

bigbeka commented 4 months ago

Upgraded from 3.6.1-sh to 3.8.5 and I am getting this errors, I was not able to find a solution or report here in the issues.

I am running Cal.com in 2 docker-compose containers.

database | 2024-03-01 18:52:04.898 UTC [155] ERROR: relation "public.UserPassword" does not exist at character 78 database | 2024-03-01 18:52:04.898 UTC [155] STATEMENT: SELECT "public"."UserPassword"."userId", "public"."UserPassword"."hash" FROM "public"."UserPassword" WHERE "public"."UserPassword"."userId" IN ($1) OFFSET $2

Death-Pact commented 4 months ago

had same error so I just added the new env variable DATABASE_DIRECT_URL and set it to the same as my DATABASE_URL variable and it is working now.

bigbeka commented 4 months ago

@Death-Pact thank you! That worked for me too, seems like the docker-compose.yaml and .env files were updated recently.