Skip to content

Commit

Permalink
Merge pull request Uberspace#1188 from EV21/patch-1
Browse files Browse the repository at this point in the history
[Nextcloud] remove maintenance mode from update script
  • Loading branch information
noave authored Jan 27, 2022
2 parents 6df3ff2 + aae5b1e commit 0f6d971
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions source/guide_nextcloud.rst
Original file line number Diff line number Diff line change
Expand Up @@ -372,17 +372,13 @@ Create ``~/bin/nextcloud-update`` with the following content:
## Deactivate NC-updater Backups with --no-backup (works from 19.0.4, 18.0.10 and 17.0.10)
php ~/html/updater/updater.phar -vv --no-backup --no-interaction
## re-enable maintenance mode for occ commands
php ~/html/occ maintenance:mode --on
## database optimisations
php ~/html/occ db:add-missing-primary-keys --no-interaction
php ~/html/occ db:add-missing-columns --no-interaction
php ~/html/occ db:add-missing-indices --no-interaction
php ~/html/occ db:convert-filecache-bigint --no-interaction
php ~/html/occ app:update --all
php ~/html/occ maintenance:mode --off
/usr/sbin/restorecon -R ~/html
## If you have set up the notify_push service uncomment the following line by removing the #
Expand Down

0 comments on commit 0f6d971

Please sign in to comment.