fix: 2026-05-01 herodemo deploy hotfixes (onlyoffice, mycelium 0.7.5, env overrides) #192
No reviewers
Labels
No labels
prio_critical
prio_low
type_bug
type_contact
type_issue
type_lead
type_question
type_story
type_task
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
lhumina_code/hero_skills!192
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "development_mik_demo_hotfixes_2026_05_01"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Bundle of four hotfixes from the 2026-05-01 herodemo redeploy. None of these are speculative — each is a fix for a problem we hit live and verified working before this branch went up.
b8835b5host.docker.internal:<host-ip>add-host, IP detected at install time (HERO_HOST_IP override)b61bf1c/hero_office/ui/{files,callback}(JWT is the actual auth)d76cd7e--no-tun,--socket-dir); old flags removed6710a08HERO_KEEP_BINARIES+HERO_CARGO_RELEASE_ALWAYSenv overrides for fast iterationWhy
The OnlyOffice editor was three layers broken (JWT mismatch → DNS unresolved → nginx 401). The mycelium daemon refused to start at all on 0.7.5. Combined, these blocked the photos archipelago and all office-app islands. The two env-var escape hatches in
lib.nucame out of debugging the deploy itself —service_X start --resetwas triggering full debug rebuilds even when release binaries were already in place.All four are minimal and additive:
/hero_office/ui/*traffic path; everything else is untouched.Verified live
host.docker.internalto10.1.2.2(eth0)./hero_office/ui/files/...returns 200 (was 401).Test plan
nu -c 'use tools/modules/services *; service_onlyoffice install --update; service_onlyoffice start --reset'on a Linux Docker host withONLYOFFICE_JWT_SECRETset; container should come up healthy and the launcher should print the resolved host IP.nu -c 'use tools/modules/installers *; basic_auth_setup --user admin --pass test'and verify the generated/etc/nginx/sites-enabled/hero_democontains the newlocation ~ ^/hero_office/ui/(files|callback)(/|$)block.nu -c 'use tools/modules/services *; service_mycelium install --update; service_mycelium start --reset'on a non-root TF Grid VM; daemon starts in messages-only mode (no EPERM).HERO_KEEP_BINARIES=1and runservice_X start --resetagainst any service whose binaries are pre-installed; confirm purge is skipped and start is fast.Cross-refs
load_init_shdoesn't followsourcedirectives. Not fixed by this PR but was the upstream cause of the JWT-secret missing-from-env that triggered the whole OnlyOffice chase.🤖 Generated with Claude Code
Pull request closed