Skip to content
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

Mumble not migrate conf file after user rename #6419

Closed
HumanG33k opened this issue May 20, 2024 · 4 comments
Closed

Mumble not migrate conf file after user rename #6419

HumanG33k opened this issue May 20, 2024 · 4 comments
Labels
bug A bug (error) in the software needs-more-input triage This issue is waiting to be triaged by one of the project members

Comments

@HumanG33k
Copy link

Description

I rename my user on my windows device.

In order to keep things order i also rename the home directory. oldname => newname

But when i try to start mumble it is not able to detect curent newname is diferent from C:/Users/oldname/AppData/Roaming/Mumble/mumble.sqlite.

As the path contain C:/Users/aUsername/ and current username is not aUsername we can safely deduce username has change. Instead of asking for a creation of a new database file at old path an option to migrate the configuration path to the new auto detect one if available should be better.

Steps to reproduce

  1. change OS (windows in my case) username
  2. change user home directory name (change user home dir in regedit, create new admin user, log with it, change dir name, relog with old user, check everything is ok)
  3. with modify login user start mumble

Mumble version

last one

Mumble component

Client

OS

Windows

Reproducible?

Haven't tried

Additional information

No response

Relevant log output

No response

Screenshots

No response

@HumanG33k HumanG33k added bug A bug (error) in the software triage This issue is waiting to be triaged by one of the project members labels May 20, 2024
@Hartmnt
Copy link
Member

Hartmnt commented May 20, 2024

Hi, what happens when you enter %AppData% into the Windows Explorer path field? Does it lead you to C:/Users/oldname/AppData or C:/Users/newname/AppData?

@HumanG33k
Copy link
Author

HumanG33k commented May 25, 2024

@Hartmnt newname

The path is not /AppData only but /AppData/Roaming but I guess we don't care about that part.
I asking myself is there is a way to modify mumble conf in order to start it again without creating the path (wich contain the old user name)

@HumanG33k
Copy link
Author

i just try to choose to create the path (containing the old user name) and the app start well and the path / database are not create, and mumble start with existing server and stuff so I guess it fallback to the new user. I think message nor behavior had to be modify to not be so scary (where are my data, will i loose something, will it mess up with my directories)

@Hartmnt
Copy link
Member

Hartmnt commented May 30, 2024

@HumanG33k It is quite hard for me to understand what you are saying, but it seems like the issue has been resolved by "choosing to create the path". I think that some message you were getting was misleading and suggesting you were about to lose data? So I am happy, that nothing bad happened.
In any case, I do not think it is necessary for us to catch the case where Windows users rename their user account and change the home directory, as long as we adhere to %AppData% (which should be automatically done by Qt)
If you have any further issues with this, feel free to comment here again and add some more context. Maybe even attach some screenshots (even if the text is not in English), so that we know what part of Mumble is causing you trouble.

@Hartmnt Hartmnt closed this as completed May 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug A bug (error) in the software needs-more-input triage This issue is waiting to be triaged by one of the project members
Projects
None yet
Development

No branches or pull requests

3 participants