diff --git a/install/alpine-nextcloud-install.sh b/install/alpine-nextcloud-install.sh index 336c082e..33f2f988 100644 --- a/install/alpine-nextcloud-install.sh +++ b/install/alpine-nextcloud-install.sh @@ -227,8 +227,6 @@ $CONFIG = array ( 'installed' => false, ); EOF -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 msg_ok "Set up Nextcloud-Config" msg_info "Starting Alpine-Nextcloud" @@ -249,7 +247,10 @@ $STD su nextcloud -s /bin/sh -c "php82 occ maintenance:install \ --database-user '$DB_USER' --database-pass '$DB_PASS' \ --admin-user '$ADMIN_USER' --admin-pass '$ADMIN_PASS' \ --data-dir '/var/lib/nextcloud/data'" -$STD su nextcloud -s /bin/sh -c 'php82 /usr/share/webapps/nextcloud/occ background:cron' +$STD su nextcloud -s /bin/sh -c 'php82 occ background:cron' +$STD su nextcloud -s /bin/sh -c 'php82 occ app:disable dashboard' +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 msg_ok "Run Setup-Wizard" motd_ssh