One video doesn't play anymore

Hello,

I’ve noticed a few days ago that one of my videos will no longer play. It used to, it has views and all. I uploaded it around the same time as others (some older, some newer), and all the other videos playback normally.

I’m not sure where to look to try and fix this. It is possible that this issue happened since I upgraded from v3.0.0 to v3.1.0.0 (I cannot confirm 100% it played on v3.0.0, but it certainly did play before that).

If anyone knows where I can look for clues, that would be nice.
: ]

What are your browser logs and video URL?

Hello rigelk,

In my browser « console », I’ve got these lines in red (that I don’t have on videos that play):

Cannot get sha256 segments SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data
HLS.js error: networkError - fatal: true - manifestLoadError

The non-working video is here: https://tube.hoga.fr/videos/watch/d94d322c-8aaf-4eb6-bb3b-621ee5ea10f2

All other videos on the channel play fine (and are mostly better too).

Hello,

Please check your streaming_playlists directory (https://github.com/Chocobozzz/PeerTube/blob/develop/config/production.yaml.example#L81) contains this video.

Do you use docker?

Hi, and thanks,
: ]

The problematic video (d94d322c-8aaf-4eb6-bb3b-621ee5ea10f2) cannot be found in /var/www/peertube/storage/streaming-playlists/hls/, the others seem to be there.

I’m not using docker, I’m using the any-os on Debian/stable.

Perhaps I should run the create-transcoding-job job(s) ?
(from here https://docs.joinpeertube.org/maintain-tools?id=create-transcoding-jobjs)

It’s weird the video disappeared, but yes this script could fix this issue.

And it does. I only did the first part of that chapter, meaning:

cd /var/www/peertube/peertube-latest
$ sudo -u peertube NODE_CONFIG_DIR=/var/www/peertube/config NODE_ENV=production npm run create-transcoding-job -- -v [videoUUID]

I’m now understanding that I should probably run the second part (generate an HLS playlist).

Thanks a lot for the help. \o/