YunoHost-Apps / mattermost_ynh

Mattermost package for YunoHost
http://www.mattermost.org
GNU General Public License v3.0
33 stars 18 forks source link

Mysql connection string is not updated during restore #289

Open kemenaran opened 3 years ago

kemenaran commented 3 years ago

Installations having a customized mysqluser settings will fail to execute the restore script.

This is because the mysqluser setting is ignored during the restore (which is fine, the DB gets re-created anyway), but the backuped config.json file is not updated with the new DB settings.

We should find a way to update the SQL connection string in the config.json during restore.

(See #287)