s3lph
0e92baf162
Some checks failed
/ nextcloud-29 (push) Successful in 12m9s
/ nextcloud-29-app-calendar (push) Successful in 2m25s
/ nextcloud-29-app-contacts (push) Successful in 2m9s
/ nextcloud-29-app-deck (push) Successful in 2m18s
/ nextcloud-29-app-forms (push) Successful in 2m23s
/ nextcloud-29-app-gpoddersync (push) Successful in 53s
/ nextcloud-29-app-gpxpod (push) Successful in 5m6s
/ nextcloud-29-app-groupfolders (push) Successful in 1m33s
/ nextcloud-29-app-polls (push) Successful in 2m25s
/ nextcloud-29-app-previewgenerator (push) Successful in 1m2s
/ nextcloud-29-app-mail (push) Successful in 5m7s
/ nextcloud-29-app-memories (push) Successful in 3m26s
/ nextcloud-29-app-news (push) Successful in 2m58s
/ nextcloud-29-app-nextpod (push) Successful in 1m18s
/ nextcloud-29-app-notes (push) Successful in 2m23s
/ nextcloud-29-app-notify-push (push) Successful in 2m51s
/ nextcloud-29-app-richdocuments (push) Successful in 3m5s
/ nextcloud-29-app-richdocumentscode (push) Successful in 4m20s
/ nextcloud-29-app-talk (push) Successful in 4m52s
/ nextcloud-29-app-tasks (push) Successful in 1m26s
/ nextcloud-29-app-twofactor-webauthn (push) Successful in 1m25s
/ nextcloud-29-app-user-oidc (push) Successful in 1m5s
/ nextcloud-30 (push) Successful in 18m5s
/ nextcloud-30-app-calendar (push) Successful in 1m16s
/ nextcloud-30-app-contacts (push) Successful in 1m3s
/ nextcloud-30-app-deck (push) Successful in 1m11s
/ nextcloud-30-app-forms (push) Successful in 1m6s
/ nextcloud-30-app-gpoddersync (push) Successful in 49s
/ nextcloud-30-app-gpxpod (push) Successful in 2m19s
/ nextcloud-30-app-groupfolders (push) Successful in 1m11s
/ nextcloud-30-app-polls (push) Successful in 1m16s
/ nextcloud-30-app-previewgenerator (push) Successful in 50s
/ nextcloud-30-app-mail (push) Successful in 4m12s
/ nextcloud-30-app-memories (push) Successful in 4m34s
/ nextcloud-30-app-news (push) Failing after 29s
/ nextcloud-30-app-nextpod (push) Successful in 1m13s
/ nextcloud-30-app-notes (push) Successful in 1m13s
/ nextcloud-30-app-notify-push (push) Successful in 3m2s
/ nextcloud-30-app-richdocuments (push) Successful in 1m23s
/ nextcloud-30-app-richdocumentscode (push) Successful in 6m21s
/ nextcloud-30-app-talk (push) Successful in 4m25s
/ nextcloud-30-app-tasks (push) Successful in 1m13s
/ nextcloud-30-app-twofactor-webauthn (push) Successful in 2m11s
/ nextcloud-30-app-user-oidc (push) Successful in 1m5s
15 lines
431 B
Bash
Executable file
15 lines
431 B
Bash
Executable file
#!/bin/bash
|
|
|
|
set -e
|
|
|
|
if [[ "$1" == "configure" ]]; then
|
|
|
|
deb-systemd-helper enable nextcloud-cron.timer
|
|
|
|
# Only run occ upgrade if nextcloud has been configured
|
|
if [[ -z "$(grep installed /var/lib/nextcloud/webroot/config/config.php | grep false)" ]]; then
|
|
sudo -u www-data php /var/lib/nextcloud/webroot/occ upgrade
|
|
sudo -u www-data php /var/lib/nextcloud/webroot/occ maintenance:mode --off
|
|
fi
|
|
|
|
fi
|