Fixes from the Leantime rehearsal: unhealthy apps, signin links and errors
Deploy now waits while an image's own HEALTHCHECK says "starting" and stops on "unhealthy" with the check and its result, since traefik doesn't route unhealthy containers (it used to say "Updated"); an update rolls back, a first install says it stays installed, and a rollback waits until the old version is routed again. coreapp signin follows a page's one "Core SSO" or "Authelia" link, prints the app's visible error when it doesn't end signed in, and has --help. The skill covers 127.0.0.1 among trusted proxies, the image's HEALTHCHECK, COPY --chmod, $TMPDIR outside the sandbox, patching an app's OIDC code for userinfo claims, and testing a new account's first sign-in. PLAN: ID-token claims for Federated. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
+10
-1
@@ -406,7 +406,16 @@ Common causes:
|
||||
each means is at the end of [references/sign-in.md](references/sign-in.md).
|
||||
- Permission denied under `/data`: the app switches to another user after
|
||||
starting (the Core gives `/data` to the image's `USER`), or it writes
|
||||
somewhere else in the container (`coreapp shell 'id; ls -ld /data'`).
|
||||
somewhere else in the container (`coreapp shell 'id; ls -ld /data'`;
|
||||
`coreapp shell` runs as the image's user).
|
||||
- "Docker says <name> is unhealthy": the image's own `HEALTHCHECK` fails
|
||||
inside the container, so traefik won't route it; the message has the
|
||||
check and its result (often the app refusing 127.0.0.1, see the porting
|
||||
checklist). An update rolls back; a first install stays, so deploy again
|
||||
once it's fixed.
|
||||
- `coreapp` runs outside the sandbox, where `$TMPDIR` is another folder:
|
||||
keep a file you pass between your shell and `coreapp` (or `docker cp`)
|
||||
in the app's folder, not in `$TMPDIR`.
|
||||
|
||||
The installer's own log (the Core's install scripts) is on the Core in
|
||||
`/federated/logs/coreapps/`. It contains secrets, so don't print it in full;
|
||||
|
||||
Reference in New Issue
Block a user