From 773b97a8bc4f499154cfb94ef95dab198aa42a5c Mon Sep 17 00:00:00 2001 From: Stefan Pejcic Date: Fri, 30 Aug 2024 20:28:15 +0200 Subject: [PATCH] Update UPDATE.sh --- version/0.2.7/UPDATE.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/version/0.2.7/UPDATE.sh b/version/0.2.7/UPDATE.sh index a31c26ce..dbad9ad4 100644 --- a/version/0.2.7/UPDATE.sh +++ b/version/0.2.7/UPDATE.sh @@ -116,6 +116,9 @@ FUNCTIONS=( # show to user what was done and how to restore previous version if needed! post_install_message + # must be at the end, otherwise breaks install process from gui + service admin restart + ) TOTAL_STEPS=${#FUNCTIONS[@]} @@ -285,9 +288,7 @@ download_new_admin() { pip3 install --force-reinstall zope.event || pip3 install --force-reinstall zope.event --break-system-packages mv /etc/openpanel/openadmin/config/terms /etc/openpanel/openadmin/config/terms_accepted_on_update - - service admin restart - + }