rocket.chat 3.6.0 add change public or private channel avatar.I has upgrade it.The admin role can change it but users can't.I already enable users permission about edit room avatar.And I got error message like follow.
Sep 3 10:41:07 chat rocketchat[1662]: Error: Error deleting file on webdav
Sep 3 10:41:07 chat rocketchat[1662]: at app/webdav/server/lib/webdavClientAdapter.js:41:10
Sep 3 10:41:07 chat rocketchat[1662]: at /opt/Rocket.Chat/programs/server/npm/node_modules/meteor/promise/node_modules/meteor-promise/fiber_pool.js:43:40
Sep 3 10:41:07 chat rocketchat[1662]: Exception in setTimeout callback: TypeError: Cannot read property 'etag' of undefined
Sep 3 10:41:07 chat rocketchat[1662]: at app/lib/server/functions/setRoomAvatar.js:34:46
Sep 3 10:41:07 chat rocketchat[1662]: at Meteor.EnvironmentVariable.EVp.withValue (packages/meteor.js:1234:12)
Sep 3 10:41:07 chat rocketchat[1662]: at packages/meteor.js:550:25
Sep 3 10:41:07 chat rocketchat[1662]: at runWithEnvironment (packages/meteor.js:1286:24)
I haven't enable webdav.I store type is gridfs.Could I miss another settings?Please help me.



I confirm that bug for not administrator user that owner of room.
Same here, I store the file in the filesystem. Only the admin account can change the avatar.
Seems to be a general avatar problem.
Since when rooms can have avatars in Rocket.Chat? I don't see that feature in any of my Rocket.Chat installations and haven't seen it since the year 2018.
@larkinson Check the Release notes of 3.6.0 ;)
Same here Version 3.6.0
Try to change Profile avatar I get the error message "The formData parameter MUSTbe an instance of the FormData class."
If I try to change the avatar of a channel, the "hide system message" option is reset.
And I get the following message in the error log:Exception in setTimeout callback: TypeError: Cannot read property 'etag' of undefined at app/lib/server/functions/setRoomAvatar.js:34:46 at Meteor.EnvironmentVariable.EVp.withValue (packages/meteor.js:1234:12) at packages/meteor.js:550:25 at runWithEnvironment (packages/meteor.js:1286:24)
Need urgent a solution to fix it
Possible duplicate of #18736
Will close this in favour or #18736. There is a PR in place to fix this problem, more information in the main issue.
Even with this change integrated, I'm still seeing the issue in 3.6.0 when trying to change channel avatars. However, the good news is I think I have a fix. The bad news is I've never done a PR to contribute before, so I'll give it a shot.
Most helpful comment
Same here Version 3.6.0
Try to change Profile avatar I get the error message "The formData parameter MUSTbe an instance of the FormData class."
If I try to change the avatar of a channel, the "hide system message" option is reset.
And I get the following message in the error log:
Exception in setTimeout callback: TypeError: Cannot read property 'etag' of undefined at app/lib/server/functions/setRoomAvatar.js:34:46 at Meteor.EnvironmentVariable.EVp.withValue (packages/meteor.js:1234:12) at packages/meteor.js:550:25 at runWithEnvironment (packages/meteor.js:1286:24)Need urgent a solution to fix it