From 7af2bda0395d65c3c880dac252c1be4c68f1733c Mon Sep 17 00:00:00 2001 From: tteckster Date: Fri, 29 Sep 2023 13:58:45 -0400 Subject: [PATCH] Update alpine-nextcloud-install.sh fix error in logs --- install/alpine-nextcloud-install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install/alpine-nextcloud-install.sh b/install/alpine-nextcloud-install.sh index 01cfa664..83e029be 100644 --- a/install/alpine-nextcloud-install.sh +++ b/install/alpine-nextcloud-install.sh @@ -227,7 +227,7 @@ $STD su nextcloud -s /bin/sh -c "php82 occ maintenance:install \ --admin-user '$ADMIN_USER' --admin-pass '$ADMIN_PASS' \ --data-dir '/var/lib/nextcloud/data'" $STD su nextcloud -s /bin/sh -c 'php82 occ background:cron' -#$STD su nextcloud -s /bin/sh -c 'php82 occ app:disable serverinfo' +rm -rf /usr/share/webapps/nextcloud/apps/serverinfo IP4=$(/sbin/ip -o -4 addr list eth0 | awk '{print $4}' | cut -d/ -f1) sed -i "/0 => \'localhost\',/a \ \1 => '$IP4'," /usr/share/webapps/nextcloud/config/config.php su nextcloud -s /bin/sh -c 'php82 -f /usr/share/webapps/nextcloud/cron.php'