Account username not populating in Nextcloud Dashboard #457

Open
opened 2023-03-15 23:14:51 +01:00 by Shadowstreik · 22 comments

Hello. I hope you are well, today. :)

I updated my account username, Shadowstreik. Though, it does not reflect the change on the Nextcloud dash board.

Nextcloud Dashboard

I waited some time in case a job had to run to carry over the change, but it doesn't appear to have performed the change/update.

Could someone take a look, sometime?

Thank you.

Hello. I hope you are well, today. :) I updated my account username, Shadowstreik. Though, it does not reflect the change on the Nextcloud dash board. ![Nextcloud Dashboard](https://i.postimg.cc/fLTMCB0g/Screenshot-from-2023-03-15-14-44-27.png) I waited some time in case a job had to run to carry over the change, but it doesn't appear to have performed the change/update. Could someone take a look, sometime? Thank you.
Owner

Hi,

I'm really sorry, but I'm not sure I understand what I'm supposed to see on the screencapture... Could you be more precise?

Also, what do you mean by "I updated my account username"? Because it is not possible to change a username...

Hi, I'm really sorry, but I'm not sure I understand what I'm supposed to see on the screencapture... Could you be more precise? Also, what do you mean by "I updated my account username"? Because it is not possible to change a username...
Author

I went here and updated user name...

It updates the dashboard here...

... yet did not update. I performed this update a day prior for my video and home accounts and those carried over as expected with no issue.

I went here and updated user name... ![](https://i.postimg.cc/FHQJXHJw/Screenshot-from-2023-03-16-12-03-45.png) It updates the dashboard here... ![](https://i.postimg.cc/TwQzj9zf/Screenshot-from-2023-03-15-14-44-27-1.png) ... yet did not update. I performed this update a day prior for my video and home accounts and those carried over as expected with no issue.
Owner

Hi, @Shadowstreik

We run a couple of tests and it worked just fine. Did you logged out and log in again after changing the screen name?

Hi, @Shadowstreik We run a couple of tests and it worked just fine. Did you logged out and log in again after changing the screen name?
muppeth added this to the 23.03 - March milestone 2023-03-16 17:38:53 +01:00
muppeth added this to the 23.03 - March project 2023-03-16 17:38:56 +01:00
Author

Hi, Fede. I had, immediately afterwards (remembering being told that for Windows at my old work), but it hadn't affected anything. I cleared by browser cache/browsing data and it did not have an affect.

Hi, Fede. I had, immediately afterwards (remembering being told that for Windows at my old work), but it hadn't affected anything. I cleared by browser cache/browsing data and it did not have an affect.
Owner

Weird. I just did it and works as expected (login to user.disroor.org, change screen name, logout of nextcloud and log back in). I will check the logs for your specific user in an hour or so.

Weird. I just did it and works as expected (login to user.disroor.org, change screen name, logout of nextcloud and log back in). I will check the logs for your specific user in an hour or so.
muppeth added the
Nextcloud
label 2023-03-16 21:26:56 +01:00
Owner

I have checked the logs but nothing pops up.
Did you try to login to https://user.disroot.org and update screen name to something random, then login/logout to nextcloud. Also check what your: https://cloud.disroot.org/settings/user shows.

I have checked the logs but nothing pops up. Did you try to login to https://user.disroot.org and update screen name to something random, then login/logout to nextcloud. Also check what your: https://cloud.disroot.org/settings/user shows.
Author

I have gone into user.disroot.org, changed the username to something random and it shows; both with first letter capitalized and lower-case. I change it back to Shadowstreik and it does not show. However, if I change it to a lower-case S, it appears with the lower-case S. It should appear with a capitalized S. I checked my home and video account and both usernames have capital letters that do appear. I'm thinking Shadowstreik should, also. I may only be acting picky; I just like things matching. Shoot me. X)

I have gone into user.disroot.org, changed the username to something random and it shows; both with first letter capitalized and lower-case. I change it back to Shadowstreik and it does not show. However, if I change it to a lower-case S, it appears with the lower-case S. It should appear with a capitalized S. I checked my home and video account and both usernames have capital letters that do appear. I'm thinking Shadowstreik should, also. I may only be acting picky; I just like things matching. Shoot me. X)
muppeth modified the milestone from 23.03 - March to 23.04 - April 2023-04-08 01:40:42 +02:00
muppeth removed this from the 23.03 - March project 2023-04-08 01:40:47 +02:00
muppeth added this to the 23.04 - April project 2023-04-10 12:25:45 +02:00
muppeth modified the milestone from 23.04 - April to 23.05 - May 2023-05-03 08:28:21 +02:00
muppeth removed this from the 23.04 - April project 2023-05-05 22:24:08 +02:00
muppeth added this to the 23.05 - May project 2023-05-05 22:25:22 +02:00
muppeth modified the milestone from 23.05 - May to 23.06 - June 2023-06-07 21:34:45 +02:00
Owner

@muppeth I can confirm this behavior:

  • Log in Nextcloud: Dashboard says "Good morning" without any username -> So it doesn't work
  • Log in user.disroot.org change Screen name to new_screen_name
  • Log out from Nextcloud
  • Log in Nextcloud: Dashboard says "Good morning new_screen_name" -> So it works
  • Log in user.disroot.org change Screen name back to username.
  • Log out from Nextcloud
  • Log in Nextcloud: Dashboard says "Good morning" without any username -> So it doesn't work again

So it is as if the username couldn't be used as a display_name / screen_name.

@muppeth I can confirm this behavior: - Log in Nextcloud: Dashboard says "Good morning" without any username -> So it doesn't work - Log in user.disroot.org change Screen name to new_screen_name - Log out from Nextcloud - Log in Nextcloud: Dashboard says "Good morning new_screen_name" -> So it works - Log in user.disroot.org change Screen name back to username. - Log out from Nextcloud - Log in Nextcloud: Dashboard says "Good morning" without any username -> So it doesn't work again So it is as if the username couldn't be used as a display_name / screen_name.
Owner

Could you repeat the test but instead of changing back to username just change to something else? I wonder if nextcloud has issue with username or if its due to time interval with which it's syncing with ldap.

Could you repeat the test but instead of changing back to username just change to something else? I wonder if nextcloud has issue with username or if its due to time interval with which it's syncing with ldap.
muppeth removed this from the 23.06 - June milestone 2023-06-11 10:48:47 +02:00
muppeth removed this from the 23.05 - May project 2023-06-11 10:49:10 +02:00
Author

I can test this. Would there be anything in particular you would like that could be of assistance?

I can test this. Would there be anything in particular you would like that could be of assistance?
Owner

instead of changing back to username just change to something else

Done: I can confirm that I can set whatever screen name I want, it always work, even if a change a couple of time in a few seconds. Only the username doesn't.

> instead of changing back to username just change to something else Done: I can confirm that I can set whatever screen name I want, it always work, even if a change a couple of time in a few seconds. Only the username doesn't.
Owner

Interesting. nextcloud shouldnt care about it specially that it populates this from SN atributte and not CN or UID. I think we should check this on test instance but for that we need to have both the role and ldap role deployable on test servers.

I will put this on hold for now until we can test.

Interesting. nextcloud shouldnt care about it specially that it populates this from SN atributte and not CN or UID. I think we should check this on test instance but for that we need to have both the role and ldap role deployable on test servers. I will put this on hold for now until we can test.
muppeth added the
on hold
label 2023-06-13 19:12:52 +02:00
Owner

FYI, it is still not working on v27.

FYI, it is still not working on v27.
Author

An additional notation for the new version:

The custom background settings reverted back to Default and that is understandable. Upon returning to a custom background, the username value turns to black. Please see the below screen-captures, below, from my 3 accounts exhibiting this. It did remain white for one of them.

  • It also appears being able to post images in the new version of Forgejo may have been dropped as it is no longer an option.

https://postimg.cc/8sbXvTxQ
https://postimg.cc/Q9hkNT8B
https://postimg.cc/NLtPLKJk
https://postimg.cc/jwc6DS2M
https://postimg.cc/2V8cFPfq
https://postimg.cc/nX913xSL

An additional notation for the new version: The custom background settings reverted back to Default and that is understandable. Upon returning to a custom background, the username value turns to black. Please see the below screen-captures, below, from my 3 accounts exhibiting this. It did remain white for one of them. * It also appears being able to post images in the new version of Forgejo may have been dropped as it is no longer an option. https://postimg.cc/8sbXvTxQ https://postimg.cc/Q9hkNT8B https://postimg.cc/NLtPLKJk https://postimg.cc/jwc6DS2M https://postimg.cc/2V8cFPfq https://postimg.cc/nX913xSL
Owner

concerning the image posting on Forgejo, that is weird coz I can do it.

concerning the image posting on Forgejo, that is weird coz I can do it.
Author

The image link icon is gone, though I could upload, directly. Perhaps I should just do that, going forward.

The image link icon is gone, though I could upload, directly. Perhaps I should just do that, going forward.
Owner

see:
Screenshot 2023-09-26 at 21-09-41 Account username not populating in Nextcloud Dashboard.png

So you drop the file, then click on it to get the img link.

see: ![Screenshot 2023-09-26 at 21-09-41 Account username not populating in Nextcloud Dashboard.png](/attachments/2b20795c-dcb5-4903-b358-956819a35dda) So you drop the file, then click on it to get the img link.
Author

I've reworked my custom backgrounds to make them darker. Doing so rectified the issue. It appears NC saw the brightest piece of the graphic and decided to display the welcome note based on that. So, it's tricky, but can be mitigated.

I've reworked my custom backgrounds to make them darker. Doing so rectified the issue. It appears NC saw the brightest piece of the graphic and decided to display the welcome note based on that. So, it's tricky, but *can* be mitigated.
Owner

well, I still don't see it myself so we can not consider this as fixed ;) I'm letting this issue opened then.

well, I still don't see it myself so we can not consider this as fixed ;) I'm letting this issue opened then.
Author

I'm testing the capitalization issue with the username in the dashboard greeting note. I forgot to after the NC updates to the newer version.

UPDATE: The update didn't fix the capitalization issue.

I'm testing the capitalization issue with the username in the dashboard greeting note. I forgot to after the NC updates to the newer version. UPDATE: The update didn't fix the capitalization issue.
Owner

I've tested again since we did NC migration, the issue is still there.

I've tested again since we did NC migration, the issue is still there.
Owner

Let put it for April milestone. There is number of things on nextcloud I need to work on now that migration is complete.

Let put it for April milestone. There is number of things on nextcloud I need to work on now that migration is complete.
muppeth added this to the 24.04 - April milestone 2024-04-06 14:57:02 +02:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
4 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: Disroot/Disroot-Project#457
No description provided.