mumble-voip / mumble-docker

The official Mumble Docker image
BSD 3-Clause "New" or "Revised" License
146 stars 34 forks source link

Add compatbility support for old murmur.sqlite db #20

Closed restitux closed 2 years ago

restitux commented 2 years ago

Problem: Since mumble_server_config.ini is recreated every time, users of the old database filename murmur.sqlite will have their existing database ignored by the new default configuration setting.

Solution: If the old murmur.sqlite database file exists in ${DATA_DIR}, use that as the database file. This should cleanly support users of the old database.

Alternatives: We could also migrate users from the old database filename to the new. (i.e.mv "$OLD_DB_FILE" "${DATA_DIR}/mumble-server.sqlite")