Cal.com Self-Hosted Setup Page Failing
Workaround available Self-hosted (Cal.diy) Updated November 13, 2026Based on 2 user reportsHow we research
Quick answer
Apply database migrations (db-deploy for production), confirm DATABASE_URL, and note the setup endpoint only works while the User table is empty.
Most likely fix: Run migrations
How to fix it
Try these in order — the most common fix is first.
1. Run migrations
- Run yarn workspace @calcom/prisma db-deploy for production/Docker (db-migrate for development)
- Confirm DATABASE_URL is correct
Did this fix it?2. Read the Prisma error
- Check logs for the specific Prisma error before retrying
Did this fix it?3. Reset after a partial attempt
- The setup endpoint only works when the User table is empty
- Clear the users table manually, then retry
Did this fix it?
Symptoms
The /setup page errors or the first admin user cannot be created.
Why it happens
- Migrations not applied
- Wrong DATABASE_URL
- Partial earlier setup left a user row
This guide also covers
- cal.com setup not working
- cal.com self host first user
Still not working?
If Cal.com keeps failing, you're not alone. See every Cal.com problem users report or the alternatives people switch to.
Done fighting Cal.com? Our small team builds your own Cal.com alternative, made for how you work. On your domain or hosted by us. Price agreed together.
Get a quote