From c2bd7a6fcff652b149b24a642314c88e56a07f48 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Fri, 12 Mar 2021 17:04:49 +0100 Subject: Add regenrate thumbnails scripts --- support/doc/tools.md | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'support') diff --git a/support/doc/tools.md b/support/doc/tools.md index da32506bd..175c22cd8 100644 --- a/support/doc/tools.md +++ b/support/doc/tools.md @@ -15,6 +15,7 @@ - [peertube-redundancy.js](#peertube-redundancyjs) - [Server tools](#server-tools) - [parse-log](#parse-log) + - [regenerate-thumbnails.js](#regenerate-thumbnailsjs) - [create-transcoding-job.js](#create-transcoding-jobjs) - [create-import-video-file-job.js](#create-import-video-file-jobjs) - [prune-storage.js](#prune-storagejs) @@ -251,6 +252,15 @@ $ cd /var/www/peertube/peertube-latest $ sudo -u peertube NODE_CONFIG_DIR=/var/www/peertube/config NODE_ENV=production npm run parse-log -- --level debug --not-tags http sql ``` +### regenerate-thumbnails.js + +Regenerating local video thumbnails could be useful because new PeerTube releases may increase thumbnail sizes: + +``` +$ cd /var/www/peertube/peertube-latest +$ sudo -u peertube NODE_CONFIG_DIR=/var/www/peertube/config NODE_ENV=production npm run regenerate-thumbnails +``` + ### create-transcoding-job.js You can use this script to force transcoding of an existing video. PeerTube needs to be running. -- cgit v1.2.3