Files
ProxmoxVE/ct
MickLesk 112f3cc4eb romm: make the library paths follow ROMM_BASE_PATH
Upstream derives everything from one setting:

  ROMM_BASE_PATH = _get_env("ROMM_BASE_PATH", "/romm")
  LIBRARY_BASE_PATH = f"{ROMM_BASE_PATH}/library"

There is no separate library setting; config.yml's roms_folder is only
a folder name inside the library. So ROMM_BASE_PATH in /opt/romm/.env
is the single lever, and everything that names a path has to follow it.

Two places did not. The watcher unit had /var/lib/romm/library written
into ExecStart, so a moved library was still watched at the default and
rescans never fired. It now uses ${ROMM_BASE_PATH}/library, which
systemd expands from the EnvironmentFile the unit already loads.

The Angie alias was derived from the env file, but only while the
install or an update ran. Editing ROMM_BASE_PATH afterwards left the
internal /library/ location pointing at the old path, and since the
backend serves content through X-Accel-Redirect, every download and
every play returned 404 while scanning and metadata kept working.
Re-sync it from an ExecStartPre on angie, so a restart is enough.

Update installs both for existing containers and rewrites the watcher
unit in place.

Reported in #17263. The suggested fix there was to template the alias,
which the scripts already did; the gap was that nothing re-applied it.
2026-09-15 10:19:50 +02:00
..
2026-09-15 09:16:43 +02:00
2026-08-24 17:09:34 +02:00
2026-08-26 22:09:11 +10:00
2026-08-24 17:11:26 +02:00
2026-09-14 15:50:54 +02:00
2026-08-25 16:09:04 +02:00
2026-08-26 22:09:19 +10:00
2026-09-07 16:57:57 +02:00
2026-09-10 15:10:59 +02:00
2026-09-08 11:20:32 +02:00
2026-08-30 20:53:34 +02:00
2026-08-26 13:42:52 +02:00
2026-09-12 22:11:22 +02:00
2026-08-26 22:07:45 +10:00
2026-08-26 13:42:13 +02:00
2026-09-12 11:52:55 +02:00
2026-09-12 14:24:00 +02:00
2026-08-26 08:48:51 +02:00
2026-09-15 08:30:40 +02:00
2026-09-02 16:31:59 +02:00
2026-09-07 16:51:29 +02:00
2026-09-11 23:40:58 +02:00
2026-09-09 15:25:01 +02:00
2026-09-10 15:02:09 +02:00
2026-09-01 22:25:05 +02:00
2026-09-07 16:53:13 +02:00
2026-09-11 07:43:35 +02:00
2026-08-30 20:53:12 +02:00
2026-08-26 13:42:32 +02:00
2026-08-31 08:49:37 +02:00
2026-08-26 13:41:49 +02:00
2026-09-02 16:32:44 +02:00
2026-09-10 15:02:18 +02:00
2026-08-25 15:11:31 +02:00
2026-09-02 16:31:34 +02:00
2026-08-24 17:07:31 +02:00
2026-09-10 13:49:15 +02:00
2026-08-27 09:56:12 +02:00
2026-08-30 20:55:03 +02:00
2026-09-08 11:18:20 +02:00
2026-09-15 09:16:43 +02:00