[Solved] Uploads fail after upgrade from 5.x to 6.x

Hello,

I upgraded our peertube from 5.x to 6.0.2 I think I followed the important notes from Releases · Chocobozzz/PeerTube · GitHub but if I try to upload a test video I get this error from journalctl, the peertube log does not log any errors.

Host: Debian 11
Install: Non Docker
ffmpeg: 4.3.6-0+deb11u1

Dec 18 12:04:17 video peertube[1159]: [domain:443] 2023-12-18 12:04:17.488 info: 2.205.60.112 - - [18/Dec/2023:11:04:17 +0000] "PUT /api/v1/videos/upload-resumable?upload_id=af63af4c8601a015-2ef07b71e50ea420-6884509b12c0612d-48794ba8d073b378 HTTP/1.0" 308 - "https://domain/videos/upload" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36"
Dec 18 12:04:18 video peertube[1159]: [vdomain:443] 2023-12-18 12:04:18.234 error: Cannot generate image from video /var/www/peertube/storage/web-videos/private/5e536077-b512-4977-9b60-d1b97037b91c-720.mkv. {
Dec 18 12:04:18 video peertube[1159]:   "err": {
Dec 18 12:04:18 video peertube[1159]:     "stack": "Error: ENOENT: no such file or directory, open '/var/www/peertube/storage/previews/pending-4fe2adf6-edc7-433f-a6fd-3b68d596c78c.jpg'",
Dec 18 12:04:18 video peertube[1159]:     "message": "ENOENT: no such file or directory, open '/var/www/peertube/storage/previews/pending-4fe2adf6-edc7-433f-a6fd-3b68d596c78c.jpg'"
Dec 18 12:04:18 video peertube[1159]:   }
Dec 18 12:04:18 video peertube[1159]: }
Dec 18 12:04:18 video peertube[1159]: [domain:443] 2023-12-18 12:04:18.236 error: Error in controller. {
Dec 18 12:04:18 video peertube[1159]:   "err": "Error: ENOENT: no such file or directory, open '/var/www/peertube/storage/previews/pending-4fe2adf6-edc7-433f-a6fd-3b68d596c78c.jpg'"
Dec 18 12:04:18 video peertube[1159]: }
Dec 18 12:04:18 video peertube[1159]: [domain:443] 2023-12-18 12:04:18.237 info: 2.205.60.112 - - [18/Dec/2023:11:04:18 +0000] "PUT /api/v1/videos/upload-resumable?upload_id=af63af4c8601a015-2ef07b71e50ea420-6884509b12c0612d-48794ba8d073b378 HTTP/1.0" 500 475 "https://domain/videos/upload" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36"
Dec 18 12:04:18 video peertube[1159]: [domain:443] 2023-12-18 12:04:18.266 error: Client log: Hochladen fehlgeschlagen: Der Server ist auf einen Fehler gestoßen {
Dec 18 12:04:18 video peertube[1159]:   "username": "user",
Dec 18 12:04:18 video peertube[1159]:   "userAgent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36",
Dec 18 12:04:18 video peertube[1159]:   "url": "https://domain/videos/upload#upload"
Dec 18 12:04:18 video peertube[1159]: }
Dec 18 12:04:18 video peertube[1159]: [domain:443] 2023-12-18 12:04:18.267 info: 2.205.60.112 - - [18/Dec/2023:11:04:18 +0000] "POST /api/v1/server/logs/client HTTP/1.0" 204 - "https://domain/videos/upload" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36"

Both directories does exist and are owned by user peertube. The video is uploaded:

➜  storage ls -l web-videos/private 
total 7196
-rw-r--r-- 1 peertube peertube 1052413 Dec 18 11:45 2ad3a504-5783-419a-89df-902fe69bf968-720.mkv
-rw-r--r-- 1 peertube peertube 1052413 Dec 18 11:38 2e3161b6-5e92-429d-bfa3-1541db480c94-720.mkv
-rw-r--r-- 1 peertube peertube 1052413 Dec 18 12:04 5e536077-b512-4977-9b60-d1b97037b91c-720.mkv
-rw-r--r-- 1 peertube peertube 1052413 Dec 18 11:40 7cfa28cf-e406-4775-bd95-47beeee016a6-720.mkv
-rw-r--r-- 1 peertube peertube 1052413 Dec 18 11:40 a83bc074-13b4-4b03-a1b8-d1d818882958-720.mkv
-rw-r--r-- 1 peertube peertube 1052413 Dec 18 11:43 d9267a63-69c2-47fe-a1cb-c5476acbe868-720.mkv
-rw-r--r-- 1 peertube peertube 1052413 Dec 18 12:35 e7fed8be-99a8-4af3-ade4-ea8558396af8-720.mkv

But the file with the preview- prefix is missing:

➜  storage ls -l previews          
total 5352
-rw-r--r-- 1 peertube peertube  55107 Sep  1  2021 04824532-2771-487f-9d5b-519a50f1d0ef.jpg
-rw-r--r-- 1 peertube peertube  71437 Sep  1  2021 05a6f60f-38d8-4bb1-95b4-42efa79b0b48.jpg
-rw-r--r-- 1 peertube peertube  68121 May 11  2022 0b732be7-55dd-4269-b739-8577caab321d.jpg
-rw-r--r-- 1 peertube peertube  71457 Nov 17  2022 0e07d7c8-2378-4518-b6f6-4af06c5c6f82.jpg
-rw-r--r-- 1 peertube peertube  46599 Sep  2  2021 128a6030-7a4e-4555-9be3-722cf3b1e91c.jpg
-rw-r--r-- 1 peertube peertube  49919 Sep  2  2021 14153729-56b6-429e-a46d-39d5f245e9d3.jpg
-rw-r--r-- 1 peertube peertube  53707 Jun 27 17:51 170d0570-2475-411a-81df-290c68ce1a8c.jpg
-rw-r--r-- 1 peertube peertube  49211 May 16  2022 1931eb4e-236c-42c6-89a4-ec97134605be.jpg
-rw-r--r-- 1 peertube peertube  88329 Sep  1  2021 1e5c2b2d-0422-42e1-8cd3-ecefda457426.jpg
-rw-r--r-- 1 peertube peertube  45240 Sep  1  2021 1fb4b5af-e71d-4cda-8111-5b6326e84757.jpg
-rw-r--r-- 1 peertube peertube  45253 Sep  1  2021 206c2a8c-9cbb-4c06-a991-08fb53d8df3c.jpg
-rw-r--r-- 1 peertube peertube  26812 Sep 15 11:01 2327418d-1527-44c8-b7d0-656e5ae56365.jpg
-rw-r--r-- 1 peertube peertube  42782 Jul 11 15:02 234971f0-a367-4205-8e1e-c7c2f5cdc255.jpg
-rw-r--r-- 1 peertube peertube  46441 Nov 28  2022 235caded-b02e-473d-b28d-bbf7d2a8dbff.jpg
-rw-r--r-- 1 peertube peertube  30233 Jun 12  2023 23f71317-c41a-4878-93dd-b0ebb7a3e546.jpg
-rw-r--r-- 1 peertube peertube  50936 Aug 11 12:13 254ff8ae-40bc-42b5-9a3d-adbd7bb05eb1.jpg
-rw-r--r-- 1 peertube peertube  63522 Jul 28 11:23 262ddbc3-b693-4070-a8af-b1c3006a96c5.jpg
-rw-r--r-- 1 peertube peertube  46465 May 26  2023 2746991b-8de9-49e2-ab4f-0f7e36ba7f16.jpg
-rw-r--r-- 1 peertube peertube  30154 Dec  7  2021 2e19cda8-a3a0-4843-b8cd-a4a68bcf5503.jpg
-rw-r--r-- 1 peertube peertube  42708 Jan 13  2023 35c93451-7a66-4597-b35d-19a0c7f427d8.jpg
-rw-r--r-- 1 peertube peertube   7857 Sep  1  2021 38fe0190-5f12-47f4-a204-c19ce2f63f9d.jpg
-rw-r--r-- 1 peertube peertube  53852 Sep  1  2021 3b586f09-7f7e-4442-a30e-48e590d6d97d.jpg
-rw-r--r-- 1 peertube peertube  97171 May 11  2022 3d010354-c460-4412-89f1-cbe0ddb27bc9.jpg
-rw-r--r-- 1 peertube peertube  61015 Sep  1  2021 47596037-ab35-4641-80d1-9a5dbdbe30be.jpg
-rw-r--r-- 1 peertube peertube  60823 Oct 15  2021 49d0ca54-c9bd-4f19-b35f-97969872c4f4.jpg
-rw-r--r-- 1 peertube peertube  29977 Sep 28  2021 4ce06ed4-50e2-40ea-8f14-b6e4addca7d5.jpg
-rw-r--r-- 1 peertube peertube 133762 Sep  1  2021 4e70a1b3-88eb-44a6-9776-33f16fadf880.jpg
-rw-r--r-- 1 peertube peertube  41907 Aug 18  2022 4eaef934-bdc0-4207-bef1-81272edf279f.jpg
-rw-r--r-- 1 peertube peertube  64811 Sep 20 12:59 509072af-c225-4c0f-b550-bd7e0b47dba3.jpg
-rw-r--r-- 1 peertube peertube  50310 Jun 29 09:08 542d5c3d-a8c8-482d-8cc6-5abae630341c.jpg
-rw-r--r-- 1 peertube peertube  51739 Sep  1  2021 54772c36-776d-4455-a68e-6de821cc48e7.jpg
-rw-r--r-- 1 peertube peertube  71557 Nov 17  2022 582b342f-4ee4-46c0-9965-2290740f8149.jpg
-rw-r--r-- 1 peertube peertube  36567 Jul  6 16:08 5888dc9c-4046-4c4e-8aaa-0a3edd36a68a.jpg
-rw-r--r-- 1 peertube peertube  65873 Sep  2  2021 5e9cffbb-8de9-45dd-8ef5-c2cbfce2281b.jpg
-rw-r--r-- 1 peertube peertube  66827 Jun 27 12:52 61142fef-b525-493d-a72f-eb76ff47e4d8.jpg
-rw-r--r-- 1 peertube peertube  35387 Sep  1  2021 614db16e-0ea1-454e-b690-15fa38657956.jpg
-rw-r--r-- 1 peertube peertube  41132 Sep  2  2021 61f13e47-0511-4af5-9ef3-86c1aa0e84b5.jpg
-rw-r--r-- 1 peertube peertube   8604 Sep  1  2021 6715da2a-9bed-4aa3-bc55-7d1c2079832c.jpg
-rw-r--r-- 1 peertube peertube  45999 Jun 27 17:10 67da49dc-6d38-470d-9f75-0dbb0b6ff3d9.jpg
-rw-r--r-- 1 peertube peertube  59356 Sep  1  2021 69484fce-e5a8-49b5-9c96-8a6ee26345f0.jpg
-rw-r--r-- 1 peertube peertube  48626 May 11  2022 6b264100-d218-423d-b9bf-8007a0af16d3.jpg
-rw-r--r-- 1 peertube peertube  86827 May 16  2022 6d3d18d5-27d9-4d45-b157-7fcde21d4710.jpg
-rw-r--r-- 1 peertube peertube  34194 Sep  1  2021 6fe0c681-1b44-477d-ad77-35e471e97006.jpg
-rw-r--r-- 1 peertube peertube  49257 Sep  2  2021 733fa81b-5efe-4540-9bd9-f35ceaf6a112.jpg
-rw-r--r-- 1 peertube peertube  51983 Nov 13 15:15 73b350cc-87ed-4da3-8ce2-6f9adeeb4ccb.jpg
-rw-r--r-- 1 peertube peertube  67868 Sep  1  2021 74b4eb17-cd28-4bc5-a3c8-8c1678084598.jpg
-rw-r--r-- 1 peertube peertube  41476 Jun 15  2023 7a0ca91f-877b-47f1-bb48-20bfb99d487d.jpg
-rw-r--r-- 1 peertube peertube  46163 Jul 11 14:30 7c6fec60-2ee3-4b09-9f76-55b8de50aa10.jpg
-rw-r--r-- 1 peertube peertube  27765 Sep  1  2021 8dcd9119-5357-4992-bcb1-9264198a0596.jpg
-rw-r--r-- 1 peertube peertube  45744 Sep  1  2021 922a5fa6-e849-4e11-9320-48f8e2043ffa.jpg
-rw-r--r-- 1 peertube peertube  72431 Oct 18 09:29 944ba7ac-1043-4f87-8121-a68fe8c12951.jpg
-rw-r--r-- 1 peertube peertube  44694 Sep  1  2021 a061efc3-c492-4125-9e52-ae871551bff5.jpg
-rw-r--r-- 1 peertube peertube  56633 Sep  2  2021 a14bdb07-a703-4d2c-854f-8b796a7eaed2.jpg
-rw-r--r-- 1 peertube peertube  62811 Jun 29 10:22 a51c1715-296e-4873-a9b8-d9d38b1142b0.jpg
-rw-r--r-- 1 peertube peertube   9960 Sep  1  2021 a5322104-e995-4794-b68c-37419908893e.jpg
-rw-r--r-- 1 peertube peertube  41841 Jan 26  2023 a5cec668-9bde-42df-b0f3-29a5cf3aa94e.jpg
-rw-r--r-- 1 peertube peertube  94451 Jul 28 11:13 a6ebc646-9a2b-442a-8761-433b55cb337b.jpg
-rw-r--r-- 1 peertube peertube  83536 May 16  2022 a9164f21-e97d-43c9-b5d7-08c43225f838.jpg
-rw-r--r-- 1 peertube peertube  46056 Aug 16 15:02 a92bf24a-839a-46e7-ada9-4535d9dd469b.jpg
-rw-r--r-- 1 peertube peertube  69246 Sep  1  2021 abafe72d-a82b-4ea5-aca7-59cd66b0ab09.jpg
-rw-r--r-- 1 peertube peertube  68699 Sep  7  2021 ade2dd6c-022d-4141-8123-118b91ef00d0.jpg
-rw-r--r-- 1 peertube peertube  95329 Sep  1  2021 adf74ecf-3125-49d6-a840-509175dbcbc9.jpg
-rw-r--r-- 1 peertube peertube      0 Sep  1  2021 b2c04b84-9550-4060-88d7-48c4c2a48ffa.jpg
-rw-r--r-- 1 peertube peertube  72431 Jun 15  2023 b6cfe81b-0c7d-4225-91c0-77b0f0b5b1e9.jpg
-rw-r--r-- 1 peertube peertube  42038 Jun 12  2023 b8d592e5-bcf1-4f91-a098-29538cc52a29.jpg
-rw-r--r-- 1 peertube peertube  50048 Sep  1  2021 b96781df-28d8-4019-b9a0-72fc781b12c6.jpg
-rw-r--r-- 1 peertube peertube  37900 Sep  1  2021 b9b336fc-e707-4ec4-b40b-1324d17048b9.jpg
-rw-r--r-- 1 peertube peertube  52112 Sep  2  2021 b9f12496-5bda-4f10-9e7b-53d7cbcf4062.jpg
-rw-r--r-- 1 peertube peertube  56653 Feb 27  2023 ba3a1606-8fce-43e7-827a-d8a583fa7975.jpg
-rw-r--r-- 1 peertube peertube  49715 Oct  4 15:56 be95d0d1-a15b-4ad1-97e6-65a390e4a15c.jpg
-rw-r--r-- 1 peertube peertube  34324 Sep 19 11:26 c0f99d34-5513-40f8-b82d-6f65a6e3d6c0.jpg
-rw-r--r-- 1 peertube peertube  74694 Sep 24  2021 c0fb9a1f-f545-4cdf-ba26-c1aa207510cd.jpg
-rw-r--r-- 1 peertube peertube  99970 Sep  1  2021 c177ad8f-b701-41eb-aed3-cae08229b9e5.jpg
-rw-r--r-- 1 peertube peertube  41476 May 26  2023 cb460e21-f1f3-463b-940e-4497bb21e217.jpg
-rw-r--r-- 1 peertube peertube  43447 Mar 14  2023 cca10ec3-340f-4e92-9a70-2f9482b5acf4.jpg
-rw-r--r-- 1 peertube peertube 117028 Oct 15  2021 cfaaa870-5389-4a67-b259-eebd676fa71a.jpg
-rw-r--r-- 1 peertube peertube  41124 Sep  1  2021 d7820608-87d0-4591-9a24-aafbb1da76f9.jpg
-rw-r--r-- 1 peertube peertube  33095 Sep 19 11:44 d8a9e93e-252f-4a4f-9513-2bf5be2aed9b.jpg
-rw-r--r-- 1 peertube peertube  43051 May 26  2023 d8c82400-2992-4f2f-9e15-9fe70f219f26.jpg
-rw-r--r-- 1 peertube peertube  37082 Sep  1  2021 da0986ba-4b0e-4ce7-baf6-010f8f5e041e.jpg
-rw-r--r-- 1 peertube peertube  57993 Nov 28  2022 da4dc70d-60b8-4216-912a-b991f16dff0e.jpg
-rw-r--r-- 1 peertube peertube  74633 Nov  9 10:53 df68fe38-6746-44e3-bd1f-29c8da1c8a26.jpg
-rw-r--r-- 1 peertube peertube  35272 Sep  2  2021 df9d87e7-aca3-42b2-b3bb-1b50ef711786.jpg
-rw-r--r-- 1 peertube peertube 134981 Sep  1  2021 e1655478-b692-44e8-8929-166677a1564f.jpg
-rw-r--r-- 1 peertube peertube  87364 Oct 18 09:44 e19108e9-435b-4e98-b485-399291c2900d.jpg
-rw-r--r-- 1 peertube peertube  62120 Sep  1  2021 e56d3a5b-d540-4025-8f97-89c99e2d9679.jpg
-rw-r--r-- 1 peertube peertube  79065 Sep  1  2021 e5a93518-b7c6-41c8-b125-3d5cd56bb2a9.jpg
-rw-r--r-- 1 peertube peertube  57792 May 30  2023 e6ac223d-9e7f-4fc3-8702-1ccdb2459211.jpg
-rw-r--r-- 1 peertube peertube  60077 Nov 29  2022 e88ed38d-8eef-4378-9318-ea4ada91f408.jpg
-rw-r--r-- 1 peertube peertube  43519 Nov 16 11:13 ea20000f-180b-4d97-a583-20c22a34c28c.jpg
-rw-r--r-- 1 peertube peertube  55534 Jul 28 11:35 eafea2a5-ef6d-4ff3-acad-b988e51d3a00.jpg
-rw-r--r-- 1 peertube peertube  53219 Sep 28  2021 f1872025-205e-49fb-aff3-fb41f9773d5c.jpg
-rw-r--r-- 1 peertube peertube  67930 Sep  2  2021 f6361efb-5834-4fa5-a347-08845e921aff.jpg
-rw-r--r-- 1 peertube peertube  60003 Apr 13  2023 f6af4fd7-522d-416f-ba51-59f2c1d96b83.jpg
-rw-r--r-- 1 peertube peertube  50643 Sep  1  2021 fb43d588-2468-4aed-a6b1-c144618070e9.jpg

thanks for giving me a hint about what is wrong

André

Hi,

Can you enable PeerTube debug logs (in production.yaml), restart peertube, retry the upload and paste all logs?

Hey,

thanks for your answer. The peertube log is still empty except log rotating messages, but here is the output from journalctl:

Dec 18 14:37:45 video peertube[11850]: [video.zebralog.cloud:443] 2023-12-18 14:37:45.597 debug: Getting access token.
Dec 18 14:37:45 video peertube[11850]: [video.zebralog.cloud:443] 2023-12-18 14:37:45.602 debug: Checking videosAddResumableInitValidator parameters and headers {
Dec 18 14:37:45 video peertube[11850]:   "parameters": {
Dec 18 14:37:45 video peertube[11850]:     "name": "SampleVideo_1280x720_1mb",
Dec 18 14:37:45 video peertube[11850]:     "mimeType": "video/x-matroska",
Dec 18 14:37:45 video peertube[11850]:     "size": "1052413",
Dec 18 14:37:45 video peertube[11850]:     "lastModified": "1702895879140",
Dec 18 14:37:45 video peertube[11850]:     "waitTranscoding": true,
Dec 18 14:37:45 video peertube[11850]:     "channelId": 14,
Dec 18 14:37:45 video peertube[11850]:     "nsfw": false,
Dec 18 14:37:45 video peertube[11850]:     "privacy": 3,
Dec 18 14:37:45 video peertube[11850]:     "filename": "SampleVideo_1280x720_1mb.mkv"
Dec 18 14:37:45 video peertube[11850]:   },
Dec 18 14:37:45 video peertube[11850]:   "headers": {
Dec 18 14:37:45 video peertube[11850]:     "x-forwarded-for": "2.205.60.112",
Dec 18 14:37:45 video peertube[11850]:     "host": "video.zebralog.cloud",
Dec 18 14:37:45 video peertube[11850]:     "x-real-ip": "2.205.60.112",
Dec 18 14:37:45 video peertube[11850]:     "connection": "close",
Dec 18 14:37:45 video peertube[11850]:     "content-length": "998",
Dec 18 14:37:45 video peertube[11850]:     "sec-ch-ua": "\"Google Chrome\";v=\"119\", \"Chromium\";v=\"119\", \"Not?A_Brand\";v=\"24\"",
Dec 18 14:37:45 video peertube[11850]:     "sec-ch-ua-mobile": "?0",
Dec 18 14:37:45 video peertube[11850]:     "user-agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36",
Dec 18 14:37:45 video peertube[11850]:     "x-upload-content-type": "video/x-matroska",
Dec 18 14:37:45 video peertube[11850]:     "authorization": "Bearer 512c906c8a3f52a96f487ef3f73e6ff95303b452",
Dec 18 14:37:45 video peertube[11850]:     "content-type": "multipart/form-data; boundary=----WebKitFormBoundarydRGSzu6suilR9Qto",
Dec 18 14:37:45 video peertube[11850]:     "x-upload-content-length": "1052413",
Dec 18 14:37:45 video peertube[11850]:     "sec-ch-ua-platform": "\"Linux\"",
Dec 18 14:37:45 video peertube[11850]:     "accept": "*/*",
Dec 18 14:37:45 video peertube[11850]:     "origin": "https://video.zebralog.cloud",
Dec 18 14:37:45 video peertube[11850]:     "sec-fetch-site": "same-origin",
Dec 18 14:37:45 video peertube[11850]:     "sec-fetch-mode": "cors",
Dec 18 14:37:45 video peertube[11850]:     "sec-fetch-dest": "empty",
Dec 18 14:37:45 video peertube[11850]:     "referer": "https://video.zebralog.cloud/videos/upload",
Dec 18 14:37:45 video peertube[11850]:     "accept-encoding": "gzip, deflate, br",
Dec 18 14:37:45 video peertube[11850]:     "accept-language": "de-DE,de;q=0.9,en-US;q=0.8,en-DE;q=0.7,en;q=0.6"
Dec 18 14:37:45 video peertube[11850]:   },
Dec 18 14:37:45 video peertube[11850]:   "files": {}
Dec 18 14:37:45 video peertube[11850]: }
Dec 18 14:37:45 video peertube[11850]: [video.zebralog.cloud:443] 2023-12-18 14:37:45.605 debug: Executed SQL request - Executing (default): SELECT "VideoChannelModel"."id", "VideoChannelModel"."name", "VideoChannelModel"."description", "VideoChannelModel"."support", "VideoChannelModel"."actorId", "VideoChannelModel"."accountId", "VideoChannelModel"."createdAt", "VideoChannelModel"."updatedAt", "Actor"."id" AS "Actor.id", "Actor"."type" AS "Actor.type", "Actor"."preferredUsername" AS "Actor.preferredUsername", "Actor"."url" AS "Actor.url", "Actor"."publicKey" AS "Actor.publicKey", "Actor"."privateKey" AS "Actor.privateKey", "Actor"."followersCount" AS "Actor.followersCount", "Actor"."followingCount" AS "Actor.followingCount", "Actor"."inboxUrl" AS "Actor.inboxUrl", "Actor"."outboxUrl" AS "Actor.outboxUrl", "Actor"."sharedInboxUrl" AS "Actor.sharedInboxUrl", "Actor"."followersUrl" AS "Actor.followersUrl", "Actor"."followingUrl" AS "Actor.followingUrl", "Actor"."remoteCreatedAt" AS "Actor.remoteCreatedAt", "Actor"."serverId" AS "Actor.serverId", "Actor"."createdAt" AS "Actor.createdAt", "Actor"."updatedAt" AS "Actor.updatedAt", "Actor->Server"."id" AS "Actor.Server.id", "Actor->Server"."host" AS "Actor.Server.host", "Actor->Server"."redundancyAllowed" AS "Actor.Server.redundancyAllowed", "Actor->Server"."createdAt" AS "Actor.Server.createdAt", "Actor->Server"."updatedAt" AS "Actor.Server.updatedAt", "Actor->Avatars"."id" AS "Actor.Avatars.id", "Actor->Avatars"."filename" AS "Actor.Avatars.filename", "Actor->Avatars"."height" AS "Actor.Avatars.height", "Actor->Avatars"."width" AS "Actor.Avatars.width", "Actor->Avatars"."fileUrl" AS "Actor.Avatars.fileUrl", "Actor->Avatars"."onDisk" AS "Actor.Avatars.onDisk", "Actor->Avatars"."type" AS "Actor.Avatars.type", "Actor->Avatars"."actorId" AS "Actor.Avatars.actorId", "Actor->Avatars"."createdAt" AS "Actor.Avatars.createdAt", "Actor->Avatars"."updatedAt" AS "Actor.Avatars.updatedAt", "Actor->Banners"."id" AS "Actor.Banners.id", "Actor->Banners"."filename" AS "Actor.Banners.filename", "Actor->Banners"."height" AS "Actor.Banners.height", "Actor->Banners"."width" AS "Actor.Banners.width", "Actor->Banners"."fileUrl" AS "Actor.Banners.fileUrl", "Actor->Banners"."onDisk" AS "Actor.Banners.onDisk", "Actor->Banners"."type" AS "Actor.Banners.type", "Actor->Banners"."actorId" AS "Actor.Banners.actorId", "Actor->Banners"."createdAt" AS "Actor.Banners.createdAt", "Actor->Banners"."updatedAt" AS "Actor.Banners.updatedAt", "Account"."id" AS "Account.id", "Account"."name" AS "Account.name", "Account"."description" AS "Account.description", "Account"."actorId" AS "Account.actorId", "Account"."userId" AS "Account.userId", "Account"."applicationId" AS "Account.applicationId", "Account"."createdAt" AS "Account.createdAt", "Account"."updatedAt" AS "Account.updatedAt", "Account->Actor"."id" AS "Account.Actor.id", "Account->Actor"."type" AS "Account.Actor.type", "Account->Actor"."preferredUsername" AS "Account.Actor.preferredUsername", "Account->Actor"."url" AS "Account.Actor.url", "Account->Actor"."publicKey" AS "Account.Actor.publicKey", "Account->Actor"."privateKey" AS "Account.Actor.privateKey", "Account->Actor"."followersCount" AS "Account.Actor.followersCount", "Account->Actor"."followingCount" AS "Account.Actor.followingCount", "Account->Actor"."inboxUrl" AS "Account.Actor.inboxUrl", "Account->Actor"."outboxUrl" AS "Account.Actor.outboxUrl", "Account->Actor"."sharedInboxUrl" AS "Account.Actor.sharedInboxUrl", "Account->Actor"."followersUrl" AS "Account.Actor.followersUrl", "Account->Actor"."followingUrl" AS "Account.Actor.followingUrl", "Account->Actor"."remoteCreatedAt" AS "Account.Actor.remoteCreatedAt", "Account->Actor"."serverId" AS "Account.Actor.serverId", "Account->Actor"."createdAt" AS "Account.Actor.createdAt", "Account->Actor"."updatedAt" AS "Account.Actor.updatedAt", "Account->Actor->Server"."id" AS "Account.Actor.Server.id", "Account->Actor->Server"."host" AS "Account.Actor.Server.host", "Account->Actor->Server"."redundancyAllowed" AS "Account.Actor.Server.redundancyAllowed", "Account->Actor->Server"."createdAt" AS "Account.Actor.Server.createdAt", "Account->Actor->Server"."updatedAt" AS "Account.Actor.Server.updatedAt", "Account->Actor->Avatars"."id" AS "Account.Actor.Avatars.id", "Account->Actor->Avatars"."filename" AS "Account.Actor.Avatars.filename", "Account->Actor->Avatars"."height" AS "Account.Actor.Avatars.height", "Account->Actor->Avatars"."width" AS "Account.Actor.Avatars.width", "Account->Actor->Avatars"."fileUrl" AS "Account.Actor.Avatars.fileUrl", "Account->Actor->Avatars"."onDisk" AS "Account.Actor.Avatars.onDisk", "Account->Actor->Avatars"."type" AS "Account.Actor.Avatars.type", "Account->Actor->Avatars"."actorId" AS "Account.Actor.Avatars.actorId", "Account->Actor->Avatars"."createdAt" AS "Account.Actor.Avatars.createdAt", "Account->Actor->Avatars"."updatedAt" AS "Account.Actor.Avatars.updatedAt" FROM "videoChannel" AS "VideoChannelModel" LEFT OUTER JOIN "actor" AS "Actor" ON "VideoChannelModel"."actorId" = "Actor"."id" LEFT OUTER JOIN "server" AS "Actor->Server" ON "Actor"."serverId" = "Actor->Server"."id" LEFT OUTER JOIN "actorImage" AS "Actor->Avatars" ON "Actor"."id" = "Actor->Avatars"."actorId" AND "Actor->Avatars"."type" = 1 LEFT OUTER JOIN "actorImage" AS "Actor->Banners" ON "Actor"."id" = "Actor->Banners"."actorId" AND "Actor->Banners"."type" = 2 INNER JOIN "account" AS "Account" ON "VideoChannelModel"."accountId" = "Account"."id" INNER JOIN "actor" AS "Account->Actor" ON "Account"."actorId" = "Account->Actor"."id" LEFT OUTER JOIN "server" AS "Account->Actor->Server" ON "Account->Actor"."serverId" = "Account->Actor->Server"."id" LEFT OUTER JOIN "actorImage" AS "Account->Actor->Avatars" ON "Account->Actor"."id" = "Account->Actor->Avatars"."actorId" AND "Account->Actor->Avatars"."type" = 1 WHERE "VideoChannelModel"."id" = 14;
Dec 18 14:37:45 video peertube[11850]: [video.zebralog.cloud:443] 2023-12-18 14:37:45.610 debug: Executed SQL request - Executing (default): SELECT "id", "password", "username", "email", "pendingEmail", "emailVerified", "nsfwPolicy", "p2pEnabled", "videosHistoryEnabled", "autoPlayVideo", "autoPlayNextVideo", "autoPlayNextVideoPlaylist", "videoLanguages", "adminFlags", "blocked", "blockedReason", "role", "videoQuota", "videoQuotaDaily", "theme", "noInstanceConfigWarningModal", "noWelcomeModal", "noAccountSetupWarningModal", "pluginAuth", "feedToken", "lastLoginDate", "emailPublic", "otpSecret", "createdAt", "updatedAt" FROM "user" AS "UserModel" WHERE "UserModel"."id" = 2;
Dec 18 14:37:45 video peertube[11850]: [video.zebralog.cloud:443 uploadx] 2023-12-18 14:37:45.612 debug: [request]: POST /upload-resumable
Dec 18 14:37:45 video peertube[11850]: [video.zebralog.cloud:443 uploadx] 2023-12-18 14:37:45.613 debug: [created]: 2-af63af4c8601a015-2ef07b71e50ea420-6884509b12c0612d-48794ba8d073b378.mkv: 0/1052413
Dec 18 14:37:45 video peertube[11850]: [video.zebralog.cloud:443] 2023-12-18 14:37:45.613 info: 2.205.60.112 - - [18/Dec/2023:13:37:45 +0000] "POST /api/v1/videos/upload-resumable HTTP/1.0" 201 - "https://video.zebralog.cloud/videos/upload" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36"
Dec 18 14:37:45 video peertube[11850]: [video.zebralog.cloud:443] 2023-12-18 14:37:45.873 debug: Getting access token.
Dec 18 14:37:45 video peertube[11850]: [video.zebralog.cloud:443 uploadx] 2023-12-18 14:37:45.873 debug: [request]: PUT /upload-resumable?upload_id=af63af4c8601a015-2ef07b71e50ea420-6884509b12c0612d-48794ba8d073b378
Dec 18 14:37:45 video peertube[11850]: [video.zebralog.cloud:443 uploadx] 2023-12-18 14:37:45.884 debug: [completed]: 2-af63af4c8601a015-2ef07b71e50ea420-6884509b12c0612d-48794ba8d073b378.mkv: 1052413/1052413
Dec 18 14:37:45 video peertube[11850]: [video.zebralog.cloud:443] 2023-12-18 14:37:45.897 debug: Executed SQL request - Executing (default): SELECT "VideoChannelModel"."id", "VideoChannelModel"."name", "VideoChannelModel"."description", "VideoChannelModel"."support", "VideoChannelModel"."actorId", "VideoChannelModel"."accountId", "VideoChannelModel"."createdAt", "VideoChannelModel"."updatedAt", "Actor"."id" AS "Actor.id", "Actor"."type" AS "Actor.type", "Actor"."preferredUsername" AS "Actor.preferredUsername", "Actor"."url" AS "Actor.url", "Actor"."publicKey" AS "Actor.publicKey", "Actor"."privateKey" AS "Actor.privateKey", "Actor"."followersCount" AS "Actor.followersCount", "Actor"."followingCount" AS "Actor.followingCount", "Actor"."inboxUrl" AS "Actor.inboxUrl", "Actor"."outboxUrl" AS "Actor.outboxUrl", "Actor"."sharedInboxUrl" AS "Actor.sharedInboxUrl", "Actor"."followersUrl" AS "Actor.followersUrl", "Actor"."followingUrl" AS "Actor.followingUrl", "Actor"."remoteCreatedAt" AS "Actor.remoteCreatedAt", "Actor"."serverId" AS "Actor.serverId", "Actor"."createdAt" AS "Actor.createdAt", "Actor"."updatedAt" AS "Actor.updatedAt", "Actor->Server"."id" AS "Actor.Server.id", "Actor->Server"."host" AS "Actor.Server.host", "Actor->Server"."redundancyAllowed" AS "Actor.Server.redundancyAllowed", "Actor->Server"."createdAt" AS "Actor.Server.createdAt", "Actor->Server"."updatedAt" AS "Actor.Server.updatedAt", "Actor->Avatars"."id" AS "Actor.Avatars.id", "Actor->Avatars"."filename" AS "Actor.Avatars.filename", "Actor->Avatars"."height" AS "Actor.Avatars.height", "Actor->Avatars"."width" AS "Actor.Avatars.width", "Actor->Avatars"."fileUrl" AS "Actor.Avatars.fileUrl", "Actor->Avatars"."onDisk" AS "Actor.Avatars.onDisk", "Actor->Avatars"."type" AS "Actor.Avatars.type", "Actor->Avatars"."actorId" AS "Actor.Avatars.actorId", "Actor->Avatars"."createdAt" AS "Actor.Avatars.createdAt", "Actor->Avatars"."updatedAt" AS "Actor.Avatars.updatedAt", "Actor->Banners"."id" AS "Actor.Banners.id", "Actor->Banners"."filename" AS "Actor.Banners.filename", "Actor->Banners"."height" AS "Actor.Banners.height", "Actor->Banners"."width" AS "Actor.Banners.width", "Actor->Banners"."fileUrl" AS "Actor.Banners.fileUrl", "Actor->Banners"."onDisk" AS "Actor.Banners.onDisk", "Actor->Banners"."type" AS "Actor.Banners.type", "Actor->Banners"."actorId" AS "Actor.Banners.actorId", "Actor->Banners"."createdAt" AS "Actor.Banners.createdAt", "Actor->Banners"."updatedAt" AS "Actor.Banners.updatedAt", "Account"."id" AS "Account.id", "Account"."name" AS "Account.name", "Account"."description" AS "Account.description", "Account"."actorId" AS "Account.actorId", "Account"."userId" AS "Account.userId", "Account"."applicationId" AS "Account.applicationId", "Account"."createdAt" AS "Account.createdAt", "Account"."updatedAt" AS "Account.updatedAt", "Account->Actor"."id" AS "Account.Actor.id", "Account->Actor"."type" AS "Account.Actor.type", "Account->Actor"."preferredUsername" AS "Account.Actor.preferredUsername", "Account->Actor"."url" AS "Account.Actor.url", "Account->Actor"."publicKey" AS "Account.Actor.publicKey", "Account->Actor"."privateKey" AS "Account.Actor.privateKey", "Account->Actor"."followersCount" AS "Account.Actor.followersCount", "Account->Actor"."followingCount" AS "Account.Actor.followingCount", "Account->Actor"."inboxUrl" AS "Account.Actor.inboxUrl", "Account->Actor"."outboxUrl" AS "Account.Actor.outboxUrl", "Account->Actor"."sharedInboxUrl" AS "Account.Actor.sharedInboxUrl", "Account->Actor"."followersUrl" AS "Account.Actor.followersUrl", "Account->Actor"."followingUrl" AS "Account.Actor.followingUrl", "Account->Actor"."remoteCreatedAt" AS "Account.Actor.remoteCreatedAt", "Account->Actor"."serverId" AS "Account.Actor.serverId", "Account->Actor"."createdAt" AS "Account.Actor.createdAt", "Account->Actor"."updatedAt" AS "Account.Actor.updatedAt", "Account->Actor->Server"."id" AS "Account.Actor.Server.id", "Account->Actor->Server"."host" AS "Account.Actor.Server.host", "Account->Actor->Server"."redundancyAllowed" AS "Account.Actor.Server.redundancyAllowed", "Account->Actor->Server"."createdAt" AS "Account.Actor.Server.createdAt", "Account->Actor->Server"."updatedAt" AS "Account.Actor.Server.updatedAt", "Account->Actor->Avatars"."id" AS "Account.Actor.Avatars.id", "Account->Actor->Avatars"."filename" AS "Account.Actor.Avatars.filename", "Account->Actor->Avatars"."height" AS "Account.Actor.Avatars.height", "Account->Actor->Avatars"."width" AS "Account.Actor.Avatars.width", "Account->Actor->Avatars"."fileUrl" AS "Account.Actor.Avatars.fileUrl", "Account->Actor->Avatars"."onDisk" AS "Account.Actor.Avatars.onDisk", "Account->Actor->Avatars"."type" AS "Account.Actor.Avatars.type", "Account->Actor->Avatars"."actorId" AS "Account.Actor.Avatars.actorId", "Account->Actor->Avatars"."createdAt" AS "Account.Actor.Avatars.createdAt", "Account->Actor->Avatars"."updatedAt" AS "Account.Actor.Avatars.updatedAt" FROM "videoChannel" AS "VideoChannelModel" LEFT OUTER JOIN "actor" AS "Actor" ON "VideoChannelModel"."actorId" = "Actor"."id" LEFT OUTER JOIN "server" AS "Actor->Server" ON "Actor"."serverId" = "Actor->Server"."id" LEFT OUTER JOIN "actorImage" AS "Actor->Avatars" ON "Actor"."id" = "Actor->Avatars"."actorId" AND "Actor->Avatars"."type" = 1 LEFT OUTER JOIN "actorImage" AS "Actor->Banners" ON "Actor"."id" = "Actor->Banners"."actorId" AND "Actor->Banners"."type" = 2 INNER JOIN "account" AS "Account" ON "VideoChannelModel"."accountId" = "Account"."id" INNER JOIN "actor" AS "Account->Actor" ON "Account"."actorId" = "Account->Actor"."id" LEFT OUTER JOIN "server" AS "Account->Actor->Server" ON "Account->Actor"."serverId" = "Account->Actor->Server"."id" LEFT OUTER JOIN "actorImage" AS "Account->Actor->Avatars" ON "Account->Actor"."id" = "Account->Actor->Avatars"."actorId" AND "Account->Actor->Avatars"."type" = 1 WHERE "VideoChannelModel"."id" = 14;
Dec 18 14:37:46 video peertube[11850]: [video.zebralog.cloud:443] 2023-12-18 14:37:46.029 debug: Got 0 chapters from video "SampleVideo_1280x720_1mb" container {
Dec 18 14:37:46 video peertube[11850]:   "containerChapters": []
Dec 18 14:37:46 video peertube[11850]: }
Dec 18 14:37:46 video peertube[11850]: [video.zebralog.cloud:443] 2023-12-18 14:37:46.096 debug: FFmpeg command ended. {
Dec 18 14:37:46 video peertube[11850]:   "stdout": "",
Dec 18 14:37:46 video peertube[11850]:   "stderr": "ffmpeg version 4.3.6-0+deb11u1 Copyright (c) 2000-2023 the FFmpeg developers\n  built with gcc 10 (Debian 10.2.1-6)\n  configuration: --prefix=/usr --extra-version=0+deb11u1 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --arch=amd64 --enable-gpl --disable-stripping --enable-avresample --disable-filter=resample --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libdav1d --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librabbitmq --enable-librsvg --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opencl --enable-opengl --enable-sdl2 --enable-pocketsphinx --enable-libmfx --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libx264 --enable-shared\n  libavutil      56. 51.100 / 56. 51.100\n  libavcodec     58. 91.100 / 58. 91.100\n  libavformat    58. 45.100 / 58. 45.100\n  libavdevice    58. 10.100 / 58. 10.100\n  libavfilter     7. 85.100 /  7. 85.100\n  libavresample   4.  0.  0 /  4.  0.  0\n  libswscale      5.  7.100 /  5.  7.100\n  libswresample   3.  7.100 /  3.  7.100\n  libpostproc    55.  7.100 / 55.  7.100\n/var/www/peertube/storage/web-videos/private/0b35745a-557d-4d3b-aeb5-545c5d9ca793-720.mkv: could not seek to position 2.000\nInput #0, matroska,webm, from '/var/www/peertube/storage/web-videos/private/0b35745a-557d-4d3b-aeb5-545c5d9ca793-720.mkv':\n  Metadata:\n    ENCODER         : Lavf53.24.2\n  Duration: 00:00:03.60, bitrate: 2338 kb/s\n    Stream #0:0: Video: mpeg4 (Simple Profile), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], 25 fps, 25 tbr, 1k tbn, 25 tbc (default)\n    Stream #0:1: Audio: aac (LC), 48000 Hz, 5.1, fltp (default)\nStream mapping:\n  Stream #0:0 -> #0:0 (mpeg4 (native) -> mjpeg (native))\nPress [q] to stop, [?] for help\n[swscaler @ 0x556f489f0a80] deprecated pixel format used, make sure you did set range correctly\nOutput #0, image2, to '/var/www/peertube/storage/previews/pending-bc801016-b6c5-4f4f-9140-7d1a58a1e03c.jpg':\n  Metadata:\n    encoder         : Lavf58.45.100\n    Stream #0:0: Video: mjpeg, yuvj444p(pc), 1280x720 [SAR 1:1 DAR 16:9], q=2-31, 200 kb/s, 25 fps, 25 tbn, 25 tbc (default)\n    Metadata:\n      encoder         : Lavc58.91.100 mjpeg\n    Side data:\n      cpb: bitrate max/min/avg: 0/0/200000 buffer size: 0 vbv_delay: N/A\nframe=    0 fps=0.0 q=0.0 Lsize=N/A time=00:00:00.00 bitrate=N/A speed=   0x    \nvideo:0kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown\nOutput file is empty, nothing was encoded (check -ss / -t / -frames parameters if used)\n",
Dec 18 14:37:46 video peertube[11850]:   "shellCommand": "ffmpeg -n 10 /usr/bin/ffmpeg -ss 2 -i /var/www/peertube/storage/web-videos/private/0b35745a-557d-4d3b-aeb5-545c5d9ca793-720.mkv -y -filter:v thumbnail=50 -frames:v 1 /var/www/peertube/storage/previews/pending-bc801016-b6c5-4f4f-9140-7d1a58a1e03c.jpg"
Dec 18 14:37:46 video peertube[11850]: }
Dec 18 14:37:46 video peertube[11850]: [video.zebralog.cloud:443] 2023-12-18 14:37:46.097 debug: Processing image /var/www/peertube/storage/previews/pending-bc801016-b6c5-4f4f-9140-7d1a58a1e03c.jpg to /var/www/peertube/storage/previews/bc801016-b6c5-4f4f-9140-7d1a58a1e03c.jpg.
Dec 18 14:37:46 video peertube[11850]: [video.zebralog.cloud:443] 2023-12-18 14:37:46.104 error: Cannot generate image from video /var/www/peertube/storage/web-videos/private/0b35745a-557d-4d3b-aeb5-545c5d9ca793-720.mkv. {
Dec 18 14:37:46 video peertube[11850]:   "err": {
Dec 18 14:37:46 video peertube[11850]:     "stack": "Error: ENOENT: no such file or directory, open '/var/www/peertube/storage/previews/pending-bc801016-b6c5-4f4f-9140-7d1a58a1e03c.jpg'",
Dec 18 14:37:46 video peertube[11850]:     "message": "ENOENT: no such file or directory, open '/var/www/peertube/storage/previews/pending-bc801016-b6c5-4f4f-9140-7d1a58a1e03c.jpg'"
Dec 18 14:37:46 video peertube[11850]:   }
Dec 18 14:37:46 video peertube[11850]: }
Dec 18 14:37:46 video peertube[11850]: [video.zebralog.cloud:443] 2023-12-18 14:37:46.106 error: Error in controller. {
Dec 18 14:37:46 video peertube[11850]:   "err": "Error: ENOENT: no such file or directory, open '/var/www/peertube/storage/previews/pending-bc801016-b6c5-4f4f-9140-7d1a58a1e03c.jpg'"
Dec 18 14:37:46 video peertube[11850]: }
Dec 18 14:37:46 video peertube[11850]: [video.zebralog.cloud:443] 2023-12-18 14:37:46.106 debug: Bad HTTP request. {
Dec 18 14:37:46 video peertube[11850]:   "json": {
Dec 18 14:37:46 video peertube[11850]:     "type": "https://docs.joinpeertube.org/api-rest-reference.html#section/Errors/Error",
Dec 18 14:37:46 video peertube[11850]:     "detail": "ENOENT: no such file or directory, open '/var/www/peertube/storage/previews/pending-bc801016-b6c5-4f4f-9140-7d1a58a1e03c.jpg'",
Dec 18 14:37:46 video peertube[11850]:     "status": 500,
Dec 18 14:37:46 video peertube[11850]:     "docs": "https://docs.joinpeertube.org/api-rest-reference.html#operation/uploadResumable",
Dec 18 14:37:46 video peertube[11850]:     "code": "Error",
Dec 18 14:37:46 video peertube[11850]:     "error": "ENOENT: no such file or directory, open '/var/www/peertube/storage/previews/pending-bc801016-b6c5-4f4f-9140-7d1a58a1e03c.jpg'"
Dec 18 14:37:46 video peertube[11850]:   }
Dec 18 14:37:46 video peertube[11850]: }
Dec 18 14:37:46 video peertube[11850]: [video.zebralog.cloud:443] 2023-12-18 14:37:46.107 info: 2.205.60.112 - - [18/Dec/2023:13:37:46 +0000] "PUT /api/v1/videos/upload-resumable?upload_id=af63af4c8601a015-2ef07b71e50ea420-6884509b12c0612d-48794ba8d073b378 HTTP/1.0" 500 475 "https://video.zebralog.cloud/videos/upload" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36"
Dec 18 14:37:46 video peertube[11850]: [video.zebralog.cloud:443] 2023-12-18 14:37:46.133 debug: Getting access token.
Dec 18 14:37:46 video peertube[11850]: [video.zebralog.cloud:443] 2023-12-18 14:37:46.134 debug: Checking POST - /api/v1/server/logs/client parameters {
Dec 18 14:37:46 video peertube[11850]:   "body": {
Dec 18 14:37:46 video peertube[11850]:     "message": "Hochladen fehlgeschlagen: Der Server ist auf einen Fehler gestoßen",
Dec 18 14:37:46 video peertube[11850]:     "userAgent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36",
Dec 18 14:37:46 video peertube[11850]:     "url": "https://video.zebralog.cloud/videos/upload#upload",
Dec 18 14:37:46 video peertube[11850]:     "level": "error"
Dec 18 14:37:46 video peertube[11850]:   },
Dec 18 14:37:46 video peertube[11850]:   "params": {},
Dec 18 14:37:46 video peertube[11850]:   "query": {}
Dec 18 14:37:46 video peertube[11850]: }
Dec 18 14:37:46 video peertube[11850]: [video.zebralog.cloud:443] 2023-12-18 14:37:46.135 error: Client log: Hochladen fehlgeschlagen: Der Server ist auf einen Fehler gestoßen {
Dec 18 14:37:46 video peertube[11850]:   "username": "zebralog",
Dec 18 14:37:46 video peertube[11850]:   "userAgent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36",
Dec 18 14:37:46 video peertube[11850]:   "url": "https://video.zebralog.cloud/videos/upload#upload"
Dec 18 14:37:46 video peertube[11850]: }
Dec 18 14:37:46 video peertube[11850]: [video.zebralog.cloud:443] 2023-12-18 14:37:46.135 info: 2.205.60.112 - - [18/Dec/2023:13:37:46 +0000] "POST /api/v1/server/logs/client HTTP/1.0" 204 - "https://video.zebralog.cloud/videos/upload" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36"
Dec 18 14:37:48 video peertube[11850]: [video.zebralog.cloud:443] 2023-12-18 14:37:48.383 debug: Executed SQL request - Executing (default): SELECT "id", "uuid", "type", "payload", "privatePayload", "state", "failures", "error", "priority", "processingJobToken", "progress", "startedAt", "finishedAt", "dependsOnRunnerJobId", "runnerId", "createdAt", "updatedAt" FROM "runnerJob" AS "RunnerJobModel" WHERE "RunnerJobModel"."type" IN ('vod-audio-merge-transcoding', 'vod-hls-transcoding', 'vod-web-video-transcoding') AND "RunnerJobModel"."state" = 2 AND "RunnerJobModel"."updatedAt" < '2023-12-18 13:35:48.381 +00:00';
Dec 18 14:37:48 video peertube[11850]: [video.zebralog.cloud:443] 2023-12-18 14:37:48.386 debug: Executed SQL request - Executing (default): SELECT "id", "uuid", "type", "payload", "privatePayload", "state", "failures", "error", "priority", "processingJobToken", "progress", "startedAt", "finishedAt", "dependsOnRunnerJobId", "runnerId", "createdAt", "updatedAt" FROM "runnerJob" AS "RunnerJobModel" WHERE "RunnerJobModel"."type" IN ('live-rtmp-hls-transcoding') AND "RunnerJobModel"."state" = 2 AND "RunnerJobModel"."updatedAt" < '2023-12-18 13:37:18.385 +00:00';

Hm…

the error does only appear if I use my standard test file (.mkv, 1mb). If I user different and larger files it seem to work.

Can you share your file?

sure

Thanks! It should be fixed by Fix thumbnail generation when on bad input seek · Chocobozzz/PeerTube@7b23f24 · GitHub

1 Like