-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed
Labels
Component: RunnersComponent: TranscodingType: Bug 🐛Confirmed bug, at least replicated once by another contributorConfirmed bug, at least replicated once by another contributor
Description
Describe the current behavior
Currently, when any video is uploaded to my instance, the remote runner HLS transcoding job completes, but then errors at the end with a reported "Unknown next state for video [uuid]: 2"
Steps to reproduce
- Upload video
- Allow it to transcode on a remote runner
- Observe error
Describe the expected behavior
The job should complete transcoding without error.
Additional information
-
PeerTube instance:
- URL: https://joeltube.com
- Version: 8.1.3
- NodeJS version: 24.13.1
- Ffmpeg version: 7.1.1-1ubuntu4.2
-
Browser name, version and platforms on which you could reproduce the bug:
- Firefox 148.0.2 (but likely not relevant)
-
Link to server log if relevant (
journalctlor/var/www/peertube/storage/logs/):
These seem to be some relevant logs:
peertube-1 | [joeltube.com:443] 2026-03-22 17:29:25.233 info: 192.168.0.226 - - [22/Mar/2026:17:29:25 +0000] "POST /api/v1/runners/jobs/33b6f680-d3c6-4511-a933-6cde852aa527/update HTTP/1.1" 204 - "-" "-"
peertube-1 | [joeltube.com:443] 2026-03-22 17:29:30.163 warn: Cannot execute function with many retries. {
peertube-1 | "err": {
peertube-1 | "stack": "Error: Unknown next state for video 7d36038c-fe95-4c94-97b3-4d273c27a37a: 2\n at file:///app/dist/core/lib/video-state.js:51:19\n at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async /app/node_modules/.pnpm/sequelize@6.37.8_pg@8.18.0/node_modules/sequelize/lib/sequelize.js:507:18",
peertube-1 | "message": "Unknown next state for video 7d36038c-fe95-4c94-97b3-4d273c27a37a: 2"
peertube-1 | }
peertube-1 | }
peertube-1 | [joeltube.com:443] 2026-03-22 17:29:30.163 warn: Cannot execute moveToNextState with many retries. {
peertube-1 | "err": {
peertube-1 | "stack": "Error: Unknown next state for video 7d36038c-fe95-4c94-97b3-4d273c27a37a: 2\n at file:///app/dist/core/lib/video-state.js:51:19\n at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async /app/node_modules/.pnpm/sequelize@6.37.8_pg@8.18.0/node_modules/sequelize/lib/sequelize.js:507:18",
peertube-1 | "message": "Unknown next state for video 7d36038c-fe95-4c94-97b3-4d273c27a37a: 2"
peertube-1 | }
peertube-1 | }
peertube-1 | [joeltube.com:443] 2026-03-22 17:29:30.163 error: Cannot complete runner job {
peertube-1 | "err": {
peertube-1 | "stack": "Error: Unknown next state for video 7d36038c-fe95-4c94-97b3-4d273c27a37a: 2\n at file:///app/dist/core/lib/video-state.js:51:19\n at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async /app/node_modules/.pnpm/sequelize@6.37.8_pg@8.18.0/node_modules/sequelize/lib/sequelize.js:507:18",
peertube-1 | "message": "Unknown next state for video 7d36038c-fe95-4c94-97b3-4d273c27a37a: 2"
peertube-1 | }
peertube-1 | }
peertube-1 | [joeltube.com:443] 2026-03-22 17:29:32.246 info: Creating torrent /data/torrents/5c1b9f46-1147-4e52-b445-a252787f0668-360-hls.torrent.
peertube-1 | [joeltube.com:443] 2026-03-22 17:29:32.264 info: Fetching HLS file hls/7d36038c-fe95-4c94-97b3-4d273c27a37a/99d4751f-5a21-482c-9dc1-e4af4084eed5-0-fragmented.mp4 from object storage to /data/tmp/17bbf214-df57-433a-acb3-e808c9e7b987.mp4.
peertube-1 | [joeltube.com:443] 2026-03-22 17:29:32.533 info: 192.168.0.226 - - [22/Mar/2026:17:29:32 +0000] "POST /api/v1/runners/jobs/2c8159a2-7e44-4538-a269-e3947488c329/update HTTP/1.1" 204 - "-" "-"
If I recreate the transcoding jobs in the admin panel, they seem to complete successfully.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Component: RunnersComponent: TranscodingType: Bug 🐛Confirmed bug, at least replicated once by another contributorConfirmed bug, at least replicated once by another contributor