docker icon indicating copy to clipboard operation
docker copied to clipboard

quick-start in docs is misleading or incomplete

Open MTRNord opened this issue 2 years ago • 1 comments

Having spent now over 1h trying to run https://cal.com/docs/introduction/quick-start/self-hosting/docker I deem this broken.

I am getting the following error on buildtime:

• Running db-deploy in 91 packages
• Remote caching disabled
@calcom/prisma:db-deploy: cache bypass, force executing 1781453540023193
@calcom/prisma:db-deploy: Prisma schema loaded from schema.prisma
@calcom/prisma:db-deploy: Datasource "db": PostgreSQL database "calendso", schema "public" at "database:5432"
@calcom/prisma:db-deploy: 
@calcom/prisma:db-deploy: Error: P1001: Can't reach database server at `database`:`5432`
@calcom/prisma:db-deploy: 
@calcom/prisma:db-deploy: Please make sure your database server is running at `database`:`5432`.
@calcom/prisma:db-deploy: ERROR: command finished with error: command (/calcom/packages/prisma) yarn run db-deploy exited (1)
command (/calcom/packages/prisma) yarn run db-deploy exited (1)

 Tasks:    0 successful, 1 total
Cached:    0 cached, 1 total
  Time:    2.545s 
Failed:    @calcom/prisma#db-deploy

And get 39792c7d9961 @calcom/web:start: error connecting to engine: sql, type: postgres db: Error: connect ECONNREFUSED ::1:5432 at runtime. I tried starting the database container first, I tried it in various other ways now too.

I am literally following that page word by word and so far made 0 changes to files. :|

MTRNord avatar Dec 11 '23 18:12 MTRNord

Please follow the instructions in the repo readme instead: https://github.com/calcom/docker?tab=readme-ov-file#most-users-running-calcom-with-docker-compose

I've put in a request to update the official docs

krumware avatar Dec 11 '23 18:12 krumware