# Change username? Is it possible?

**URL:** <https://help.nextcloud.com/t/change-username-is-it-possible/106759>\
**Category:** ℹ️ Support\
**Created:** [February 4, 2021, 9:23am UTC](https://help.nextcloud.com/t/change-username-is-it-possible/106759 "2021-02-04T09:23:59Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![wisdomlight](https://help.nextcloud.com/user_avatar/help.nextcloud.com/wisdomlight/32/12911_2.png) [@wisdomlight](https://help.nextcloud.com/u/wisdomlight)\
**Post date:** [February 4, 2021, 9:23am UTC](https://help.nextcloud.com/t/change-username-is-it-possible/106759/1 "2021-02-04T09:23:59Z")

</div>

I created a number of usernames with space in the middle  
like this   
This creates a problem - they cannot be mentioned in comments, they come up as usernotknown  
Can this be fixed?  
Any other work around this issue?  
Thank you

---

<div class="post-metadata">

**Author:** ![OliverV](https://help.nextcloud.com/user_avatar/help.nextcloud.com/oliverv/32/5741_2.png) [@OliverV](https://help.nextcloud.com/u/OliverV)\
**Post date:** [February 4, 2021, 6:07pm UTC](https://help.nextcloud.com/t/change-username-is-it-possible/106759/2 "2021-02-04T18:07:53Z")

</div>

> [@wisdomlight](#):
>
> like this

Like what?  
No backgroun info on setup, any logs showing errors,  
Created users how and where?

---

<div class="post-metadata">

**Author:** ![szaimen](https://help.nextcloud.com/user_avatar/help.nextcloud.com/szaimen/32/63019_2.png) [@szaimen](https://help.nextcloud.com/u/szaimen)\
**Post date:** [February 4, 2021, 6:15pm UTC](https://help.nextcloud.com/t/change-username-is-it-possible/106759/3 "2021-02-04T18:15:21Z")

</div>

> <https://github.com/nextcloud/server/issues/21313>
>
> How to use GitHub
> Please use the 👍 reaction to show that you are interested into the same feature.
> Please don't comment if...

> <https://github.com/nextcloud/server/issues/5488>
>
> Hi,
> I would like to rename/change my login name and we can't do that for now on Nextcloud.
> Can you support it?
> For now:
> Each...

---

<div class="post-metadata">

**Author:** ![wisdomlight](https://help.nextcloud.com/user_avatar/help.nextcloud.com/wisdomlight/32/12911_2.png) [@wisdomlight](https://help.nextcloud.com/u/wisdomlight)\
**Post date:** [February 4, 2021, 6:33pm UTC](https://help.nextcloud.com/t/change-username-is-it-possible/106759/4 "2021-02-04T18:33:03Z")

</div>

Yeah - I thought I had a link  
Anyhow - it turns out that what I want is not possible.  
Here’s [a link](https://help.nextcloud.com/t/suggestion-re-username/106814) to a suggestion I made about this topic in the Development Channel of this forum

It gives a different link to migrating users and recreating them.

---

<div class="post-metadata">

**Author:** ![wisdomlight](https://help.nextcloud.com/user_avatar/help.nextcloud.com/wisdomlight/32/12911_2.png) [@wisdomlight](https://help.nextcloud.com/u/wisdomlight)\
**Post date:** [February 4, 2021, 6:38pm UTC](https://help.nextcloud.com/t/change-username-is-it-possible/106759/5 "2021-02-04T18:38:05Z")

</div>

Thank you - yes its helpful in hindsight.  
I suggested in the Development channel that the registartion process does not accept a username with space in the middle.  
Cheers

---

<div class="post-metadata">

**Author:** ![wisdomlight](https://help.nextcloud.com/user_avatar/help.nextcloud.com/wisdomlight/32/12911_2.png) [@wisdomlight](https://help.nextcloud.com/u/wisdomlight)\
**Post date:** [February 4, 2021, 7:29pm UTC](https://help.nextcloud.com/t/change-username-is-it-possible/106759/6 "2021-02-04T19:29:13Z")

</div>

Hmm I just wouldn’t know how to collect the log files.  
where from .  
apologies for that

---

<div class="post-metadata">

**Author:** ![OliverV](https://help.nextcloud.com/user_avatar/help.nextcloud.com/oliverv/32/5741_2.png) [@OliverV](https://help.nextcloud.com/u/OliverV)\
**Post date:** [February 4, 2021, 7:35pm UTC](https://help.nextcloud.com/t/change-username-is-it-possible/106759/7 "2021-02-04T19:35:44Z")

</div>

Anyway, you have answer to your question: changing username is not supported by NC  
Only workaround I can think of is : create a newuser, cp all nc/data/olduser/files to newuser/files. run fix-permissions an scan --all. If all files are okay, then can remove olduser and olduser/files.

---

<div class="post-metadata">

**Author:** ![wisdomlight](https://help.nextcloud.com/user_avatar/help.nextcloud.com/wisdomlight/32/12911_2.png) [@wisdomlight](https://help.nextcloud.com/u/wisdomlight)\
**Post date:** [February 4, 2021, 7:40pm UTC](https://help.nextcloud.com/t/change-username-is-it-possible/106759/8 "2021-02-04T19:40:35Z")

</div>

ok thank you  
I appreciate your help

just one more little question - where is nc folder located??  
is it in var or in home??  
I thought it was in var/www/nextcloud/data/  
I can only see the ncp dir  
but I can’t find the users dirs

---

<div class="post-metadata">

**Author:** ![OliverV](https://help.nextcloud.com/user_avatar/help.nextcloud.com/oliverv/32/5741_2.png) [@OliverV](https://help.nextcloud.com/u/OliverV)\
**Post date:** [February 5, 2021, 3:59pm UTC](https://help.nextcloud.com/t/change-username-is-it-possible/106759/9 "2021-02-05T15:59:38Z")

</div>

The path to NC’s datadir is set in /var/www/nextcloud/config/config.php

---

<div class="post-metadata">

**Author:** ![dolphinscorp](https://help.nextcloud.com/letter_avatar/dolphinscorp/32/5_5575768a8748004e209b776fc1b2916d.png) [@dolphinscorp](https://help.nextcloud.com/u/dolphinscorp)\
**Post date:** [December 29, 2022, 10:05am UTC](https://help.nextcloud.com/t/change-username-is-it-possible/106759/10 "2022-12-29T10:05:39Z")

</div>

What about talk chat history if we go through this option?

I tested this option, no chat history there

---

<div class="post-metadata">

**Author:** ![wwe](https://help.nextcloud.com/user_avatar/help.nextcloud.com/wwe/32/72963_2.png) [@wwe](https://help.nextcloud.com/u/wwe)\
**Post date:** [December 14, 2024, 3:53pm UTC](https://help.nextcloud.com/t/change-username-is-it-possible/106759/11 "2024-12-14T15:53:02Z")

</div>


