Browse Source

Revert "Plan required maintenance operations after upgrade"

This reverts commit 2118c98399.
pull/162/head
Mickaël Martin 7 years ago
parent
commit
422c577961
  1. 2
      scripts/_common.sh
  2. 3
      scripts/upgrade.d/upgrade.last.sh

2
scripts/_common.sh

@ -3,7 +3,7 @@
# COMMON VARIABLES
#=================================================
pkg_dependencies="php5-gd php5-json php5-intl php5-mcrypt php5-curl php5-apcu php5-redis php5-ldap php5-imagick imagemagick acl tar smbclient at"
pkg_dependencies="php5-gd php5-json php5-intl php5-mcrypt php5-curl php5-apcu php5-redis php5-ldap php5-imagick imagemagick acl tar smbclient"
if [ "$(lsb_release --codename --short)" != "jessie" ]; then
pkg_dependencies="$pkg_dependencies php-zip php-apcu php-mbstring php-xml"

3
scripts/upgrade.d/upgrade.last.sh

@ -8,6 +8,3 @@ nextcloud_source_sha256="5bb0c58171353da844019b64080c21078002a59ab956ab72adb9588
# Patch nextcloud files only for the last version
cp -a ../sources/patches_last_version/* ../sources/patches
# Execute post-upgrade operations later on
(cd /tmp ; at now + 10 minutes <<< "(cd $final_path ; sudo -u nextcloud php occ db:add-missing-indices ; sudo -u nextcloud php occ db:convert-filecache-bigint -n) > /tmp/nextcloud_maintenance.log")
Loading…
Cancel
Save