mumble-voip / mumble

Mumble is an open-source, low-latency, high quality voice chat software.
https://www.mumble.info
Other
6.41k stars 1.12k forks source link

Inconsistent Mumble-Server behavior regarding the murmur.ini file #5848

Closed NiallEHunt closed 1 year ago

NiallEHunt commented 2 years ago

Description

When installing Mumble-Server with the Windows installer, the murmur.ini settings file is not created/copied to the directory that the server is looking for. With the default installation settings murmur is looking in C:/Users/<user>/AppData/Local/Mumble/Murmur for the murmur.ini file. When navigating to this directory, you can see that no Mumble or Murmur folders were created and the murmur.ini file is nowhere to be found.

Additionally, the Wiki pages all mention that the murmur.ini file is located in C:/Program Files/Mumble. There is no murmur.ini file present in this directory either.

Work around:

  1. Navigate to C:/Users/<user>/AppData/Local
  2. Create a folder called Mumble and navigate into that folder
  3. Create a folder called Murmur and navigate into that folder
  4. Create a file called murmur.ini
  5. Copy the contents of the murmur.ini file from github (link to file) to your newly created file
  6. Edit any settings you want for your server

Steps to reproduce

  1. Install Mumble-Server using the Windows MSI installer
  2. Use the default installation settings
  3. Run Mumble-Server and open the logs to see where it is trying to read the settings from

Mumble version

1.4.274

Mumble component

Server

OS

Windows

Reproducible?

Yes

Additional information

Reproducible on Windows 10 and Windows 11. Only tested with the x64 installer.

Relevant log output

<X>2022-08-31 22:18:07.175 SSL: OpenSSL version is 'OpenSSL 1.1.1k  25 Mar 2021'
<W>2022-08-31 22:18:07.175 Initializing settings from C:/Users/Niall/AppData/Local/Mumble/Murmur/murmur.ini (basepath C:/Users/Niall/AppData/Local/Mumble/Murmur)
<W>2022-08-31 22:18:07.401 MetaParams: TLS cipher preference is "TLS_AES_256_GCM_SHA384:TLS_CHACHA20_POLY1305_SHA256:TLS_AES_128_GCM_SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:DHE-RSA-AES256-GCM-SHA384:DHE-RSA-AES128-GCM-SHA256:DHE-RSA-AES256-SHA:DHE-RSA-AES128-SHA:AES256-SHA:AES128-SHA"
<W>2022-08-31 22:18:07.410 SSL: CA certificate filter applied. Filtered size: 102, original size: 102
<W>2022-08-31 22:18:07.410 ServerDB: Opened SQLite database C:/Users/Niall/murmur.sqlite
<W>2022-08-31 22:18:07.410 ServerDB: Using SQLite's default rollback journal.
<W>2022-08-31 22:18:07.410 Murmur 1.4.274 (1.4.274) running on Windows: Windows 10 Home 2009 22000.675 [x64]: Booting servers
<W>2022-08-31 22:18:07.426 1 => Server listening on 0.0.0.0:64738
<W>2022-08-31 22:18:07.646 1 => Registering zeroconf service...
<W>2022-08-31 22:18:07.646 1 => Not registering server as public

Screenshots

No response

NiallEHunt commented 2 years ago

Presumably this is related to PR #4637? The ini file was removed from the installer as it was overwriting user's existing settings if I understand correctly

Krzmbrzl commented 2 years ago

Exactly - this is intended behavior

Krzmbrzl commented 2 years ago

See also #5694 and #5572

NiallEHunt commented 2 years ago

Interesting, thanks for the info and apologies for the duplicate. Can anyone update the Wiki? It seems this would be beneficial to mention there.

Krzmbrzl commented 2 years ago

Which page are your referring to specifically?

NiallEHunt commented 2 years ago

In the Murmurguide on the wiki, specifically in the Preparations->Installation section and the Set Up Server->Configuring ini File section and in the Installing Mumble page on the wiki, specifically in Windows->Mumble-Server (aka Murmur): :)

NiallEHunt commented 2 years ago

Would it make sense to mention it there?

Krzmbrzl commented 2 years ago

Well, looking at these pages, they are just completely outdated. So much so, that I don't think correcting information about the ini file actually makes a difference... Someone would have to take the time to completely rewrite these pages

NiallEHunt commented 2 years ago

That is very fair. That makes a lot of sense to me. I see there is an ongoing effort to migrate the pages to the website as well. Thanks for the info and thanks for looking into this :)

DesolatePsyche commented 2 years ago

Link doesn't lead anymore to murmur.ini. Says page not found. So how I customize my server port and such (bitrates... passwords, names, manage authentication) with newer mumble server versions lol?

Krzmbrzl commented 2 years ago

https://wiki.mumble.info/wiki/Murmur.ini

moh21amed commented 2 years ago

link to ini file is not working all online tutorials are outdated now no GUI for setting change I can't even change the server password or anything hours lost trying all suggested solutions worst experience ever

Krzmbrzl commented 2 years ago

Step 1: Be able to use a text editor Step 2: Create INI file with desired contents Step 3: Start the server and tell it to use your initial file

Easiest fix ever

davidebeatrici commented 2 years ago

https://github.com/mumble-voip/mumble/blob/master/auxiliary_files/mumble-server.ini

UBFI commented 1 year ago

This is really stupid. The windows version of the server literally says that it loaded settings from the INI file but it doesnt exist. image There is no Mumble folder in my local appdata. This needs to be fixed don't just call this a feature. There is no note no warning no error, nothing.

Hartmnt commented 1 year ago

This is really stupid. The windows version of the server literally says that it loaded settings from the INI file but it doesnt exist. image There is no Mumble folder in my local appdata. This needs to be fixed don't just call this a feature. There is no note no warning no error, nothing.

I agree. The server logging that it is reading the INI file, when it is in fact not, seems like a valid bug to me. This is also independent of shipping an INI file by default, which the other linked issues are talking about. Ideally, the server should log that it did not find any INI file and is using default values or something.

Krzmbrzl commented 1 year ago

Please use a separate issue for this.