Error during setup on a fresh machine #135

Open
opened 2026-04-26 13:05:31 +00:00 by mahmoud · 5 comments
Owner
No description provided.
Author
Owner

Triage from kristof6. The screenshot captures two distinct problems, both UX/error-message rather than functional bugs. Splitting into focused follow-ups so each can land independently:

  • #150multi_user_template_create: improve preflight + error UX when /home is not btrfs

    • The btrfs check at tools/modules/installers/lib.nu:119 is correct (the multi-user flow legitimately needs subvolumes per tools/docs/template.md:9), but on a fresh Ubuntu/Debian box /home is ext4 by default and the error gives no remediation. Onboarding hits this with the very first non-trivial command.
  • #151 — Hero client commands should suggest --root when only the root-scoped daemon socket exists

    • After service_mycelium start --root, running mycelium address (no --root) raises a generic "Socket not found" pointing at tools/modules/openrpc.nu:56. The user has to guess that --root is the answer. Same trap applies to proc, router, proxy. Suggested fix is a shared helper in tools/modules/clients/mod.nu so each client wrapper produces a useful, scope-aware error instead of leaking the openrpc internal one.

Leaving this issue open as the reporter's original context; happy to close once #150 and #151 land.

Triage from `kristof6`. The screenshot captures **two distinct problems**, both UX/error-message rather than functional bugs. Splitting into focused follow-ups so each can land independently: - **#150** — `multi_user_template_create: improve preflight + error UX when /home is not btrfs` - The btrfs check at `tools/modules/installers/lib.nu:119` is correct (the multi-user flow legitimately needs subvolumes per `tools/docs/template.md:9`), but on a fresh Ubuntu/Debian box `/home` is ext4 by default and the error gives no remediation. Onboarding hits this with the very first non-trivial command. - **#151** — Hero client commands should suggest `--root` when only the root-scoped daemon socket exists - After `service_mycelium start --root`, running `mycelium address` (no `--root`) raises a generic "Socket not found" pointing at `tools/modules/openrpc.nu:56`. The user has to guess that `--root` is the answer. Same trap applies to `proc`, `router`, `proxy`. Suggested fix is a shared helper in `tools/modules/clients/mod.nu` so each client wrapper produces a useful, scope-aware error instead of leaking the openrpc internal one. Leaving this issue open as the reporter's original context; happy to close once #150 and #151 land.
Author
Owner

Starting on #150 first (btrfs error UX). #151 to follow.

Starting on #150 first (btrfs error UX). #151 to follow.
Author
Owner

#150 → PR #152. Moving on to #151.

#150 → PR #152. Moving on to #151.
Author
Owner

Plan for #151 posted (covers 5 clients including codescalers, not 4 as originally listed).

Plan for #151 posted (covers 5 clients including codescalers, not 4 as originally listed).
Author
Owner

Both follow-ups are open as PRs:

This issue can be closed once both merge.

Both follow-ups are open as PRs: - #150 → PR #152 (btrfs error UX) - #151 → PR #161 (`--root` hint in clients) This issue can be closed once both merge.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
lhumina_code/hero_skills#135
No description provided.