-
Notifications
You must be signed in to change notification settings - Fork 10.1k
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
Cannot set new user Avatar via file upload #7470
Comments
Similar problem here, switched to Gravatar for all users as a temporary solution. |
@rodrigok this is an issue with the file upload changes. |
@geekgonecrazy We are on 0.57.2 and the problem persists, exactly as originally reported. The "Use Uploaded Avatar" button in the desktop client does nothing. With the web client, running under Chrome, I get the green "Avatar changed successfully" notification, but the avatar does not change - until I forcibly reload the entire client, then it does. So perhaps the issue is now a bug with the Electron client? |
@rodrigok sounds like we have another edge case. I'm not sure what info you'd need to track this one down |
The avatar issue was not solved with 0.57.2 for us (avatars were not displayed, did not do much more testing though - we switched to Gravatar for all users). |
Which version is https://demo.rocket.chat/ running? I was not able to change my avatar from the auto-fetched gravatar to a file upload. It gave the "avatar changed successfully", but it didn't change. Avatar from url worked. |
@mestaritonttu we are currently on 0.58.0-rc.0 on the community server. |
@geekgonecrazy Checking in here saying on
|
I've noticed that the Avatar image is actually updated, but the old one is loaded from cache. The Avatar URL is |
Verified that in version 0.58.2, Safari is no longer a problem, though a page refresh is still required in order to see the updated avatar. |
Still can't upload new avatar in Version 0.59.3 - even a reload gives me the default image with the letters AC. |
Please try on newer version. A lot has changed related to avatars. Actually 0.63 will be released soon, and it has even more fixes |
This issue still exists for me on 0.68.4
|
Have this issue @0.69.1 @geekgonecrazy please reopen since this issue is still present |
Hi, I see some issues with downloading some avatar images.
The dc= value should not be a big problem as the cache should expire after 3600 seconds anyway.
I don't think that forcing the users to upload their avatars again would be a good solution on this one. |
Works for me now. I am using google cloud storage and the service account permission had to be set to Storage-Object-Administrator instead of just "Object-Creator and Object-Viewer" |
Rocket.Chat Version: 0.57.1 (Dockerized)
Running Instances: 1
DB Replicaset OpLog: Disabled
Node Version: v4.8.1
History: We upgraded from
0.56 -> 0.57.1
(no RCs) viadocker pull
and avatars failed to migrate. I applied the workaround from #7172 (AVATARS_PATH=/app/uploads
andMIGRATION_VERSION=99,rerun
) and was able to get avatars to migrate correctly. We are using FileSystem for File Upload Storage Type.Now: Users cannot change their avatar using
My Account > Avatar > Select File/Use Uploaded Avatar
.File uploads do work for all users (tested with paperclip attachment.) In fact, the file upload correctly places the new file in the mapped
/app/uploads
path (confirmed withls
on the server).Worse, the web interface displays the green "Avatar changed successfully" popup, but after returning to the chat screen, no new avatar is displayed, even after force-reloading or clearing the cache browser. Reloading the
My Account > Avatar
page then shows the default "disk with up arrow" icon for a user's avatar instead. The user's avatar from before upload continues to display in chat windows.Worse, from the Rocket.Chat desktop or mobile app, clicking the "Use Uploaded Avatar" button appears to do nothing. No green popup is displayed, and no change happens.
Avatars can right now be changed via the "Use URL for Avatar" button.
There are no errors displayed in our Rocket.Chat server log:
The text was updated successfully, but these errors were encountered: