Skip to content
Snippets Groups Projects
Closed Dev server fails on first run with new database
  • View options
  • Dev server fails on first run with new database

  • View options
  • Closed Issue created by Warren Gifford

    Created by: beyang

    This affects the Sourcegraph dev environment

    1. Run dev/drop-entire-local-database.sh.
    2. Run enterprise/dev/start.sh
    3. 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"
    4. 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.

    Activity

    • All activity
    • Comments only
    • History only
    • Newest first
    • Oldest first