Dev server fails on first run with new database
View options
- Truncate descriptions
Created by: beyang
This affects the Sourcegraph dev environment
- Run
dev/drop-entire-local-database.sh
. - Run
enterprise/dev/start.sh
- Observe the following error, which prevents successful startup:
11:13:14 frontend | Could not find item in `auth.providers` with config ID "okta-saml" and type "saml"
- Subsequent runs of
dev/start.sh
will succeed.
This is likely a race condition due to the critical site config (specifically the auth.providers
field) not being set before this line runs.

