From cf3b60296205d60c2f03d7e2e508ae5e874c75df Mon Sep 17 00:00:00 2001 From: Daniel Hansson Date: Thu, 20 Jan 2022 07:46:17 +0100 Subject: [PATCH] trusted domains are needed before the update happens --- nextcloud-startup-script.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/nextcloud-startup-script.sh b/nextcloud-startup-script.sh index 89cd55f9..6f7a7219 100644 --- a/nextcloud-startup-script.sh +++ b/nextcloud-startup-script.sh @@ -543,6 +543,9 @@ mesg n ROOTNEWPROFILE +# Set trusted domain in config.php +run_script NETWORK trusted + # Upgrade system print_text_in_color "$ICyan" "System will now upgrade..." bash $SCRIPTS/update.sh minor @@ -551,9 +554,6 @@ bash $SCRIPTS/update.sh minor apt-get autoremove -y apt-get autoclean -# Set trusted domain in config.php -run_script NETWORK trusted - # Remove preference for IPv4 rm -f /etc/apt/apt.conf.d/99force-ipv4 apt-get update