mirror of
https://github.com/community-scripts/ProxmoxVED.git
synced 2026-03-31 06:24:18 -04:00
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:
@@ -57,6 +57,8 @@ function update_script() {
|
||||
|
||||
msg_info "Restoring Configuration"
|
||||
mv /opt/tubearchivist_env.bak /opt/tubearchivist/.env
|
||||
sed -i 's|^TA_APP_DIR=/opt/tubearchivist$|TA_APP_DIR=/opt/tubearchivist/backend|' /opt/tubearchivist/.env
|
||||
ln -sf /opt/tubearchivist/.env /opt/tubearchivist/backend/.env
|
||||
msg_ok "Restored Configuration"
|
||||
|
||||
msg_info "Starting Services"
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user