install on an existing install should reuse its recorded shapes and proxy #84

Closed
opened 2026-11-18 16:07:06 +00:00 by jcoffey-dev · 1 comment
Owner

Split out of #81.

Running install again on an existing install starts from the defaults, not from the install record. Options left off the command line change the install: leaving out --server host asks for a move back to a container, and a missing --proxy snippets switches to the managed Caddy. Anyone re-running install to change one thing, such as the names, has to repeat every option from the first run exactly.

Fix: on an existing install, take the shapes, proxy and dir from the record unless they're given on the command line. Have --dry-run say which values came from the record.

Split out of #81. Running `install` again on an existing install starts from the defaults, not from the install record. Options left off the command line change the install: leaving out `--server host` asks for a move back to a container, and a missing `--proxy snippets` switches to the managed Caddy. Anyone re-running `install` to change one thing, such as the names, has to repeat every option from the first run exactly. **Fix:** on an existing install, take the shapes, proxy and dir from the record unless they're given on the command line. Have `--dry-run` say which values came from the record.
jcoffey-dev added this to the 27.1 milestone 2026-11-18 16:07:06 +00:00
jcoffey-dev added the bug
priority
p2
labels 2026-11-18 16:07:06 +00:00
jcoffey-dev self-assigned this 2026-11-18 16:07:06 +00:00
Author
Owner

Fixed in #85 (03c619d). Running install again now keeps every option it isn't given (shapes, proxy, names, ACME settings) and lists what it took in the plan. It also reloads Caddy when the Caddyfile changes; before this, new names weren't served until Caddy restarted. Tested in the lab with e2e/cases/rename.sh (#88).

Fixed in #85 (03c619d). Running `install` again now keeps every option it isn't given (shapes, proxy, names, ACME settings) and lists what it took in the plan. It also reloads Caddy when the Caddyfile changes; before this, new names weren't served until Caddy restarted. Tested in the lab with `e2e/cases/rename.sh` (#88).
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: inbuxa/inbuxa-installer#84