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
Closed
Description
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:
- Clone Sentry On-Premise repo
cd onpremise && echo https://github.com/getsentry/sentry-auth-google/archive/master.zip >> requirements.txt
- Follow setup instructions referenced in README.txt to generate Google Auth Client ID and Client Secret.
- 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>
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
Labels
No labels