Skip to content
This repository was archived by the owner on Aug 30, 2023. It is now read-only.
This repository was archived by the owner on Aug 30, 2023. It is now read-only.

Cannot import name MigratingIdentityID #21

@BenCoffeed

Description

@BenCoffeed

While trying to run the initial upgrade command to initialize my on-premise cluster, I get the following error when Google Auth is enabled(full log available on request):

django.core.exceptions.ImproperlyConfigured: ImportError sentry_auth_google: cannot import name MigratingIdentityId

It looks like this may relate to #20

Steps to reproduce:

  1. Clone Sentry On-Premise repo
  2. cd onpremise && echo https://github.com/getsentry/sentry-auth-google/archive/master.zip >> requirements.txt
  3. Follow setup instructions referenced in README.txt to generate Google Auth Client ID and Client Secret.
  4. Modify onpremise/sentry.conf.py to include the following lines replacing items in <> with the values generated in step 3:
SENTRY_FEATURES['organizations:sso'] = True
GOOGLE_CLIENT_ID = <yourid>.apps.googleusercontent.com
GOOGLE_CLIENT_SECRET = <yourGoogleSecret>
  1. Follow On-premise Docker installation instructions.

NOTE: I see this particular error message while running migrations

Setup

  • getsentry/onnpremise branch: master
  • Sentry version: 8.22
  • Docker version: 17.09.0-ce, build afdb6d4
  • Docker Host OS: Ubuntu 16.04

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions