Unable to upload Avatar on Self-Hosted #5164
-
Hi guys, deployed on 500GB free disk space VPS running Ubuntu 22.04. Everything seems to work fine, but I am unable to upload Avatars. I upload it, when I click update on the user or team... poof! the avatar disappears. Is there some format/size constraint that I am missing? |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 23 replies
-
AFAIK Avatars go into the database as blobs. Are you using postgres? Whats the error in dev console ehen uploading it? Might be a missing env var which is used to generate the base of the public image url |
Beta Was this translation helpful? Give feedback.
-
I have the same issue but I get a 504 Gateway Timeout without any error messages. The request to save the avatar reaches the backend, is printed on the console, and then it simply times out. No error on Postgres logs either. |
Beta Was this translation helpful? Give feedback.
-
Anybody from the core team maybe can point in the right direction? @agustif @PeerRich ? |
Beta Was this translation helpful? Give feedback.
-
For those who are seeing timeout issue, can you please try this branch This seems to be an issue of Next.js as reported here vercel/next.js#39262. The branch avoids middleware for updateProfile endpoint and thus it shouldn't have the issue. If you guys can confirm, it fixes the issue for you, we can merge the branch |
Beta Was this translation helpful? Give feedback.
For those who are seeing timeout issue, can you please try this branch
#5304
This seems to be an issue of Next.js as reported here vercel/next.js#39262. The branch avoids middleware for updateProfile endpoint and thus it shouldn't have the issue. If you guys can confirm, it fixes the issue for you, we can merge the branch