Repository navigation
Trim Hub setup's Advanced options to overrides and diagnostics - #19
Merged
Merged
Conversation
Set up on a server no longer shows the existing-Hub Connect and Sign in steps under the Deploy button. They appear once the deployment hands the new Hub over, to show connection progress and offer retries. The selected setup path is highlighted. Maintenance shows one update button, and only when there is something to update to: an image chosen in Advanced options, otherwise the version of this Portal. The always-visible Update Hub button did nothing unless the image had been changed. Docs: the Hub README links to the install paths instead of repeating them. The manual deployment guide is the one place for running the Hub by hand, including the legacy forced-command mode. It no longer sends owners to /admin or asks for a web port, installs Tailscale from its own packages and builds with -p portal-hub. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Advanced options repeated the whole setup as manual steps: check server, a Docker checkbox, install, open Tailscale, enable HTTPS, create the owner passkey and verify the connection. Deploy Hub / Resume setup already does all of this, can be repeated safely and recovers interrupted runs, so Advanced now holds only the Tailscale name, owner account name, Hub image and local image tar, plus Refresh status, Check readiness and View diagnostics. Two manual steps had no other route, so they move to the main view. Picking a saved server (or Manage server in Settings) now checks its status right away, which shows where setup stopped or the maintenance options; before, that needed Advanced → Refresh status. A ready Hub that this device is not signed in to offers Connect this device, which signs in without another SSH round trip. Removes the manual-only state and messages (preflight, install_docker, OpenEnrollment) and the per-phase guidance text. Installation requests always allow adding Docker; starting setup is the consent. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This was referenced Nov 6, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Second of three stacked PRs (after #18, base
hub-setup-simplify). Retarget tomainonce #18 merges.Advanced options repeated the whole setup as manual steps: check server, a Docker checkbox, install, open Tailscale, enable HTTPS, create the owner passkey, and verify the connection. Deploy Hub / Resume setup already does all of this, can be repeated safely and recovers interrupted runs. Advanced now holds only:
Two manual steps had no other route, so they move to the main view:
Code removed: the manual-only state and messages (
preflight,install_docker,InstallDocker,OpenEnrollment), the per-phaseguidance()text, and the Install/preflight gating instart().start()now only handles actions on a saved deployment. Install requests always sendinstall_docker: true; starting setup is the consent.Tests
install_docker.cargo test --lib: 1233 passed. Clippy and fmt are clean.🤖 Generated with Claude Code