fix(jellyfin): mount legacy-jellyfin directly to /var/lib/jellyfin to eliminate options.xml permission errors
Sync HTPC Manifests to GitOps / Sync Manifests to GitOps Repo (push) Successful in 4s
Sync HTPC Manifests to GitOps / Sync Manifests to GitOps Repo (push) Successful in 4s
This commit is contained in:
@@ -75,6 +75,14 @@ spec:
|
||||
[ ! -e /config/root ] && ln -sf /config/data/root /config/root || true
|
||||
[ ! -e /config/plugins ] && ln -sf /config/data/plugins /config/plugins || true
|
||||
|
||||
# Legacy compatibility for historical paths pointing to /var/lib/jellyfin
|
||||
mkdir -p /config/legacy-jellyfin
|
||||
ln -sfn /config/data/root /config/legacy-jellyfin/root
|
||||
ln -sfn /config/metadata /config/legacy-jellyfin/metadata
|
||||
ln -sfn /config/data/data /config/legacy-jellyfin/data
|
||||
chmod 755 /config/legacy-jellyfin
|
||||
chown -R 33:33 /config/legacy-jellyfin
|
||||
|
||||
chown -R 33:33 /config
|
||||
volumeMounts:
|
||||
- name: config
|
||||
@@ -125,11 +133,8 @@ spec:
|
||||
- name: dri
|
||||
mountPath: /dev/dri
|
||||
- name: config
|
||||
mountPath: /var/lib/jellyfin/root
|
||||
subPath: data/root
|
||||
- name: config
|
||||
mountPath: /var/lib/jellyfin/metadata
|
||||
subPath: metadata
|
||||
mountPath: /var/lib/jellyfin
|
||||
subPath: legacy-jellyfin
|
||||
livenessProbe:
|
||||
httpGet:
|
||||
path: /jellyfin/health
|
||||
|
||||
Reference in New Issue
Block a user