|
|
@ -1,10 +1,10 @@ |
|
|
#!/bin/bash |
|
|
#!/bin/bash |
|
|
|
|
|
|
|
|
# Last available nextcloud version |
|
|
# Last available nextcloud version |
|
|
next_version="15.0.0" |
|
|
|
|
|
|
|
|
next_version="15.0.2" |
|
|
|
|
|
|
|
|
# Nextcloud tarball checksum sha256 |
|
|
# Nextcloud tarball checksum sha256 |
|
|
nextcloud_source_sha256="5bb0c58171353da844019b64080c21078002a59ab956ab72adb958844a98eb78" |
|
|
|
|
|
|
|
|
nextcloud_source_sha256="c1f4cc33e39994ddbe6777370b62c30b7ae52136a0530c0b9922770803ca0fea" |
|
|
|
|
|
|
|
|
# This function will only be executed upon applying the last upgrade referenced above |
|
|
# This function will only be executed upon applying the last upgrade referenced above |
|
|
last_upgrade_operations () { |
|
|
last_upgrade_operations () { |
|
|
@ -12,5 +12,5 @@ last_upgrade_operations () { |
|
|
cp -a ../sources/patches_last_version/* ../sources/patches |
|
|
cp -a ../sources/patches_last_version/* ../sources/patches |
|
|
|
|
|
|
|
|
# Execute post-upgrade operations later on |
|
|
# 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") |
|
|
|
|
|
|
|
|
(cd /tmp ; at now + 10 minutes <<< "(cd $final_path ; sudo -u $app php occ db:add-missing-indices ; sudo -u $app php occ db:convert-filecache-bigint -n) > /tmp/nextcloud_maintenance.log") |
|
|
} |
|
|
} |