From 9717e59557a2c746ed29ad9d405a783dcbf2fceb Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Thu, 8 Oct 2020 09:51:32 +0200 Subject: [PATCH 1/2] upgrade to v19.0.4 --- README.md | 2 +- README_fr.md | 2 +- manifest.json | 2 +- scripts/install | 9 +++------ scripts/upgrade | 9 +++------ scripts/upgrade.d/upgrade.last.sh | 4 ++-- 6 files changed, 11 insertions(+), 17 deletions(-) diff --git a/README.md b/README.md index b4b939b..fd10c0f 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,7 @@ own data. A personal cloud which runs on your own server. With Nextcloud you can synchronize your files over your devices. -**Shipped version:** 19.0.3 +**Shipped version:** 19.0.4 ## Screenshots diff --git a/README_fr.md b/README_fr.md index 404ef69..d9e3dc2 100644 --- a/README_fr.md +++ b/README_fr.md @@ -14,7 +14,7 @@ Si vous n'avez pas YunoHost, regardez [ici](https://yunohost.org/#/install) pour [Nextcloud](https://nextcloud.com) vous donne la liberté et le contrôle sur vos données. Un nuage personnel qui tourne sur votre serveur. Avec NextCloud vous pouvez synchroniser vos fichiers sur vos appareils. -**Version incluse :** 19.0.3 +**Version incluse :** 19.0.4 ## Captures d'écran diff --git a/manifest.json b/manifest.json index 75aa560..f2746de 100644 --- a/manifest.json +++ b/manifest.json @@ -6,7 +6,7 @@ "en": "Access & share your files, calendars, contacts, mail & more from any device, on your terms", "fr": "Consultez et partagez vos fichiers, agendas, carnets d'adresses, emails et bien plus depuis les appareils de votre choix, sous vos conditions" }, - "version": "19.0.3~ynh1", + "version": "19.0.4~ynh1", "url": "https://nextcloud.com", "license": "AGPL-3.0", "maintainer": { diff --git a/scripts/install b/scripts/install index cfe9d5b..0ad4cde 100755 --- a/scripts/install +++ b/scripts/install @@ -273,12 +273,9 @@ exec_occ background:cron # POST-INSTALL MAINTENANCE #================================================= -( - cd $final_path - sudo -u $app php${YNH_PHP_VERSION} occ db:add-missing-indices - sudo -u $app php${YNH_PHP_VERSION} occ db:add-missing-columns - sudo -u $app php${YNH_PHP_VERSION} occ db:convert-filecache-bigint -n -) +exec_occ db:add-missing-indices +exec_occ db:add-missing-columns +exec_occ db:convert-filecache-bigint -n #================================================= # CONFIGURE THE HOOK FILE FOR USER CREATE diff --git a/scripts/upgrade b/scripts/upgrade index 6c76b8f..e3ec094 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -309,12 +309,9 @@ then exec_occ -V done - ( - cd $final_path - sudo -u $app php${YNH_PHP_VERSION} occ db:add-missing-indices - sudo -u $app php${YNH_PHP_VERSION} occ db:add-missing-columns - sudo -u $app php${YNH_PHP_VERSION} occ db:convert-filecache-bigint -n - ) + exec_occ db:add-missing-indices + exec_occ db:add-missing-columns + exec_occ db:convert-filecache-bigint -n #================================================= # CONFIGURE NEXTCLOUD diff --git a/scripts/upgrade.d/upgrade.last.sh b/scripts/upgrade.d/upgrade.last.sh index 569c56e..7a8f7df 100755 --- a/scripts/upgrade.d/upgrade.last.sh +++ b/scripts/upgrade.d/upgrade.last.sh @@ -1,7 +1,7 @@ #!/bin/bash # Last available nextcloud version -next_version="19.0.3" +next_version="19.0.4" # Nextcloud tarball checksum sha256 -nextcloud_source_sha256="fc503985e8aa4ed795d882e35679e0e1b7670181768e7820307222d8b4658969" +nextcloud_source_sha256="" From de251cebfcba1f7da2bf427f168a0edb397d6524 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Thu, 8 Oct 2020 10:57:22 +0200 Subject: [PATCH 2/2] Update upgrade.last.sh --- scripts/upgrade.d/upgrade.last.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/upgrade.d/upgrade.last.sh b/scripts/upgrade.d/upgrade.last.sh index 7a8f7df..f05cba2 100755 --- a/scripts/upgrade.d/upgrade.last.sh +++ b/scripts/upgrade.d/upgrade.last.sh @@ -1,7 +1,7 @@ #!/bin/bash -# Last available nextcloud version +# Last available Nextcloud version next_version="19.0.4" # Nextcloud tarball checksum sha256 -nextcloud_source_sha256="" +nextcloud_source_sha256="465711715d64cbdf0465fcb4405f23b6f0947b85bbe12b6577c9e1602c63ae78"