Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remote channel view doesn't show all available videos nor an indicator that new data is being retrieved #3947

Open
jeena opened this issue Apr 11, 2021 · 7 comments
Labels
Component: Federation 🎡 Type: Feature Request ✨ UI non-trivial UI changes, that might need discussion

Comments

@jeena
Copy link
Contributor

jeena commented Apr 11, 2021

Describe the current behavior

When I check the view which should show the videos available for a channel on a remote instance, I can't I see all videos from a channel from a different instance on my own instances UI and there is no indication about that this view is outdated and is being updated in the background.

peertube-videos

On the right it's https://tilvids.com/video-channels/polarhive/videos and I can see 10 videos on their channel. On the left it's the same channel but viewed within my own instance and there I only can see 2 videos.

After having browsed around on my instance for a while and randomly decided to check back on that channel I realized that it has been updated in the background and now shows the same amount of videos:

peertube-videos2

Steps to reproduce:

  1. Go to the channel view on your instance of a channel from a different instance which you haven't been visiting for some time.
  2. See that not all videos show up.
  3. Wait for some minutes.
  4. Reload the page with that view, now all videos show up.

Describe the expected behavior

Some kind of indicator should show that new data from a remote instance is being retrieved and the view will be updated so that I understand that I'm looking at outdated data.

Additional information

I'm not sure if that also affects this channels videos in the subscriptions, I started investigating because I felt that too few videos show up there. But I don't have a screenshot of before and after and my memory might be false.

  • PeerTube instance:

  • Browser name, version and platforms on which you could reproduce the bug: Firefox on Arch Linux

  • Link to browser console log if relevant:

  • Link to server log if relevant (journalctl or /var/www/peertube/storage/logs/):

@rigelk rigelk added Component: Federation 🎡 Type: Feature Request ✨ UI non-trivial UI changes, that might need discussion labels Apr 11, 2021
@jeena
Copy link
Contributor Author

jeena commented Apr 25, 2021

In some cases waiting for an update doesn't help and new videos never show up, see https://tube.jeena.net/videos/watch/4a00e7ca-c9a2-40b4-b8c8-6820c278ddcc

@jeena
Copy link
Contributor Author

jeena commented Jan 25, 2022

With v4 it got much worse, now practically no new remote videos show up on the Subscriptions page and even local videos which are marked as Internal don't show up anymore.

@Racer159
Copy link

I wasn't able to fully dig into it but I have seen similar behavior on my instance for a few of the servers that I had been following. I was able to work around it doing the following for each remote instance (leaving here in case this flow helps others):

  1. Lookup the latest local video that remote instance itself has
  2. Search for that video's title on my instance
  3. If that video does not show up in search then:
  4. Delete the following relationship with that instance
  5. Re-add the following relationship with that instance
  6. Wait for PeerTube to re-sync the remote instance

My theory for what was happening (unconfirmed) is that the remote instance was either rebuilt, migrated or was offline for long enough that it basically de-synced and needed to be forcibly re-added (I did notice that a few of the instances appeared to have changed since I had initially followed them, one even noticeably having a completely different set of videos).

@CyberFox001
Copy link

Is this issue still there in latest version of PeerTube ?

I got the same issue with the instance I use and I was thinking that come from this instance. Didn't know it was a PeerTube bug.

But my instance is at version 4.3.1, so I can't tell if this issue is still there with latest version.

@Racer159
Copy link

Racer159 commented Mar 4, 2023

The issue definitely isn't as prevalent as it once was, but I checked more deeply and I still found at least one example across mine and another instance (both of us on 5.0.1).

As I found it:

Screenshot from 2023-03-03 23-45-48

After recycling the following relationship with peertube@peertube.linuxrocks.online as described above:

image

That said though, I have kept the same instance through upgrades and didn't refresh every following relationship so the issue might just have simply stuck around for that long...

@CyberFox001
Copy link

On an instance with version 5.2.0, we still have the problem.

The video list of a remote channel is not up to date with the channel on its own instance.

On a channel, I got mostly 40 videos late.

@rosbeef
Copy link

rosbeef commented Sep 25, 2023

Is this really a feature request? It should be a normal behaviour. Is this related to #3213 ?

Workaround:
To make subscriptions sync again :

  • go to the channel page
  • unsubscribe
  • resubscribe
  • wait seconds
    Done

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component: Federation 🎡 Type: Feature Request ✨ UI non-trivial UI changes, that might need discussion
Projects
None yet
Development

No branches or pull requests

5 participants