-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
404 for remote avatar #4071
Comments
I think, you can regenerate thist avatar. See https://docs.joinpeertube.org/maintain-tools |
Thanks for the suggestion, but unfortunately this script was added in 3.2-rc1 and I’m still running version 3.1 (the latest stable release). Also, after having a quick look at the code, it seems that it’s not doing anything related to avatars, so I don’t think it would actually solve my issue. |
That was what I was going to tell you, I confused avatar with preview of the videos [thumbnails] :) |
Hello, Could you enable debug logs and paste SQL lines before |
Here you are:
|
Thanks, could you paste the output of the SQL query:
|
I see
|
@Chocobozzz I see you added the |
Thanks, it should be fixed by 79db409 |
I suffered a data loss recently and restored PeerTube with an empty storage. Since then, some avatars are not showing and I couldn’t find any way to make PeerTube reload them (the files are not present in the data directory).
I had a similar issue with thumbnails, but unsubscribing from a channel then subscribing again fixed that (I had no luck trying to restore avatars with this technique).
Here is a screenshot that shows the issue:
The avatar URL returns a 404 status code:
And the avatar is not there:
The question is, is there a way to make PeerTube download a channel/user avatar when it’s not there?
If not, what would be the best solution? I’m thinking of two ways of doing this:
I could probably work on a PR if you want to.
The text was updated successfully, but these errors were encountered: