chrisandClaude Opus 5.5 c1382d3f04 upgrade-keycloak.sh: Use readiness endpoint and derive expected issuer from Keycloak config
The post-upgrade check compared the issuer against FQHN_HOSTNAME, which
can differ from Keycloak's public 'hostname' setting, so a healthy
Keycloak was reported as failed.

- Wait for /health/ready on the management port (fall back to the
  well-known endpoint if health is not enabled), timeout 120s.
- Derive the expected issuer from 'hostname' in the new keycloak.conf,
  falling back to FQHN_HOSTNAME.
- Report an issuer mismatch as a warning instead of aborting.
- Keep the curl error instead of overwriting it with the journal output.

Also fix missing comma in .claude/settings.json.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-18 18:19:11 +01:00
2025-03-15 10:55:15 +01:00
2025-03-18 16:09:41 +01:00
2025-03-15 10:55:15 +01:00
2025-03-15 10:55:15 +01:00
2026-04-05 02:03:53 +02:00

#!/usr/bin/env bash

systemctl stop keycloak.service
systemctl disable keycloak.service

rm /etc/systemd/system/keycloak.service

rm -rf /opt/*

exit 0
S
Description
No description provided
Readme
142 MiB
0 Stars 1 Watchers 0 Forks
Languages
Shell 100%