Use the following information to upgrade the Identity Service to version 1.6.
Note: After the upgrade the database will no longer be compatible with the old server.
Important: Upgrading the Identity Service requires downtime and should be performed in a test environment before being attempted in a production environment.
- Upgrade from version 1.2
- Remove SmallRye references
- Upgrade ZIP installation
- Upgrade Kubernetes deployment with PostgreSQL database
Note: For Keycloak’s upgrade documentation see upgrade procedure.
Upgrade from version 1.2
If you are currently using the Identity Service 1.2 you must first modify the First Broker Login authentication before upgrading to version 1.6.
Log into the Keycloak administration console and select the Alfresco realm.
Select Authentication from the menu on the left to open the authentication configuration page.
Select First Broker Login from the dropdown menu.
Ensure Create User If Unique (create unique user config) flow is set to ALTERNATIVE.
Result: You can now upgrade directly to version 1.6.
Remove SmallRye references
Important: You must manually remove all the SmallRye modules in the
standalone.xmlfile before upgrading to version 1.6. From Keycloak 13.0.0 the modules called SmallRye have been removed from the WildFly application. The server will not start if your configuration references them. For more information see Migrating to 13.0.0.
Upgrade ZIP installation
Use the following information to upgrade your ZIP installation:
alfresco-identity-service-1.6.0.zipfile from Hyland Community.
Unzip the ZIP file and configure your installation using the Keycloak documentation. Upgrading Keycloak.
Upgrade Kubernetes deployment with PostgreSQL database
Upgrade from chart
The upgrade should be seamless.
Upgrade to chart
Identify your chart release name and namespace and save them into variables.
export RELEASENAME=<Your-Release-Name> export RELEASENAMESPACE=<Your-Release-Namespace>
Delete the postgresql StatefulSets.
kubectl delete statefulsets.apps $RELEASENAME-postgresql-id --cascade=false --namespace $RELEASENAMESPACE
Upgrade Identity Service.
helm upgrade $RELEASENAME alfresco-stable/alfresco-identity-service --version=3.0.0 --namespace $RELEASENAMESPACE
Delete the postgresql pod.
kubectl delete pod $RELEASENAME-postgresql-id-0 --namespace $RELEASENAMESPACE