From 1b1f7bd51fb80d4b27d82565a3750cd4ec6722ca Mon Sep 17 00:00:00 2001 From: tteckster Date: Tue, 20 Dec 2022 23:05:51 -0500 Subject: [PATCH] Update nextcloudpi-install.sh add 0.0.0.0 as a trusted domain --- setup/nextcloudpi-install.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/setup/nextcloudpi-install.sh b/setup/nextcloudpi-install.sh index f45aadbc..a7a03299 100644 --- a/setup/nextcloudpi-install.sh +++ b/setup/nextcloudpi-install.sh @@ -86,6 +86,8 @@ msg_ok "Installed Dependencies" msg_info "Installing NextCloudPi (Patience)" curl -sSL https://raw.githubusercontent.com/nextcloud/nextcloudpi/master/install.sh | bash &>/dev/null +sed -i "s/3 => 'nextcloudpi.lan',/3 => '0.0.0.0',/g" /var/www/nextcloud/config/config.php +sudo service apache2 restart msg_ok "Installed NextCloudPi" PASS=$(grep -w "root" /etc/shadow | cut -b6)