mirror of
https://github.com/lrnselfreliance/wrolpi.git
synced 2026-10-26 10:51:36 -04:00
"Run repair without external drive" kept the library on the internal disk, but the API's unmounted-media guard refuses to create or use a database beneath /media/wrolpi when it is not a mount. After onboarding without a drive the API restarted forever with no database, and downloads were blocked as "media not mounted". The Controller now records the choice as drives.library_on_internal_disk in controller.yaml -- the only source of it. The database guard and the media_mounted check both read that marker, so require_media_mounted keeps its meaning and needs no change. Onboarding a drive later clears the marker, so it is never copied onto the drive. Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| api | ||
| lib | ||
| templates | ||
| test | ||
| __init__.py | ||
| conftest.py | ||
| defaults.py | ||
| main.py | ||
| requirements.txt | ||
| serve.py | ||