Snipe-IT rehearsal: slow starts, image volumes, HTML-as-text mail
Deploy waits up to 5 minutes for an app to answer, printing its last log line every 30 s, and stops early when the container exits or restarts three times. It notes VOLUMEs the image declares outside /data, and uninstall removes anonymous volumes (down -v). coreapp inbox renders HTML sent in a text/plain part. Skill: no first-come setup wizard even without sso (admin at startup, password by reset), no new sign-in code for apps without OIDC, upstream scripts that read shell variables, a step between upstream steps, the image's VOLUMEs, a slow first install, three-part min_version. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -258,6 +258,16 @@ The Core's own scripts trace secrets, so their output goes to
|
||||
deploys; breaking it again in an update gives the same message with
|
||||
the wget error, rolls back, and right after "Rolled back" the public
|
||||
address answers 200 (the rollback waits for traefik).
|
||||
5g. A slow start (`coreapp new slowtest`, with `CMD` sleeping 40 s,
|
||||
logging "migrating", before the server): deploy prints "still starting
|
||||
(31 s); its log: migrating", then "Installed". A container that exits
|
||||
or restarts three times stops the wait at once with its state and log;
|
||||
one that never answers stops after 5 minutes ("doesn't answer at ...
|
||||
after 300 s").
|
||||
5h. An image declaring `VOLUME /var/www/storage` (outside `/data`): deploy
|
||||
prints "Note: the image declares VOLUME /var/www/storage ..." and
|
||||
installs. `coreapp remove` removes its anonymous volume too (`docker
|
||||
volume ls -q` shows none left; uninstall runs `down -v`).
|
||||
6. `coreapp status` (address and port), `coreapp logs`, `coreapp shell`
|
||||
(exit with `exit`), `coreapp shell 'id; echo $APP_URL'` (prints both,
|
||||
no terminal needed, also when piped), `coreapp list` (all apps installed
|
||||
@@ -520,7 +530,8 @@ has the `DB_*` variables, `.coreapp` says `needs=postgres`.
|
||||
<supermarket@<domain>>", its subject and text with the `/reset/...`
|
||||
link. An HTML-only message shows as text, `Confirm
|
||||
<https://...>` for a link, without its `<style>`; an encoded subject
|
||||
(`=?utf-8?q?...`) is decoded. `--clear` says how many it removed, then
|
||||
(`=?utf-8?q?...`) is decoded, and so is a text/plain part that is
|
||||
really HTML (Snipe-IT's reset mail). `--clear` says how many it removed, then
|
||||
"inbox is empty". The test account's LDAP entry has
|
||||
`PostfixBookMailAccount`, `extensibleObject`, `mailEnabled: TRUE` and
|
||||
`homeDirectory: /home/coreapp.test` and no `uidNumber`; an entry made
|
||||
|
||||
Reference in New Issue
Block a user