fix(tubearchivist): correct TA_APP_DIR to backend path

Docker copies backend to /app, so APP_DIR=/app maps static/img/ correctly.
Our bare-metal install has backend at /opt/tubearchivist/backend/,
so TA_APP_DIR must point there for fallback thumbnails to resolve.

Fixes missing thumbnails, default-channel-banner.jpg not found error.
Update script migrates existing installs to the corrected path.
This commit is contained in:
CanbiZ (MickLesk)
2026-03-30 11:56:22 +02:00
parent 90a4304fa4
commit 96fbb51abe
2 changed files with 3 additions and 1 deletions

View File

@@ -87,7 +87,7 @@ TA_HOST=http://${LOCAL_IP}:8000
TA_USERNAME=admin
TA_PASSWORD=${TA_PASSWORD}
TA_BACKEND_PORT=8080
TA_APP_DIR=/opt/tubearchivist
TA_APP_DIR=/opt/tubearchivist/backend
TA_CACHE_DIR=/opt/tubearchivist/cache
TA_MEDIA_DIR=/opt/tubearchivist/media
ES_SNAPSHOT_DIR=/var/lib/elasticsearch/snapshot