From 27c3bbc1c3c371312f68f2a6a5c89e3bf5f46e00 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Josu=C3=A9=20Tille?= Date: Fri, 27 Mar 2020 14:50:25 +0100 Subject: [PATCH] Fix migration from old install --- scripts/upgrade | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/upgrade b/scripts/upgrade index f028d50..52911aa 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -71,6 +71,8 @@ if [ $final_path == "/var/www/$app" ]; then ynh_system_user_create --username $seafile_user --home_dir $final_path ynh_app_setting_set --app $app --key final_path --value $final_path test -e /var/log/seafile && rm /var/log/$app + echo '/home/yunohost.app/seafile-data' > /opt/yunohost/seafile/ccnet/seafile.ini + mv /opt/yunohost/$app/seafile-data/* /home/yunohost.app/seafile-data/ ln -s $final_path/logs /var/log/seafile set_permission fi