-
Notifications
You must be signed in to change notification settings - Fork 29
Upgrade from 0.3.x
Michal Hlavac edited this page May 20, 2019
·
3 revisions
Since version 0.4.x and above has new configuration UI, there are some incompatibilities with previous version. You have to do these steps:
- Just for sure, backup your previous configuration
- Stop and remove old container:
docker-compose stop identity docker-compose rm identity
- Find and remove
identity-config
volume (Don't remove LDAP volumes!!!):docker volume ls DRIVER VOLUME NAME local hlavki_identity-config local hlavki_ldap-config local hlavki_ldap-data
docker volume rm hlavki_identity-config
- Remove
GSUITE_SERVICE_ACCOUNT_EMAIL
andGSUITE_SERVICE_ACCOUNT_SUBJECT
environment properties fromdocker-compose.yml
- Upgrade image version in
docker-compose.yml
tohlavki/g-suite-identity-sync:0.4.0
- Go to Service accounts page and open previously used service account, clik
Edit
thenCreate key
with JSON type. Save JSON file. - Go to G Suite Admin groups page and create group
identity.admins
and add your admin account. - Go to API Client Access page and overwrite scopes for existing ClientId with value:
https://www.googleapis.com/auth/admin.directory.group.readonly,https://www.googleapis.com/auth/admin.directory.user,https://www.googleapis.com/auth/admin.reports.audit.readonly
- Run identity server
docker-compose up -d
- Visit http://localhost:8181, login with admin account, paste service account JSON and click
Setup
.