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")
Problem: Since
mumble_server_config.ini
is recreated every time, users of the old database filenamemurmur.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"
)