diff --git a/docker-jans-persistence-loader/scripts/upgrade.py b/docker-jans-persistence-loader/scripts/upgrade.py index 94974ed1690..a3f281b632a 100644 --- a/docker-jans-persistence-loader/scripts/upgrade.py +++ b/docker-jans-persistence-loader/scripts/upgrade.py @@ -633,6 +633,11 @@ def _update_jca_client(): def _update_token_server_client(): kwargs = {} token_server_admin_ui_client_id = self.manager.config.get("token_server_admin_ui_client_id") + + # admin-ui is not available + if not token_server_admin_ui_client_id: + return + id_ = f"inum={token_server_admin_ui_client_id},ou=clients,o=jans" if self.backend.type in ("sql", "spanner"):