From 0737d04153767c2ab39ff30923ae81afa84d551a Mon Sep 17 00:00:00 2001 From: Gredin67 Date: Wed, 9 Mar 2022 00:01:28 +0100 Subject: [PATCH] Update restore --- scripts/restore | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/restore b/scripts/restore index ca83d90..68052d4 100755 --- a/scripts/restore +++ b/scripts/restore @@ -110,7 +110,8 @@ ynh_psql_execute_file_as_root --file="${YNH_CWD}/dump.sql" --database="$mautrix_ ynh_restore_file --origin_path="/var/log/$app" python3 -m venv $final_path - +export HOME=$final_path +$final_path/bin/pip3 install --upgrade pip setuptools wheel #================================================= # REGISTER SYNAPSE APP-SERVICE