Files
Helper-Scripts-ProxmoxVE/install
Tim Moore 03edfcef85 fix(bazarr): store data in /var/lib/bazarr instead of inside /opt/bazarr (#16098)
* fix(bazarr): store data in /var/lib/bazarr instead of inside /opt/bazarr

The installer creates /var/lib/bazarr and update_script() uses it as the
"is Bazarr installed" guard, but nothing pointed Bazarr at it. Bazarr
defaults its data directory to <install dir>/data, resolved from its own
source file rather than WorkingDirectory, so a stock container kept
config/ db/ backup/ cache/ log/ restore/ in /opt/bazarr/data - the
directory fetch_and_deploy_gh_release redeploys over - while
/var/lib/bazarr stayed empty.

Pass -c /var/lib/bazarr in the unit, matching the -data= flag the other
*arr scripts use. bazarr.py re-execs its child with sys.argv[1:], so the
flag survives the restart Bazarr performs while loading its config.

update_script() gains a one-time migration for existing installs. It runs
outside the release check so containers already on the latest version are
migrated too, is skipped when the unit already names a data directory,
refuses (before stopping the service) when both locations hold data, and
copies before removing so a failed migration leaves the original database
in place.

Fixes #16097

* fix(bazarr): drop explanatory comments per review
2026-07-28 18:10:12 +10:00
..
2026-06-12 09:27:45 +02:00
2026-06-10 22:04:45 +02:00
2026-07-16 18:01:44 +10:00
2026-07-27 20:41:01 +10:00
2026-06-27 21:07:03 +02:00
2026-07-27 10:52:43 +02:00
2026-07-27 10:32:20 +02:00
2026-06-29 22:30:31 +02:00
2026-07-05 21:34:42 +02:00
2026-06-29 09:59:43 +02:00
2026-06-30 19:44:42 +10:00
2026-07-14 14:16:10 +02:00
2026-07-05 22:28:00 +02:00
2026-07-17 14:30:55 +02:00
2026-06-16 13:26:24 +02:00
2026-06-29 23:11:26 +02:00
2026-07-13 17:39:10 +02:00
2026-07-11 20:00:36 +02:00
2026-07-27 10:51:17 +02:00
2026-07-15 20:55:10 +10:00
2026-07-27 09:53:27 +02:00
2026-07-26 18:53:08 +02:00
2026-07-17 14:30:27 +02:00
2026-06-25 14:06:24 +02:00
2026-06-22 21:11:47 +02:00
2026-07-27 10:31:10 +02:00
2026-07-02 11:06:43 +02:00
2026-07-26 19:04:53 +02:00
2026-07-27 10:03:11 +02:00
2026-07-16 09:01:53 +02:00
2026-06-06 22:20:40 +02:00
2026-07-10 10:57:27 +02:00
2026-05-29 23:49:34 +02:00
2026-06-06 22:11:21 +02:00
2026-07-27 12:50:46 +02:00
2026-06-06 16:08:46 +02:00
2026-07-14 14:15:32 +02:00