-
Notifications
You must be signed in to change notification settings - Fork 11.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
After updating to 0.68.0 Sidebar shows Usernames instead of Real Names #11598
Comments
Just took a look. I guess it was always like that? The sidbar only shows the username. No? Just checked my 0.66.0 installation. |
I have the same problem too. i was using 0.65.1 version and can to show realnames in sidebar. After update this option not work and all current chats became a username. We using numeric usernames and that so uncomfortable |
@himpierre Nope, it worked before. We used real names in sidebar since at least 6 months. |
i checked if you delete room and start new privite chat it's start working. But all history will be lost of course |
@baevga I think you are talking about a different problem. I'm talking about Real Names in the left sidebar. |
@johnyb0y Your issue about another problem? |
@baevga That looks like the same problem I'm experiencing. But for me, deleting a chat and starting a new one doesn't help.
|
Same problem here. |
Which setting enables that feature? I have set "Set a User Name to Alias in Message" to true, but thats it. |
@himpierre which Setting specifically no idea. There are various „Use real name“ Settings spread across the configuration menu. |
@himpierre, Option path |
Uah. Thanks. Never saw this page. You learn something new every hour. :-) |
i set "Use Real Name" to true but nothing changed. is there another solution for this issue? |
@a1268512, This is not solution. This is setting that not working correctly and that's why this issue was created |
It looks like a duplicate of #11553 |
@mpiotrowski-im The #11553 is ldap authenticated config. The sidebar doesn't work at all. |
@tomcsi yeah, but I think he might have misinterpreted his issue to be related to LDAP. Looks like the same issue to me. |
@tomcsi It started as that but if you look closely it was corrected as a bug about sidebar (called message list in the issue). Look at the screenshot and comments. It is not about only ldap authenticated config. |
I have the same problem after going from 0.65.1 to 0.68.0. |
@Scream85 I have registration users as well and it's still happening. So LDAP seems to have no effect regarding this issue - at least for me. |
I just wonder why this issue is being largely ignored while other minor things are getting worked on, seeing the commits on develop. While this is not functionally breaking, I would consider it high-impact. From what I saw, all efforts were focused on release of 0.68 which was slated for the 27th. Hopefully some attention will be given to this. 😄 |
@bkraul True. If someone uses numeric or randomized usernames in LDAP Rocketchat is essentially broken. |
We are using 0.67.0. My left sidebar is mixed with nice "Name" Versions and not so nice "username" Versions. Old conversations show up as 'Username', if I send a message to such a contact, the chat gets renamed to the 'Username' variant. PS: Checking on another Chat using version 0.66.3, the problem seems to be the same |
The same here - we had real names on 0.66.0 and now there is username on 0.68.0 in the left column. |
Same here. Reported previously about 2 weeks ago. We store our users extension numbers in their real name for easy phone tree lookup and this is crippling our use of RC. |
+1, the same problem |
So I had never heard of this "real names" thing until today, but I turned on the setting, and something very odd happened. Only about half of the usernames show, and the other half show real names. It appears to be the original 3-4 users I had on the system, before I imported the rest. So perhaps if the history was first recorded under the username, the real name can never be displayed? Edit: turns out I'm still on .67. I guess I'll wait to update. |
The ones that still show real names will change to usernames as soon as you type a direct message to them. |
ah, ok well in spite of myself I updated to .68.1, and now they all show usernames... |
Problem solved. First update bundle/programs/server/app/app.js and fix the line that wrongly identifies v130 as db version v129. Then restart rocketchat and verify in the logs it has updated the db version. Next, in mongo shell, run command from antoine here: Pasted for your convenience:
In client, I used CTRL+SHIFT+I (set cache to OFF when dev tools open) and then CTRL+R to reload the client. |
@sampaiodiego I started a community topic with some details: |
Hi. Having the same issue, even after updating to 0.69.3 and resetting the data in android and desktop app, some usernames are still shown with uid instead of their realnames. |
@Ghoshnik and @lehrhardt , have you tried the mongodb script I posted above? Despite those saying it is not necessary, I did have to use it before things worked. But perhaps I forgot to clear cache or something--still it is worth a try. |
@adipose thanks for pointing this out. We have run this script manually and indeed, this fixed the display issue and all users are now being displayed with their realnames. thx. |
@lehrhardt Great! |
I'm afraid it is not fixed for new users. I have to take a new look into this. |
Will this issue be fixed in 0.70? |
this was proper fixed by #12154 and will be released to stable today. |
Confirm this issue. 3.18.1 |
Confirmed at least until 3.18.2 |
Confirmed at 4.1.0 |
Confirmed for 3.18.3 |
Try this fix in mongo shell:
|
@homberger any further steps needed? i executed the command but the user is still shown with username instead of real name cd /snap/rocketchat-server/current/bin/ |
The result of the command you entered is missing in your copied text. If it was executed successfully, you should try to force reload your RC client (CTRL + SHIFT + R). |
@homberger sorry for the late response. here is what i entered. I did not get any result. Just a new emtpy line and reload the client with ctrl + shift + r did not fix the issue `root@bl-rocket:~# rocketchat-server.mongo
|
my issue was i was not selecting the correct database (thank you to rocket chat support team) rs0:PRIMARY> show dbs After that i executed this and it was fixed directly `var subscriptions = db.rocketchat_subscription.find({ subscriptions.forEach(function(subscription) { |
In my comment a line was missing: |
Hi! Works fine! But this is a very long and expensive query:( However many thanks for temporary solution. :) |
I'm facing the same problem where I need to run the mongo query in order to show the full name from the users in the sidebar. Right now I'm creating a script to run the query daily in order to fix the display name. |
@paulopera die Script i postet on 17.03.22 fixed the wrong names for me, with the latest rocket chat version i did not notice the issue again, so i just had to fix the usernames onces with the script |
The scrip only works for the past conversations, some new conversations are still displaying the username and not the display name. |
@paulopera with 4.x/stable: 4.8.3 2022-08-08 |
I'm still running the old version because of the changes in Basic User Data Sync. |
Hello, Got same issue, the RC client shows only usernames, even on the 'user info' there is no field that displays user's full name. Admin settings / Client Settings doesn't seem to change the behavior. Well running the laltest stable version of RC: 6.11.1 / Mongo: 5.0 thanks in advance :) |
Hello @CeeSharpDev I got it fixed by using the script @icerootsvw posted but now we need to use the mongosh instead of the mongo to run the script. 1- At the container folder: docker compose exec mongo bash And now all the users got the Display Names instead of the usernames. |
Hello @paulopera thanks a ton for your response. Actually a wrong setting via Admin Settings was toggled earlier, hence no changes were realized, But found the right setting: 'Layout --> Use Real Names', this had fixed the issue. Thank you again :) |
You are welcome @CeeSharpDev ! Indeed there's this setting where you can choose the Real Name. |
Description:
After updating to 0.68.0 the left sidebar displays usernames instead of Real names.
I already searched settings (twice) and as far as I can tell every setting is set to Use Real Names.
Have i overlooked something ?
EDIT: Just to be clear: Before the update the sidebar showed the Real Names, not the usernames.
Steps to reproduce:
Expected behavior:
Setting shouldn't change. Also toggling the various "Use Real Names" settings should have an effect and configure the sidebar to use Real Names again.
Actual behavior:
Username is shown and settings don't seem to change anything regarding the sidebar.
Server Setup Information:
Thanks.
The text was updated successfully, but these errors were encountered: