Skip to content

Changing video privacy while studio edit job is running causes transcoding/storyboard/transcript to fail #7426

@matthijskooijman

Description

@matthijskooijman

Describe the current behavior

I noticed that some video had failed jobs after editing the video in the studio, which causes the video to be stuck in the "TO EDIT" state, without any way to get out of it. After some digging, I could reproduce this by changing the video privacy from public to private while the studio edition job was running.

I think this really indicates two issues:

  1. Changing the privacy causes the job to fail, which should not happen.
  2. If the job fails, then the video is stuck in "TO EDIT", without any way to retry transcoding, or to get it out of that state.

Steps to reproduce

  1. Upload a video, wait for transcoding to complete, set it to public
  2. Open the studio, chop off a few seconds from the start of the video
  3. While the STUDIO_EDITION job is running, set the video to private
  4. See the storyboard/transcript jobs fail

Jobs:

Image Image

Logfile:

[ Studio edit happens here ]

75a0343-4e69-4b15-b50a-e942de24d546 in job 4.","label":"televisie.planb.coop:443","tags":["video-studio","675a0343-4e69-4b15-b50a-e942de24d546"],"timestamp":"2026-02-03T13:09:42.866Z"}
{"tags":["http"],"level":"info","message":"2a10:3781:e5c:101:4563:8c66:88b5:80e7 - - [03/Feb/2026:13:09:42 +0000] \"POST /api/v1/videos/675a0343-4e69-4b15-b50a-e942de24d546/studio/edit HTTP/1.1\" 204 - \"https://televisie.planb.coop/videos/manage/dLdnqQANbdHjcfdVJEjN1w/studio\" \"Mozilla/5.0 (X11; Linux x86_64; rv:147.0) Gecko/20100101 Firefox/147.0\"","label":"televisie.planb.coop:443","timestamp":"2026-02-03T13:09:42.871Z"}
{"level":"info","message":"Creating job to update video https://televisie.planb.coop/videos/watch/675a0343-4e69-4b15-b50a-e942de24d546.","label":"televisie.planb.coop:443","timestamp":"2026-02-03T13:09:42.872Z"}
{"level":"info","message":"Processing cut task for video 675a0343-4e69-4b15-b50a-e942de24d546.","label":"televisie.planb.coop:443","task":{"name":"cut","options":{"start":"5"}},"tags":["video-studio","675a0343-4e69-4b15-b50a-e942de24d546"],"timestamp":"2026-02-03T13:09:42.905Z"}
{"tags":["http"],"level":"info","message":"2a10:3781:e5c:101:4563:8c66:88b5:80e7 - - [03/Feb/2026:13:09:42 +0000] \"GET /api/v1/videos/675a0343-4e69-4b15-b50a-e942de24d546 HTTP/1.1\" 200 7017 \"https://televisie.planb.coop/videos/manage/dLdnqQANbdHjcfdVJEjN1w/studio\" \"Mozilla/5.0 (X11; Linux x86_64; rv:147.0) Gecko/20100101 Firefox/147.0\"","label":"televisie.planb.coop:443","timestamp":"2026-02-03T13:09:42.934Z"}
{"tags":["http"],"level":"info","message":"2a10:3781:e5c:101:4563:8c66:88b5:80e7 - - [03/Feb/2026:13:09:42 +0000] \"GET /api/v1/videos/675a0343-4e69-4b15-b50a-e942de24d546/chapters HTTP/1.1\" 304 - \"https://televisie.planb.coop/videos/manage/dLdnqQANbdHjcfdVJEjN1w/studio\" \"Mozilla/5.0 (X11; Linux x86_64; rv:147.0) Gecko/20100101 Firefox/147.0\"","label":"televisie.planb.coop:443","timestamp":"2026-02-03T13:09:42.942Z"}
{"tags":["http"],"level":"info","message":"2a10:3781:e5c:101:4563:8c66:88b5:80e7 - - [03/Feb/2026:13:09:42 +0000] \"GET /api/v1/videos/675a0343-4e69-4b15-b50a-e942de24d546/captions HTTP/1.1\" 200 486 \"https://televisie.planb.coop/videos/manage/dLdnqQANbdHjcfdVJEjN1w/studio\" \"Mozilla/5.0 (X11; Linux x86_64; rv:147.0) Gecko/20100101 Firefox/147.0\"","label":"televisie.planb.coop:443","timestamp":"2026-02-03T13:09:42.949Z"}
{"tags":["http"],"level":"info","message":"2a10:3781:e5c:101:4563:8c66:88b5:80e7 - - [03/Feb/2026:13:09:42 +0000] \"GET /api/v1/player-settings/videos/675a0343-4e69-4b15-b50a-e942de24d546?raw=true HTTP/1.1\" 304 - \"https://televisie.planb.coop/videos/manage/dLdnqQANbdHjcfdVJEjN1w/studio\" \"Mozilla/5.0 (X11; Linux x86_64; rv:147.0) Gecko/20100101 Firefox/147.0\"","label":"televisie.planb.coop:443","timestamp":"2026-02-03T13:09:42.962Z"}
{"tags":["http"],"level":"info","message":"2a10:3781:e5c:101:4563:8c66:88b5:80e7 - - [03/Feb/2026:13:09:44 +0000] \"GET /api/v1/config/about HTTP/1.1\" 304 - \"https://televisie.planb.coop/videos/manage/dLdnqQANbdHjcfdVJEjN1w\" \"Mozilla/5.0 (X11; Linux x86_64; rv:147.0) Gecko/20100101 Firefox/147.0\"","label":"televisie.planb.coop:443","timestamp":"2026-02-03T13:09:44.270Z"}

[ Updating privacy happens here I think ]

{"level":"info","message":"Creating job to broadcast delete of video https://televisie.planb.coop/videos/watch/675a0343-4e69-4b15-b50a-e942de24d546.","label":"televisie.planb.coop:443","timestamp":"2026-02-03T13:09:50.772Z"}
{"level":"info","message":"Video with name 2026-01-24_11-03-16.ts Matthijs Test and uuid 675a0343-4e69-4b15-b50a-e942de24d546 updated.","label":"televisie.planb.coop:443","tags":["api","video","675a0343-4e69-4b15-b50a-e942de24d546"],"timestamp":"2026-02-03T13:09:50.792Z"}
{"message":"Saving livechat-active=true for video 168","level":"info","label":"televisie.planb.coop:443 peertube-plugin-livechat","timestamp":"2026-02-03T13:09:50.795Z"}
{"level":"info","message":"Moving web video files of 675a0343-4e69-4b15-b50a-e942de24d546 after privacy change (/data/web-videos/1020a136-8d00-47b5-a7ac-b3a7b0a1c98e-720.mp4 -> /data/web-videos/private/1020a136-8d00-47b5-a7ac-b3a7b0a1c98e-720.mp4).","label":"televisie.planb.coop:443","timestamp":"2026-02-03T13:09:50.795Z"}
{"message":"Video 675a0343-4e69-4b15-b50a-e942de24d546 updated, updating room-channel informations.","level":"info","label":"televisie.planb.coop:443 peertube-plugin-livechat","timestamp":"2026-02-03T13:09:50.796Z"}
{"level":"info","message":"Moving HLS files of 675a0343-4e69-4b15-b50a-e942de24d546 after privacy change (/data/streaming-playlists/hls/675a0343-4e69-4b15-b50a-e942de24d546 -> /data/streaming-playlists/hls/private/675a0343-4e69-4b15-b50a-e942de24d546).","label":"televisie.planb.coop:443","timestamp":"2026-02-03T13:09:50.799Z"}
{"tags":["http"],"level":"info","message":"2a10:3781:e5c:101:4563:8c66:88b5:80e7 - - [03/Feb/2026:13:09:50 +0000] \"PUT /api/v1/videos/675a0343-4e69-4b15-b50a-e942de24d546 HTTP/1.1\" 204 - \"https://televisie.planb.coop/videos/manage/dLdnqQANbdHjcfdVJEjN1w\" \"Mozilla/5.0 (X11; Linux x86_64; rv:147.0) Gecko/20100101 Firefox/147.0\"","label":"televisie.planb.coop:443","timestamp":"2026-02-03T13:09:50.809Z"}
{"level":"info","message":"Processing torrent in job 8aef5134-4e6a-4953-8eb9-0ab69fc6ec89.","label":"televisie.planb.coop:443","timestamp":"2026-02-03T13:09:50.812Z"}
{"level":"info","message":"Updating torrent metadata /data/torrents/14bbc8d0-b76d-4255-b930-c75f62e845e5-720.torrent -> /data/torrents/bb203c5c-7761-438f-b233-e83d175fb8a8-720.torrent.","label":"televisie.planb.coop:443","timestamp":"2026-02-03T13:09:50.827Z"}
{"level":"info","message":"Processing torrent in job 003f138f-6191-44ae-94b4-9ba37832925a.","label":"televisie.planb.coop:443","timestamp":"2026-02-03T13:09:50.837Z"}
{"tags":["http"],"level":"info","message":"2a10:3781:e5c:101:4563:8c66:88b5:80e7 - - [03/Feb/2026:13:09:50 +0000] \"GET /api/v1/videos/675a0343-4e69-4b15-b50a-e942de24d546 HTTP/1.1\" 200 6779 \"https://televisie.planb.coop/videos/manage/dLdnqQANbdHjcfdVJEjN1w\" \"Mozilla/5.0 (X11; Linux x86_64; rv:147.0) Gecko/20100101 Firefox/147.0\"","label":"televisie.planb.coop:443","timestamp":"2026-02-03T13:09:50.877Z"}
{"tags":["http"],"level":"info","message":"2a10:3781:e5c:101:4563:8c66:88b5:80e7 - - [03/Feb/2026:13:09:50 +0000] \"GET /api/v1/videos/675a0343-4e69-4b15-b50a-e942de24d546/chapters HTTP/1.1\" 304 - \"https://televisie.planb.coop/videos/manage/dLdnqQANbdHjcfdVJEjN1w\" \"Mozilla/5.0 (X11; Linux x86_64; rv:147.0) Gecko/20100101 Firefox/147.0\"","label":"televisie.planb.coop:443","timestamp":"2026-02-03T13:09:50.879Z"}
{"level":"info","message":"Updating torrent metadata /data/torrents/d51bd990-a748-4419-8314-f787ec23ee70-720-hls.torrent -> /data/torrents/2a24327b-02da-4bff-b2ec-66c65aa85be6-720-hls.torrent.","label":"televisie.planb.coop:443","timestamp":"2026-02-03T13:09:50.880Z"}
{"tags":["http"],"level":"info","message":"2a10:3781:e5c:101:4563:8c66:88b5:80e7 - - [03/Feb/2026:13:09:50 +0000] \"GET /api/v1/player-settings/videos/675a0343-4e69-4b15-b50a-e942de24d546?raw=true HTTP/1.1\" 304 - \"https://televisie.planb.coop/videos/manage/dLdnqQANbdHjcfdVJEjN1w\" \"Mozilla/5.0 (X11; Linux x86_64; rv:147.0) Gecko/20100101 Firefox/147.0\"","label":"televisie.planb.coop:443","timestamp":"2026-02-03T13:09:50.901Z"}
{"tags":["http"],"level":"info","message":"2a10:3781:e5c:101:4563:8c66:88b5:80e7 - - [03/Feb/2026:13:09:50 +0000] \"GET /api/v1/videos/675a0343-4e69-4b15-b50a-e942de24d546/captions HTTP/1.1\" 200 494 \"https://televisie.planb.coop/videos/manage/dLdnqQANbdHjcfdVJEjN1w\" \"Mozilla/5.0 (X11; Linux x86_64; rv:147.0) Gecko/20100101 Firefox/147.0\"","label":"televisie.planb.coop:443","timestamp":"2026-02-03T13:09:50.903Z"}
{"level":"info","message":"Processing video federation in job c24f35d7-b43f-468b-9135-936ddbb9dd55.","label":"televisie.planb.coop:443","timestamp":"2026-02-03T13:09:50.905Z"}
{"level":"info","message":"Creating job to send viewer of https://televisie.planb.coop/videos/watch/675a0343-4e69-4b15-b50a-e942de24d546.","label":"televisie.planb.coop:443","timestamp":"2026-02-03T13:09:51.010Z"}
{"level":"info","message":"Video with name 2026-01-24_11-03-16.ts Matthijs Test and uuid 675a0343-4e69-4b15-b50a-e942de24d546 updated.","label":"televisie.planb.coop:443","tags":["api","video","675a0343-4e69-4b15-b50a-e942de24d546"],"timestamp":"2026-02-03T13:09:57.626Z"}
{"message":"Saving livechat-active=true for video 168","level":"info","label":"televisie.planb.coop:443 peertube-plugin-livechat","timestamp":"2026-02-03T13:09:57.629Z"}
{"message":"Video 675a0343-4e69-4b15-b50a-e942de24d546 updated, updating room-channel informations.","level":"info","label":"televisie.planb.coop:443 peertube-plugin-livechat","timestamp":"2026-02-03T13:09:57.630Z"}
{"tags":["http"],"level":"info","message":"2a10:3781:e5c:101:4563:8c66:88b5:80e7 - - [03/Feb/2026:13:09:57 +0000] \"PUT /api/v1/videos/675a0343-4e69-4b15-b50a-e942de24d546 HTTP/1.1\" 204 - \"https://televisie.planb.coop/videos/manage/dLdnqQANbdHjcfdVJEjN1w\" \"Mozilla/5.0 (X11; Linux x86_64; rv:147.0) Gecko/20100101 Firefox/147.0\"","label":"televisie.planb.coop:443","timestamp":"2026-02-03T13:09:57.638Z"}
{"level":"info","message":"Processing torrent in job f9e65ac4-eeb8-4760-a0fc-f385eac19837.","label":"televisie.planb.coop:443","timestamp":"2026-02-03T13:09:57.639Z"}
{"level":"info","message":"Updating torrent metadata /data/torrents/bb203c5c-7761-438f-b233-e83d175fb8a8-720.torrent -> /data/torrents/f2bee478-2ff2-4cca-9915-a370701562a5-720.torrent.","label":"televisie.planb.coop:443","timestamp":"2026-02-03T13:09:57.644Z"}
{"level":"info","message":"Processing torrent in job 5abfba06-319a-400c-873a-4e1cf35bdcaa.","label":"televisie.planb.coop:443","timestamp":"2026-02-03T13:09:57.656Z"}
{"level":"info","message":"Updating torrent metadata /data/torrents/2a24327b-02da-4bff-b2ec-66c65aa85be6-720-hls.torrent -> /data/torrents/3281347e-328c-4f4a-bc7e-8a8f641c64ce-720-hls.torrent.","label":"televisie.planb.coop:443","timestamp":"2026-02-03T13:09:57.706Z"}
{"tags":["http"],"level":"info","message":"2a10:3781:e5c:101:4563:8c66:88b5:80e7 - - [03/Feb/2026:13:09:57 +0000] \"GET /api/v1/videos/675a0343-4e69-4b15-b50a-e942de24d546 HTTP/1.1\" 200 6779 \"https://televisie.planb.coop/videos/manage/dLdnqQANbdHjcfdVJEjN1w\" \"Mozilla/5.0 (X11; Linux x86_64; rv:147.0) Gecko/20100101 Firefox/147.0\"","label":"televisie.planb.coop:443","timestamp":"2026-02-03T13:09:57.722Z"}
{"tags":["http"],"level":"info","message":"2a10:3781:e5c:101:4563:8c66:88b5:80e7 - - [03/Feb/2026:13:09:57 +0000] \"GET /api/v1/videos/675a0343-4e69-4b15-b50a-e942de24d546/chapters HTTP/1.1\" 304 - \"https://televisie.planb.coop/videos/manage/dLdnqQANbdHjcfdVJEjN1w\" \"Mozilla/5.0 (X11; Linux x86_64; rv:147.0) Gecko/20100101 Firefox/147.0\"","label":"televisie.planb.coop:443","timestamp":"2026-02-03T13:09:57.723Z"}
{"tags":["http"],"level":"info","message":"2a10:3781:e5c:101:4563:8c66:88b5:80e7 - - [03/Feb/2026:13:09:57 +0000] \"GET /api/v1/player-settings/videos/675a0343-4e69-4b15-b50a-e942de24d546?raw=true HTTP/1.1\" 304 - \"https://televisie.planb.coop/videos/manage/dLdnqQANbdHjcfdVJEjN1w\" \"Mozilla/5.0 (X11; Linux x86_64; rv:147.0) Gecko/20100101 Firefox/147.0\"","label":"televisie.planb.coop:443","timestamp":"2026-02-03T13:09:57.732Z"}
{"tags":["http"],"level":"info","message":"2a10:3781:e5c:101:4563:8c66:88b5:80e7 - - [03/Feb/2026:13:09:57 +0000] \"GET /api/v1/videos/675a0343-4e69-4b15-b50a-e942de24d546/captions HTTP/1.1\" 304 - \"https://televisie.planb.coop/videos/manage/dLdnqQANbdHjcfdVJEjN1w\" \"Mozilla/5.0 (X11; Linux x86_64; rv:147.0) Gecko/20100101 Firefox/147.0\"","label":"televisie.planb.coop:443","timestamp":"2026-02-03T13:09:57.744Z"}
{"level":"info","message":"Processing video federation in job 1b8e9439-ba15-46e8-874b-7db52c7ca6fd.","label":"televisie.planb.coop:443","timestamp":"2026-02-03T13:09:57.747Z"}
{"level":"info","message":"Processing new-video notification in job 3917058f-1bb0-4145-b2b7-b033138def43.","label":"televisie.planb.coop:443","timestamp":"2026-02-03T13:09:57.772Z"}
{"tags":["http"],"level":"info","message":"2a10:3781:e5c:101:4563:8c66:88b5:80e7 - - [03/Feb/2026:13:10:00 +0000] \"GET /api/v1/users/me/video-quota-used HTTP/1.1\" 304 - \"https://televisie.planb.coop/videos/manage/dLdnqQANbdHjcfdVJEjN1w\" \"Mozilla/5.0 (X11; Linux x86_64; rv:147.0) Gecko/20100101 Firefox/147.0\"","label":"televisie.planb.coop:443","timestamp":"2026-02-03T13:10:00.380Z"}
{"tags":["http"],"level":"info","message":"2a10:3781:e5c:101:4563:8c66:88b5:80e7 - - [03/Feb/2026:13:10:00 +0000] \"GET /api/v1/users/me/video-quota-used HTTP/1.1\" 304 - \"https://televisie.planb.coop/videos/publish\" \"Mozilla/5.0 (X11; Linux x86_64; rv:147.0) Gecko/20100101 Firefox/147.0\"","label":"televisie.planb.coop:443","timestamp":"2026-02-03T13:10:00.486Z"}
{"tags":["http"],"level":"info","message":"2a10:3781:e5c:101:4563:8c66:88b5:80e7 - - [03/Feb/2026:13:10:02 +0000] \"GET /api/v1/config/custom HTTP/1.1\" 304 - \"https://televisie.planb.coop/videos/publish\" \"Mozilla/5.0 (X11; Linux x86_64; rv:147.0) Gecko/20100101 Firefox/147.0\"","label":"televisie.planb.coop:443","timestamp":"2026-02-03T13:10:02.758Z"}
{"tags":["http"],"level":"info","message":"2a10:3781:e5c:101:4563:8c66:88b5:80e7 - - [03/Feb/2026:13:10:04 +0000] \"GET /api/v1/jobs/?start=0&count=10&sort=-createdAt HTTP/1.1\" 200 3575 \"https://televisie.planb.coop/admin/settings/system/jobs\" \"Mozilla/5.0 (X11; Linux x86_64; rv:147.0) Gecko/20100101 Firefox/147.0\"","label":"televisie.planb.coop:443","timestamp":"2026-02-03T13:10:04.794Z"}
{"level":"info","message":"Video edition ended for video 675a0343-4e69-4b15-b50a-e942de24d546.","label":"televisie.planb.coop:443","tags":["video-studio","675a0343-4e69-4b15-b50a-e942de24d546"],"timestamp":"2026-02-03T13:10:06.017Z"}
{"tasks":[{"name":"cut","options":{"start":"5"}}],"tags":["video-studio"],"level":"info","message":"Removing TMP studio task files","label":"televisie.planb.coop:443","timestamp":"2026-02-03T13:10:06.227Z"}

[ Studio edit done, next jobs start ]

{"level":"info","message":"Creating torrent /data/torrents/88d0655b-6545-47aa-b8c1-b3892c5649c1-720.torrent.","label":"televisie.planb.coop:443","timestamp":"2026-02-03T13:10:06.256Z"}
{"tags":["storyboard","675a0343-4e69-4b15-b50a-e942de24d546"],"level":"info","message":"Processing generate storyboard of 675a0343-4e69-4b15-b50a-e942de24d546 in job feb31ed4-adf1-4f7c-ab64-802f161cc6ba.","label":"televisie.planb.coop:443","timestamp":"2026-02-03T13:10:06.497Z"}
{"tags":["video-caption","675a0343-4e69-4b15-b50a-e942de24d546"],"level":"info","message":"Creating transcription job for https://televisie.planb.coop/videos/watch/675a0343-4e69-4b15-b50a-e942de24d546","label":"televisie.planb.coop:443","timestamp":"2026-02-03T13:10:06.504Z"}
{"level":"info","message":"Processing video transcription in job 157.","label":"televisie.planb.coop:443","timestamp":"2026-02-03T13:10:06.509Z"}
{"level":"error","message":"Cannot execute job feb31ed4-adf1-4f7c-ab64-802f161cc6ba in queue generate-video-storyboard.","label":"televisie.planb.coop:443","payload":{"videoUUID":"675a0343-4e69-4b15-b50a-e942de24d546","federate":false},"err":{"stack":"Error: ffprobe exited with code 1\nffprobe version 7.1.3-0+deb13u1 Copyright (c) 2007-2025 the FFmpeg developers\n  built with gcc 14 (Debian 14.2.0-19)\n  configuration: --prefix=/usr --extra-version=0+deb13u1 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --arch=amd64 --enable-gpl --disable-stripping --disable-libmfx --disable-omx --enable-gnutls --enable-libaom --enable-libass --enable-libbs2b --enable-libcdio --enable-libcodec2 --enable-libdav1d --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libglslang --enable-libgme --enable-libgsm --enable-libharfbuzz --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzimg --enable-openal --enable-opencl --enable-opengl --disable-sndio --enable-libvpl --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-ladspa --enable-libbluray --enable-libcaca --enable-libdvdnav --enable-libdvdread --enable-libjack --enable-libpulse --enable-librabbitmq --enable-librist --enable-libsrt --enable-libssh --enable-libsvtav1 --enable-libx264 --enable-libzmq --enable-libzvbi --enable-lv2 --enable-sdl2 --enable-libplacebo --enable-librav1e --enable-pocketsphinx --enable-librsvg --enable-libjxl --enable-shared\n  libavutil      59. 39.100 / 59. 39.100\n  libavcodec     61. 19.101 / 61. 19.101\n  libavformat    61.  7.100 / 61.  7.100\n  libavdevice    61.  3.100 / 61.  3.100\n  libavfilter    10.  4.100 / 10.  4.100\n  libswscale      8.  3.100 /  8.  3.100\n  libswresample   5.  3.100 /  5.  3.100\n  libpostproc    58.  3.100 / 58.  3.100\n/data/web-videos/private/2f0a7780-1e78-435c-9bb4-7f0b59999948-720.mp4: No such file or directory\n\n    at ChildProcess.<anonymous> (/app/node_modules/.pnpm/fluent-ffmpeg@2.1.3/node_modules/fluent-ffmpeg/lib/ffprobe.js:233:22)\n    at ChildProcess.emit (node:events:524:28)\n    at ChildProcess._handle.onexit (node:internal/child_process:293:12)","message":"ffprobe exited with code 1\nffprobe version 7.1.3-0+deb13u1 Copyright (c) 2007-2025 the FFmpeg developers\n  built with gcc 14 (Debian 14.2.0-19)\n  configuration: --prefix=/usr --extra-version=0+deb13u1 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --arch=amd64 --enable-gpl --disable-stripping --disable-libmfx --disable-omx --enable-gnutls --enable-libaom --enable-libass --enable-libbs2b --enable-libcdio --enable-libcodec2 --enable-libdav1d --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libglslang --enable-libgme --enable-libgsm --enable-libharfbuzz --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzimg --enable-openal --enable-opencl --enable-opengl --disable-sndio --enable-libvpl --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-ladspa --enable-libbluray --enable-libcaca --enable-libdvdnav --enable-libdvdread --enable-libjack --enable-libpulse --enable-librabbitmq --enable-librist --enable-libsrt --enable-libssh --enable-libsvtav1 --enable-libx264 --enable-libzmq --enable-libzvbi --enable-lv2 --enable-sdl2 --enable-libplacebo --enable-librav1e --enable-pocketsphinx --enable-librsvg --enable-libjxl --enable-shared\n  libavutil      59. 39.100 / 59. 39.100\n  libavcodec     61. 19.101 / 61. 19.101\n  libavformat    61.  7.100 / 61.  7.100\n  libavdevice    61.  3.100 / 61.  3.100\n  libavfilter    10.  4.100 / 10.  4.100\n  libswscale      8.  3.100 /  8.  3.100\n  libswresample   5.  3.100 /  5.  3.100\n  libpostproc    58.  3.100 / 58.  3.100\n/data/web-videos/private/2f0a7780-1e78-435c-9bb4-7f0b59999948-720.mp4: No such file or directory\n"},"timestamp":"2026-02-03T13:10:06.709Z"}
{"tags":["video-caption","675a0343-4e69-4b15-b50a-e942de24d546"],"level":"info","message":"Running transcription for 675a0343-4e69-4b15-b50a-e942de24d546 in /data/tmp/transcription/cHPozpsAjcdprtPGhSuep2","label":"televisie.planb.coop:443","timestamp":"2026-02-03T13:10:06.715Z"}
{"level":"error","message":"Cannot execute job eb766e2e-2d61-4a5b-88ca-3095613c3d31 in queue federate-video.","label":"televisie.planb.coop:443","payload":{"videoUUID":"675a0343-4e69-4b15-b50a-e942de24d546","isNewVideoForFederation":false},"err":{"stack":"UnrecoverableError: child bull-televisie.planb.coop:generate-video-storyboard:feb31ed4-adf1-4f7c-ab64-802f161cc6ba failed\n    at failed.retryIfFailed.delayInMs (/app/node_modules/.pnpm/bullmq@5.63.1/node_modules/bullmq/dist/cjs/classes/worker.js:508:85)\n    at Worker.retryIfFailed (/app/node_modules/.pnpm/bullmq@5.63.1/node_modules/bullmq/dist/cjs/classes/worker.js:790:30)\n    at /app/node_modules/.pnpm/bullmq@5.63.1/node_modules/bullmq/dist/cjs/classes/worker.js:508:47\n    at trace (/app/node_modules/.pnpm/bullmq@5.63.1/node_modules/bullmq/dist/cjs/utils/index.js:259:16)\n    at Worker.trace (/app/node_modules/.pnpm/bullmq@5.63.1/node_modules/bullmq/dist/cjs/classes/queue-base.js:153:34)\n    at Worker.processJob (/app/node_modules/.pnpm/bullmq@5.63.1/node_modules/bullmq/dist/cjs/classes/worker.js:494:21)\n    at Worker.mainLoop (/app/node_modules/.pnpm/bullmq@5.63.1/node_modules/bullmq/dist/cjs/classes/worker.js:274:41)\n    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n    at async Worker.run (/app/node_modules/.pnpm/bullmq@5.63.1/node_modules/bullmq/dist/cjs/classes/worker.js:207:13)\n    at async Promise.all (index 0)\n    at async Promise.all (index 10)","message":"child bull-televisie.planb.coop:generate-video-storyboard:feb31ed4-adf1-4f7c-ab64-802f161cc6ba failed","name":"UnrecoverableError"},"timestamp":"2026-02-03T13:10:06.734Z"}
{"level":"error","message":"Cannot execute job fd2cc1b0-e42c-4c2d-b596-24ce0e898a05 in queue transcoding-job-builder.","label":"televisie.planb.coop:443","payload":{"videoUUID":"675a0343-4e69-4b15-b50a-e942de24d546","optimizeJob":{"isNewVideo":false}},"err":{"stack":"UnrecoverableError: child bull-televisie.planb.coop:federate-video:eb766e2e-2d61-4a5b-88ca-3095613c3d31 failed\n    at failed.retryIfFailed.delayInMs (/app/node_modules/.pnpm/bullmq@5.63.1/node_modules/bullmq/dist/cjs/classes/worker.js:508:85)\n    at Worker.retryIfFailed (/app/node_modules/.pnpm/bullmq@5.63.1/node_modules/bullmq/dist/cjs/classes/worker.js:790:30)\n    at /app/node_modules/.pnpm/bullmq@5.63.1/node_modules/bullmq/dist/cjs/classes/worker.js:508:47\n    at trace (/app/node_modules/.pnpm/bullmq@5.63.1/node_modules/bullmq/dist/cjs/utils/index.js:259:16)\n    at Worker.trace (/app/node_modules/.pnpm/bullmq@5.63.1/node_modules/bullmq/dist/cjs/classes/queue-base.js:153:34)\n    at Worker.processJob (/app/node_modules/.pnpm/bullmq@5.63.1/node_modules/bullmq/dist/cjs/classes/worker.js:494:21)\n    at Worker.mainLoop (/app/node_modules/.pnpm/bullmq@5.63.1/node_modules/bullmq/dist/cjs/classes/worker.js:274:41)\n    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n    at async Worker.run (/app/node_modules/.pnpm/bullmq@5.63.1/node_modules/bullmq/dist/cjs/classes/worker.js:207:13)\n    at async Promise.all (index 0)\n    at async Promise.all (index 11)","message":"child bull-televisie.planb.coop:federate-video:eb766e2e-2d61-4a5b-88ca-3095613c3d31 failed","name":"UnrecoverableError"},"timestamp":"2026-02-03T13:10:06.740Z"}
{"level":"error","message":"Cannot execute job 157 in queue video-transcription.","label":"televisie.planb.coop:443","payload":{"videoUUID":"675a0343-4e69-4b15-b50a-e942de24d546"},"err":{"stack":"Error: ENOENT: no such file or directory, open '/data/tmp/transcription/cHPozpsAjcdprtPGhSuep2/2f0a7780-1e78-435c-9bb4-7f0b59999948-720.json'","message":"ENOENT: no such file or directory, open '/data/tmp/transcription/cHPozpsAjcdprtPGhSuep2/2f0a7780-1e78-435c-9bb4-7f0b59999948-720.json'","errno":-2,"code":"ENOENT","syscall":"open","path":"/data/tmp/transcription/cHPozpsAjcdprtPGhSuep2/2f0a7780-1e78-435c-9bb4-7f0b59999948-720.json"},"timestamp":"2026-02-03T13:10:10.647Z"}
{"level":"info","message":"Processing video transcription in job 157.","label":"televisie.planb.coop:443","timestamp":"2026-02-03T13:11:10.725Z"}
{"tags":["video-caption","675a0343-4e69-4b15-b50a-e942de24d546"],"level":"info","message":"Running transcription for 675a0343-4e69-4b15-b50a-e942de24d546 in /data/tmp/transcription/68eWM4PSFM2qYYan9vsRyA","label":"televisie.planb.coop:443","timestamp":"2026-02-03T13:11:10.804Z"}
{"level":"error","message":"Cannot execute job 157 in queue v

In the GUI, the GENERATE-VIDEO-STORYBOARD job details are like this (I think these are also hidden in the log output above, but this is easier to read:

Job: feb31ed4-adf1-4f7c-ab64-802f161cc6ba
Type: generate-video-storyboard
Processed on 2/3/26, 2:10:06.492 PM
Finished on 2/3/26, 2:10:06.705 PM

{
  "videoUUID": "675a0343-4e69-4b15-b50a-e942de24d546",
  "federate": false
}

Error: ffprobe exited with code 1
ffprobe version 7.1.3-0+deb13u1 Copyright (c) 2007-2025 the FFmpeg developers
  built with gcc 14 (Debian 14.2.0-19)
  configuration: --prefix=/usr --extra-version=0+deb13u1 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --arch=amd64 --enable-gpl --disable-stripping --disable-libmfx --disable-omx --enable-gnutls --enable-libaom --enable-libass --enable-libbs2b --enable-libcdio --enable-libcodec2 --enable-libdav1d --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libglslang --enable-libgme --enable-libgsm --enable-libharfbuzz --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzimg --enable-openal --enable-opencl --enable-opengl --disable-sndio --enable-libvpl --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-ladspa --enable-libbluray --enable-libcaca --enable-libdvdnav --enable-libdvdread --enable-libjack --enable-libpulse --enable-librabbitmq --enable-librist --enable-libsrt --enable-libssh --enable-libsvtav1 --enable-libx264 --enable-libzmq --enable-libzvbi --enable-lv2 --enable-sdl2 --enable-libplacebo --enable-librav1e --enable-pocketsphinx --enable-librsvg --enable-libjxl --enable-shared
  libavutil      59. 39.100 / 59. 39.100
  libavcodec     61. 19.101 / 61. 19.101
  libavformat    61.  7.100 / 61.  7.100
  libavdevice    61.  3.100 / 61.  3.100
  libavfilter    10.  4.100 / 10.  4.100
  libswscale      8.  3.100 /  8.  3.100
  libswresample   5.  3.100 /  5.  3.100
  libpostproc    58.  3.100 / 58.  3.100
/data/web-videos/private/2f0a7780-1e78-435c-9bb4-7f0b59999948-720.mp4: No such file or directory

    at ChildProcess.<anonymous> (/app/node_modules/.pnpm/fluent-ffmpeg@2.1.3/node_modules/fluent-ffmpeg/lib/ffprobe.js:233:22)
    at ChildProcess.emit (node:events:524:28)
    at ChildProcess._handle.onexit (node:internal/child_process:293:12)

Looks like the video was moved out of the private directory, and then cannot be found when starting the transcode job.

Describe the expected behavior

No jobs should fail, the jobs should be processed in order, or be updated to reference the right filename at the time the job is started. Or updating the privacy (i.e. moving the file) should be disallowed while jobs are in progress.

Additional information

  • PeerTube instance:
    • Version: 8.0.2 in docker

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions