Change Username in the nextcloud admin panel

Support intro

Sorry to hear you’re facing problems :slightly_frowning_face:

help.nextcloud.com is for home/non-enterprise users. If you’re running a business, paid support can be accessed via portal.nextcloud.com where we can ensure your business keeps running smoothly.

In order to help you as quickly as possible, before clicking Create Topic please provide as much of the below as you can. Feel free to use a pastebin service for logs, otherwise either indent short log examples with four spaces:

example

Or for longer, use three backticks above and below the code snippet:

longer
example
here

Some or all of the below information will be requested if it isn’t supplied; for fastest response please provide as much as you can :heart:

Nextcloud version (eg, 20.0.5): 20.0.9
Operating system and version (eg, Ubuntu 20.04): Linux 5.4.0-72-generic #80-Ubuntu SMP Mon Apr 12 17:35:00 UTC 2021 x86_64
Apache or nginx version (eg, Apache 2.4.25): nginx/1.18.0 (fpm-fcgi)
PHP version (eg, 7.4): 7.4.16

The issue you are facing:

Hello, i have a nexcloud server running for years now. I am trans and i want to change my username. It is the one used for login and in the linux desktop app (idk, why it is not using the display name). I do not want to see my deadname anymore on all of this. How can i change my username (the name used for login and so on)?

Is this the first time you’ve seen this error? (Y/N):

Y

Steps to replicate it:

  1. have a name
  2. be trans and chose a new name
  3. trying to change the usernamename in nextcloud

It’s impossible to change the login name by design, only the displayed “long name” can be changed in the personal settings. If you want to change the login name, you need to create a new account, transfer all data to this account as it is described in the administrator guide and delete the old account afterwards.