Can I export my Murmur channel/ACL settings?

How to do...

Can I export my Murmur channel/ACL settings?

Postby Yoten » Thu Jun 18, 2015 10:33 pm

I'm running Murmur on Debian, and both it and the OS's versions are getting pretty old. I plan on doing a full re-install of the operating system, but I don't want to have to set up my channel/ACL settings all over again if possible.

Is there a way I can back up or export these settings and easily re-apply them to a fresh installation? They're stored in the SQLite database as far as I know, which doesn't appear to be accessible like the INI file is.
Yoten
 
Posts: 3
Joined: Thu Jun 18, 2015 10:19 pm

Re: Can I export my Murmur channel/ACL settings?

Postby fwaggle » Fri Jun 19, 2015 3:39 am

Yoten wrote:Is there a way I can back up or export these settings and easily re-apply them to a fresh installation? They're stored in the SQLite database as far as I know, which doesn't appear to be accessible like the INI file is.


The .ini file should point to a database file, simply stop the server, copy the file somewhere, then restart it.

You can do live copies (I do it all the time) but it's not guaranteed to work because of how sqlite actually works so if you're just taking the one backup, better to stop the server temporarily.
Full disclosure: I run a semi-commercial Mumble host, and my opinions do not reflect the opinions of the Mumble project.
Avatar is stolen from here
User avatar
fwaggle
Team member
Team member
 
Posts: 212
Joined: Tue Oct 06, 2009 10:40 pm
Location: Australia

Re: Can I export my Murmur channel/ACL settings?

Postby Yoten » Fri Jun 19, 2015 5:38 am

Yeah, I wasn't sure if the database structure had changed at all from v1.2.5 to v1.2.9 making the old file incompatible -- but it turns out it works just fine.

Thanks!
Yoten
 
Posts: 3
Joined: Thu Jun 18, 2015 10:19 pm

Re: Can I export my Murmur channel/ACL settings?

Postby fwaggle » Fri Jun 19, 2015 6:09 am

Yoten wrote:Yeah, I wasn't sure if the database structure had changed at all from v1.2.5 to v1.2.9 making the old file incompatible -- but it turns out it works just fine.

Thanks!


For reference, the database structure has changed, but Murmur will cope just fine and will upgrade the database without a hitch the vast majority of the time (I can't guarantee there's no bugs).

Probably don't want to try go backwards though.
Full disclosure: I run a semi-commercial Mumble host, and my opinions do not reflect the opinions of the Mumble project.
Avatar is stolen from here
User avatar
fwaggle
Team member
Team member
 
Posts: 212
Joined: Tue Oct 06, 2009 10:40 pm
Location: Australia

Re: Can I export my Murmur channel/ACL settings?

Postby Yoten » Fri Jun 19, 2015 1:28 pm

fwaggle wrote:For reference, the database structure has changed, but Murmur will cope just fine and will upgrade the database without a hitch the vast majority of the time (I can't guarantee there's no bugs).

Probably don't want to try go backwards though.


Ah, I see.

And I just woke up this morning to reports from my users that many of them can't log in to the server anymore (probably 30% of them). The server logs show "Rejected connection from <ip>:<port>: Invalid server password" for each failed login attempt, but:

  • These users had the correct password (I used the same one as before).
  • These users were NOT registered, so there shouldn't have been a certificate conflict.

I "fixed" it by setting certrequired = false in the INI, but I wish I didn't have to do that. I had similar problems back when I upgraded from 1.2.2 to 1.2.5, but people were registered then and just had to get their old registrations cleared out -- it was precisely because of that incident that they stopped registering at all. But I'm certain that most of them still had certificates in general. One even tried re-creating his in the certificate wizard and it still wouldn't work.

Was there something I could have done to prevent this?
Yoten
 
Posts: 3
Joined: Thu Jun 18, 2015 10:19 pm


Return to Usage

Who is online

Users browsing this forum: No registered users and 6 guests

cron