From 51b27193903e708c195c42316ac842ad764f8b19 Mon Sep 17 00:00:00 2001 From: Aris Date: Fri, 10 Mar 2023 05:09:01 +0100 Subject: [PATCH] Remove `migrate_to_db` Executing this at every upgrade erase _all custom config_ of Pleroma made with **Admin FE** ``` ynh_exec_warn_less ynh_exec_as $app -s $SHELL -lc "$final_path/live/bin/pleroma_ctl config migrate_to_db" ``` --- scripts/upgrade | 8 -------- 1 file changed, 8 deletions(-) diff --git a/scripts/upgrade b/scripts/upgrade index 434d3e5..d7c3df7 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -289,14 +289,6 @@ ynh_script_progression --message="Reloading NGINX web server..." --weight=1 ynh_systemd_action --service_name=nginx --action=reload -#================================================= -# POST INSTALL -#================================================= - -# Correct path to 'static dir' in DB -# This must be done when Pleroma is running (i.e. after install/upgrade and start) -ynh_exec_warn_less ynh_exec_as $app -s $SHELL -lc "$final_path/live/bin/pleroma_ctl config migrate_to_db" - #================================================= # END OF SCRIPT #=================================================