buzz icon indicating copy to clipboard operation
buzz copied to clipboard

Self-host onboarding dead-ends: 'I already have a community' → 'I own the community' only offers Builderlab, never a relay URL

Open ryanmitchellneely opened this issue 4 months ago • 8 comments

Summary

An operator who runs their own relay and owns it picks the two semantically correct answers in onboarding and lands in a hosted-account flow with no way to enter their relay. The self-host path exists, but it is behind Join a community, which reads like the option for someone joining somebody else's workspace.

Steps to reproduce

  1. Stand up a self-hosted relay (auth + membership required), add your own pubkey via buzz-admin add-member
  2. Desktop app → Use an existing key with the owner identity
  3. I already have a community → I own the community

Actual

A modal appears: Set up your community — Sign in to connect a community you already own or create a new one. We'll open Builderlab in your browser, then bring you back to Buzz. The only action is Sign in to continue, which opens Builderlab and creates a hosted account. At no point does the flow ask for a relay URL, and dismissing the modal returns to the same fork.

Expected

The path that says I own the community should be the path where a self-hoster types their relay URL. At minimum, an escape hatch on that modal (Connect a self-hosted relay instead).

What actually works

Join a community → paste wss://relay.example.com → the app connects, resolves the community, and proceeds to profile setup normally. That is the correct flow for a self-hoster; it is just labelled as if it were not.

Impact

This is the first five minutes of the product for exactly the audience the OSS repo is aimed at. In our case it cost about forty minutes and produced a stray hosted account before we found the right door. Two smaller things compound it: the relay-owner identity is minted with buzz-admin generate-key in hex, which the key field rejects (#2815), and there is no visible relay-URL field until you take the Join branch.

Suggested fix

Reword the fork, or have I own the community offer both Connect my relay and Use Builderlab hosting. Happy to send a PR if you want the former.

ryanmitchellneely avatar Jul 25 '26 04:07 ryanmitchellneely

Fixed in #2824 — owner path now offers self-hosted relay URL or Builderlab.

chessing234 avatar Jul 25 '26 06:07 chessing234

Thanks for creating fix. Waiting for it to merge. Can't use mac app with self host right now

varunyn avatar Jul 25 '26 16:07 varunyn

Temporary workaround for self-hosted macOS users:

  1. Choose I already have a community → I’m a member or admin.

  2. Enter the relay URL, e.g. ws://192.168.50.12:3000.

  3. If Buzz shows Load failed, set this in deploy/compose/.env:

    BUZZ_CORS_ORIGINS=tauri://localhost
    
    
  4. Restart the relay with cd deploy/compose && ./run.sh restart.

This worked for me on Buzz Desktop 0.4.26.

sayre4ux avatar Jul 28 '26 11:07 sayre4ux

Thanks @sayre4ux this solution worked as workaround

varunyn avatar Jul 28 '26 16:07 varunyn

Confirmed against current main (feccf4ea). The relay connection itself works: entering a ws:///wss:// community URL reaches the existing reconnect flow and restores the identity's relay role. The dead end is the choice model: the owner answer is still coupled to Block hosting.

A provider-neutral split is to ask how to reconnect rather than infer hosting from the user's role:

  • Sign in to Block hosting → existing Builderlab flow
  • Connect with a community URL → existing relay/invite form

I validated that routing locally with the desktop formatter, TypeScript typecheck, E2E build, and the focused Playwright onboarding regression (1 passed). I am not opening a competing PR because #2824 already has an implementation in flight. Happy to contribute the focused regression test or adapt it if maintainers prefer the two-action wording above.

morthenjensen-wq avatar Aug 04 '26 08:08 morthenjensen-wq

Fix PR review posted on https://github.com/block/buzz/pull/2824 — approve / please merge.

Owner path correctly offers self-hosted relay URL vs Builderlab; no longer dead-ends into hosted-only. Related generate-key nsec + compose git-data chown look good too.

— Ryan (issue author)

ryanmitchellneely avatar Aug 04 '26 11:08 ryanmitchellneely

Confirmed this exact dead end on Buzz Desktop v0.5.6, Windows 10 x64, with an existing owner identity already recognized by a private self-hosted relay.

Observed path:

  1. I already have a community
  2. I own the community
  3. Builderlab-only modal with Sign in to continue; no relay URL or self-host option

The working workaround remains:

  1. Close the Builderlab modal.
  2. Choose I'm a member or admin.
  3. Enter the self-hosted wss:// community URL.
  4. The relay restores the identity's actual owner role and proceeds to profile setup; no invite code is required.

This is especially confusing because the semantically correct owner choice is the wrong operational route. PR #2824 appears intended to fix it, but the current v0.5.6 release still contains the dead end.

morkalg avatar Aug 07 '26 22:08 morkalg

Thanks for confirming this on v0.5.6 and Windows. This matches our findings. The fix is still pending in #2824; until it lands, the member/admin route with the self-hosted relay URL remains the working workaround.

lør. 8. aug. 2026, 00.58 skrev Rob Crocker @.***>:

morkalg left a comment (block/buzz#2816) https://github.com/block/buzz/issues/2816#issuecomment-5223022262

Confirmed this exact dead end on Buzz Desktop v0.5.6, Windows 10 x64, with an existing owner identity already recognized by a private self-hosted relay.

Observed path:

  1. I already have a community
  2. I own the community
  3. Builderlab-only modal with Sign in to continue; no relay URL or self-host option

The working workaround remains:

  1. Close the Builderlab modal.
  2. Choose I'm a member or admin.
  3. Enter the self-hosted wss:// community URL.
  4. The relay restores the identity's actual owner role and proceeds to profile setup; no invite code is required.

This is especially confusing because the semantically correct owner choice is the wrong operational route. PR #2824 https://github.com/block/buzz/pull/2824 appears intended to fix it, but the current v0.5.6 release still contains the dead end.

— Reply to this email directly, view it on GitHub https://github.com/block/buzz/issues/2816?email_source=notifications&email_token=BY4FMGUESLQHHTLJO4O2NYL5IZNLBA5CNFSNUABFM5UWIORPF5TWS5BNNB2WEL2JONZXKZKDN5WW2ZLOOQXTKMRSGMYDEMRSGYZKM4TFMFZW63VHMNXW23LFNZ2KKZLWMVXHJLDGN5XXIZLSL5RWY2LDNM#issuecomment-5223022262, or unsubscribe https://github.com/notifications/unsubscribe-auth/BY4FMGWMP2QB3ZB7GHALXI35IZNLBAVCNFSNUABGKJSXA33TNF2G64TZHMYTCNZUG44DSMBYGI5US43TOVSTWNBZG42DENBWGM3DFILWAI . You are receiving this because you commented.Message ID: @.***>

morthenjensen-wq avatar Aug 08 '26 05:08 morthenjensen-wq