From 5b8a1a784675505254fe1b6669d73ec8579291ed Mon Sep 17 00:00:00 2001 From: Benedikt Tissot Date: Mon, 14 Jun 2021 19:35:46 +0200 Subject: [PATCH] FIX: upgrade and restore had the user not set --- scripts/restore | 2 ++ scripts/upgrade | 1 + 2 files changed, 3 insertions(+) diff --git a/scripts/restore b/scripts/restore index acd423c..9ae5771 100755 --- a/scripts/restore +++ b/scripts/restore @@ -28,6 +28,8 @@ ynh_script_progression --message="Loading installation settings..." --time --wei app=$YNH_APP_INSTANCE_NAME +mautrix_bridge_user=$app + domain=$(ynh_app_setting_get --app=$app --key=domain) final_path=$(ynh_app_setting_get --app=$app --key=final_path) mautrix_bridge_db_name=$(ynh_app_setting_get --app=$app --key=mautrix_bridge_db_name) diff --git a/scripts/upgrade b/scripts/upgrade index e622585..7ebef33 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -23,6 +23,7 @@ botname=$(ynh_app_setting_get --app=$app --key=botname) synapse_instance=$(ynh_app_setting_get --app=$app --key=synapse_instance) app_service_registration_path=$(ynh_app_setting_get --app=$app --key=app_service_registration_path) encryption=$(ynh_app_setting_get --app=$app --key=encryption) +mautrix_bridge_user=$app mautrix_bridge_db_name=$(ynh_app_setting_get --app=$app --key=mautrix_bridge_db_name) botadmin=$(ynh_app_setting_get --app=$app --key=botadmin) botusers=$(ynh_app_setting_get --app=$app --key=botusers)