[nu-demo] hero_foundry not pointed at seed_media — Files/Videos/Photos/Songs can't stream #19
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
Symptom
Videos/Photos/Songs islands show metadata (titles, thumbnails placeholders) from hero_osis_media but actual playback and thumbnail fetches 404. The WebDAV under hero_foundry has no bytes to serve.
Root cause
service_foundry.nustarts foundry with:Seed media is laid down at
~/hero/var/seed_media/{Documents,Photos,Songs,Videos}by a separate seeding step (hero_books or equivalent), but nothing connects that tree to the foundry WebDAV roots. Foundry therefore has nothing to serve.Demo workaround (applied 2026-04-23)
For each context (root, default, geomind, incubaid, threefold):
After that, playback and thumbnails resolved.
Proper fix
Pick one:
(a) When
hero_books(or whatever seeds the bundle) lays down seed content, also mirror it into each context's WebDAV tree under~/hero/var/hero_foundry/webdav/<context>/.(b)
service_foundrygains a--seed-media <dir>flag that symlinks or copies a source tree into every per-context WebDAV root on first run.Option (b) is cleaner — keeps the content-seeding concern with foundry, not with the books seeder.
Filed 2026-04-23 nu-shell demo bring-up. Signed-off-by: mik-tf
Previous comments from home#139
mik-tf — 2026-04-27T03:25:45Z
Triage from the home#193 close-out sweep.
Current state of
service_foundry.nu: L87-99 still starts the server with--allow-dir <data_repos>and--webdav-storage <data_webdav>pointing at empty per-instance dirs. Seed media at~/hero/var/seed_media/{Documents,Photos,Songs,Videos}is not mirrored anywhere. Issue is not fixed.Why this is more involved than the other Group B verify-then-close items:
--seed-mediaflag) is cleaner but hero_foundry doesn't know about contexts — that's hero_osis's domain. A naive symlink into a single webdav root would work for instance-0 / single-context bring-up but break multi-context deploys (geomind / incubaid / threefold etc.) where each context expects its own subtree under~/hero/var/hero_foundry/webdav/<context>/.--contextsarg).webdav/<context>/and rsync/symlink seed_media into it.Decision: keeping this open and moving it from Group B (verify-then-close) into the design-work bucket alongside the AI-grounding issues (Group D). The current workaround in the issue body (manual
cp -rper context) remains the correct deploy-time mitigation until the proper bootstrap lands.Meta-tracker: home#193.
Signed-off-by: mik-tf
Originally filed as home#139 on 2026-04-23 by mik-tf — moved to hero_demo as part of consolidating issue tracking.