Help to confirm a bug before submitting to github

Hi, I would like some confirmation of a strange behavior under Peertube version 4.3.1 (under docker) and now 5.0.1 (on bare metal). I’ve observed it under various MacOS and Windows web browsers.

When I search for a known collection of playlists (there are 5 in public mode), the results page only displays the first 2 of them. If I click on the filter button, the page « grows up » and Peertube loads the 3 other playlists if I scroll down.
Same behaviors if I’m logged out or in.
Same occurs also when I browse the new channel page (see the capture below, where only the « Histoire » channel is loaded and the counter displays 35 channels.)
But strangely, the Playlist page acts as expected, loading all the playlist if I scroll down.

How to reproduce it :

  • go to
  • search « pix » in the search bar : you will only get 2 results
  • click the « Filter » button to expand it section, then scroll down the page : the 3 other playlists appears

Could someone confirms this behaviors on his browser, and maybe on other Peertube instance before I submit an issue on github ?

Thanks. Eric


I fixed the first issue on Fix infinite scroll on search page · Chocobozzz/PeerTube@09a7ce0 · GitHub

Regarding the list of channels, it’s very weird: you don’t have errors in the server or in the client?

1 Like

Hi @Chocobozzz,

Here are some error in the log :

warn[27/02/2023 09:20:51] Warning in tracker.
  "err": {
    "stack": "Error: Unknown infoHash d5b855338de6cd316dfeb0ee2571ce238fb316dc requested by ip 92.173.X.Y\n    at Server.<anonymous> (/var/www/peertube/versions/peertube-v5.0.1/dist/server/controllers/tracker.js:52:20)\n    at (<anonymous>)\n    at fulfilled (/var/www/peertube/versions/peertube-v5.0.1/node_modules/tslib/tslib.js:115:62)\n    at processTicksAndRejections (node:internal/process/task_queues:96:5)",
    "message": "Unknown infoHash d5b855338de6cd316dfeb0ee2571ce238fb316dc requested by ip 92.173.X.Y"

(I’ve masked the IP adress).

and another here :

error[27/02/2023 09:18:48] Client log: Cannot read properties of null (reading 'length')
  "tags": [
  "userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/ Safari/537.36",
  "stackTrace": "Cannot read properties of null (reading 'length')\nTypeError: Cannot read properties of null (reading 'length')\n    at C.applyUpdate (\n    at\n    at Array.forEach (<anonymous>)\n    at C.init (\n    at C.has (\n    at m.intercept (\n    at Ge.handle (\n    at _t.intercept (\n    at Ge.handle (\n    at _t.handle (",
  "url": ""

Another one below, which seems related to the HLS (edit : i’ve deleted a wrong info) :

error[27/02/2023 09:21:59] Client log: HLS.js error: mediaError - fatal: false - bufferStalledError
  "tags": [
  "userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Firefox/78.0",
  "meta": "{\"data\":{\"type\":\"mediaError\",\"details\":\"bufferStalledError\",\"fatal\":false,\"buffer\":19.875333}}",
  "url": ""

To add more information about my setup (and identify what could cause this problem displaying the channels), you will find below the custom CSS used :

.on-instance> a[href="/videos/local"] {
display: none !important;
.on-instance> a[href="/home"] {
display: none !important;
body#custom-css {
  --mainColor: #306165;

Here is the list of all the plugin I use :

  • auth-saml2 (0.0.6)
  • bittube-livestream-instructions (0.0.2)
  • categories (1.2.7)
  • custom-links (0.0.10)
  • matomo (1.0.2)
  • originally-published-at (0.0.3)
  • simplelogo (0.0.5)
  • transcoding-custom-quality (0.0.2)

And the theme :

  • dark (2.5.0)

No javascript injected.

Any idea on a way to correct this problem ? (it’s very annoying, because to find a channel, I have to remember a precise word that only this channel use so it appears in the only result showed.)

Thanks, Eric

PS : if it could give you a clue, when I reach the Channel page, the only Channel showed is the last I’ve edited.

Another clue maybe : on the video page (when logged in), the list shows since a couple of months (maybe a yaer) the same videos (« Terre la planête bleue », « Le système solaire »…), even if I have published other video (in public and also in unlisted mode) since.

I’m forced to choose « Dernier créé en premier » (Last created first ?) in the filter to see the real last videos :

I hope this could help you find the issue.
Best regards. Eric

Please try to reproduce all your bugs without peertube plugins (--no-plugins option when you run peertube)

Hi @Chocobozzz I’ve managed to reproduce it.
It’s seems not related to the plugin.

Go in the web Admin/Configuration/Basic tab, and set the « Max channel number per user » to 1.

Then when you go back to the Channel page, only 1 channel is shown.

So I know that my usage of this settings is maybe particular, but it allows me to force all other user than me to have only one « Main channel prénom nom » and put all their video inside it.
But this force me to set temporarely the value to 100 when I need to create a new Channel, and then put it back to 1.
This is why I ask in this issue if it could be possible to specify different value for different user type ?

Could you confirm that you manage to reproduce it ?

Yes, thanks! It should be fixed by List my channels using pagination · Chocobozzz/PeerTube@439f5df · GitHub

1 Like

Thank you for sharing, friend. You posed an excellent question. I’m having the same problem with lil peep. John Livingston’s solution was really beneficial to me.