From 373a9265ba82ad533d5f3905ad72d05c7597ed80 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Wed, 18 Sep 2024 09:27:02 +0200 Subject: [PATCH] Fix missing original_video_files docker directory --- CHANGELOG.md | 1 + support/docker/production/config/production.yaml | 1 + 2 files changed, 2 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2a0ecbd23..14aab32be 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,7 @@ This migration can take a long time if you have many federated/local videos, but is designed to be safe to run multiple times: * Classic installation: `cd /var/www/peertube/peertube-latest && sudo -u peertube NODE_CONFIG_DIR=/var/www/peertube/config NODE_ENV=production node dist/scripts/migrations/peertube-6.3.js` * Docker installation: `cd /var/www/peertube-docker && docker-compose exec -u peertube peertube node dist/scripts/migrations/peertube-6.3.js` + * **Important for Docker admins** If you enabled the "Keep a version of the input file" configuration, files may have been stored in the container instead of the host volume. To prevent data loss, you must **copy** the files on the host before upgrading using `docker compose cp peertube:/app/storage/original-video-files docker-volume/data` ### Docker diff --git a/support/docker/production/config/production.yaml b/support/docker/production/config/production.yaml index 82f499cc4..2b4eab05c 100644 --- a/support/docker/production/config/production.yaml +++ b/support/docker/production/config/production.yaml @@ -49,6 +49,7 @@ storage: avatars: '../data/avatars/' web_videos: '../data/web-videos/' streaming_playlists: '../data/streaming-playlists' + original_video_files: '../data/original-video-files' redundancy: '../data/redundancy/' logs: '../data/logs/' previews: '../data/previews/'