diff --git a/src/freedombone b/src/freedombone index 7fb39bd0..5f087c9b 100755 --- a/src/freedombone +++ b/src/freedombone @@ -9989,7 +9989,7 @@ function install_media_server { fi # database authentication - sed -i "sqlalchemy.url = mysql://mediadrop:${MEDIA_SERVER_ADMIN_PASSWORD}@localhost/mediadrop?charset=utf8&use_unicode=0" deployment.ini + sed -i "s|sqlalchemy.url.*|sqlalchemy.url = mysql://mediadrop:${MEDIA_SERVER_ADMIN_PASSWORD}@localhost/mediadrop?charset=utf8&use_unicode=0|g" deployment.ini # faster file serve sed -i 's|files_serve_method.*|files_serve_method = nginx_redirect|g' deployment.ini