wrolpi/controller
lrnselfreliance 80678e1f6e
A library on the internal disk gets a database (#832)
"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>
2026-10-14 16:15:33 -06:00
..
api Debian installs show the Controller drive wizard (#826) 2026-10-13 15:50:20 -06:00
lib A library on the internal disk gets a database (#832) 2026-10-14 16:15:33 -06:00
templates Debian installs show the Controller drive wizard (#826) 2026-10-13 15:50:20 -06:00
test A library on the internal disk gets a database (#832) 2026-10-14 16:15:33 -06:00
__init__.py Creating Controller service which will control WROLPi services, admin, SMART, disks, and status. nginx will fallback to Controller UI when React UI is unavailable (such as during upgrades). 2025-12-15 15:48:40 -07:00
conftest.py The hotspot starts on boot (#829) 2026-10-13 19:29:15 -06:00
defaults.py A library on the internal disk gets a database (#832) 2026-10-14 16:15:33 -06:00
main.py The hotspot starts on boot (#829) 2026-10-13 19:29:15 -06:00
requirements.txt build(deps): bump the python-dependencies group with 6 updates (#808) 2026-10-10 11:00:21 -06:00
serve.py Migrating Controller from port 8087 to 80 so that it is more discoverable. Reformatting Controller dashboard to make header at the top. Reformatting navigation bar to handle the new links which prevented Admin from being visible in some screens. 2026-04-09 15:01:05 -06:00