@@ -26,24 +26,10 @@ if [ ! -f "/var/www/nextcloud/config/config.php" ]; then
|
||||
--admin-pass "$ADMIN_PASS" \
|
||||
--data-dir "/var/lib/nextcloud"
|
||||
|
||||
occ user:delete admin
|
||||
|
||||
occ app:disable \
|
||||
app_api \
|
||||
contactsinteraction \
|
||||
dashboard \
|
||||
federation \
|
||||
firstrunwizard \
|
||||
photos \
|
||||
recommendations \
|
||||
sharebymail \
|
||||
support \
|
||||
survey_client \
|
||||
user_status \
|
||||
weather_status
|
||||
|
||||
occ app:install \
|
||||
oidc_login
|
||||
if [ -f /etc/nextcloud/post-setup.sh ]; then
|
||||
# shellcheck disable=SC1091
|
||||
. /etc/nextcloud/post-setup.sh
|
||||
fi
|
||||
fi
|
||||
|
||||
occ upgrade
|
||||
@@ -58,8 +44,6 @@ occ maintenance:repair --include-expensive
|
||||
occ background:cron
|
||||
occ maintenance:update:htaccess
|
||||
|
||||
[ -n "${EXTRA_INIT:-}" ] && eval "$EXTRA_INIT"
|
||||
|
||||
cron
|
||||
|
||||
PHPRC="$(dirname "$(readlink -f "$(which php)")")/../lib/php.ini"
|
||||
|
Reference in New Issue
Block a user