Commit Graph
3 Commits
Author SHA1 Message Date
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
chris 99633664a9 upgrade-keycloak.sh: Harden Keycloak upgrade process
Keep previous installation intact, build before switching the symlink, improve error handling and add service and issuer checks.
2026-09-15 18:02:38 +02:00
chris abcba526d0 Fix naming the script now to 'upgrade-keycloak.sh'. 2026-09-15 11:07:57 +02:00