So at first my issue seemed very close to the one described here:
I was happy to think that a simple nginx restart would magically solve my issue. But since I’m opening a new thread here, you guessed it, restarting nginx didn’t cut it.
I’ll redo the setup description as in the other post but it’s really a copy paste of what Veritas posted :
I installed Peertube (for the very first time) 2.1.1 on an Ubuntu 18.04 server following the installation guide.
No console or Nginx logs weirdness or obvious error/warning messages (I did set production.yaml log level to debug)
Everything, apart from playback seems to work just like in Veritas’ case, I can direct download and torrent download my peertube’s videos, there’s just no online playback.
I’m very new to this software this is my first instance running so the probability that I missed something obvious configuring it is fairly high.
Does anyone have any idea as to where I should try investigating next ?
I tried playing the video and could reproduce your problem on my end. The fact you imported it from YouTube should not make any difference here (every input video, whether direct or imported is transcoded), so the problem lies elsewhere.
I notice that the video plays fine when downloaded directly, and that your instance uses HLS (which is good!). That often means that the ffmpeg version is too old and doesn’t work well with HLS.
That’s the culprit there. Per the release notes of v1.3.0 that introduced HLS, ffmpeg needs to be > 4 for HLS to work. More precisely, the helper within the admin interface asks for « ffmpeg >= 4.1 ».
I then restarted the peertube service (probably unnecessary) and uploaded/imported a new video and this one works just fine (the old transcoded ones remain unwatchable with HLS on)
Thanks again I can now dig further into the software !