Issue: autoplay of "Other videos" plays the same videos in loop

Hello!

In my Peertube 6.1.0 instance I see issue with Autoplay feature. Next 2 videos are always the same, no matter what video I open.

How it behaves:

  1. I start watching any video and see that next video will be A
  2. When it starts to play video A, i see that next will be video B
  3. When video B is going, i see that next video will be A
    And it goes so on… Like a playlist with 2 videos constantly on repeat

Any advice on how to debug it or fix it?

I run Peertube in a Docker container. /data folder mounted to NFS share.