upgrade to NC17.0.1

Signed-off-by: nachoparker <nacho@ownyourbits.com>
This commit is contained in:
nachoparker 2019-11-30 08:42:40 -07:00
parent 9fb8468e97
commit 72d2d00f74
7 changed files with 21 additions and 7 deletions

View File

@ -16,7 +16,7 @@ Find the full documentation at [docs.nextcloudpi.com](http://docs.nextcloudpi.co
## Features ## Features
* Debian/Raspbian 10 Buster * Debian/Raspbian 10 Buster
* Nextcloud 16.0.5 * Nextcloud 17.0.1
* Apache 2.4.25, with HTTP2 enabled * Apache 2.4.25, with HTTP2 enabled
* PHP 7.3 * PHP 7.3
* MariaDB 10 * MariaDB 10

View File

@ -125,7 +125,9 @@ EOF
local ID=$( grep instanceid config/config.php | awk -F "=> " '{ print $2 }' | sed "s|[,']||g" ) local ID=$( grep instanceid config/config.php | awk -F "=> " '{ print $2 }' | sed "s|[,']||g" )
[[ "$ID" == "" ]] && { echo "failed to get ID"; return 1; } [[ "$ID" == "" ]] && { echo "failed to get ID"; return 1; }
mkdir -p data/appdata_${ID}/theming/images mkdir -p data/appdata_${ID}/theming/images
cp /usr/local/etc/logo /usr/local/etc/background data/appdata_${ID}/theming/images cp /usr/local/etc/background data/appdata_${ID}/theming/images
cp /usr/local/etc/logo data/appdata_${ID}/theming/images/logo
cp /usr/local/etc/logo data/appdata_${ID}/theming/images/logoheader
chown -R www-data:www-data data/appdata_${ID} chown -R www-data:www-data data/appdata_${ID}
} }

View File

@ -1,5 +1,7 @@
[v1.18.2](https://github.com/nextcloud/nextcloudpi/commit/b737569) (2019-11-18) ncp-app: bump to NC17 [v1.19.0](https://github.com/nextcloud/nextcloudpi/commit/c8e296c) (2019-11-30) upgrade to NC17.0.1
[v1.18.2 ](https://github.com/nextcloud/nextcloudpi/commit/0fc4aea) (2019-11-18) ncp-app: bump to NC17
[v1.18.1 ](https://github.com/nextcloud/nextcloudpi/commit/e975320) (2019-11-18) Letsencrypt: support second domain (#1025) [v1.18.1 ](https://github.com/nextcloud/nextcloudpi/commit/e975320) (2019-11-18) Letsencrypt: support second domain (#1025)

BIN
etc/logo

Binary file not shown.

Before

Width:  |  Height:  |  Size: 76 KiB

After

Width:  |  Height:  |  Size: 18 KiB

View File

@ -9,7 +9,7 @@
{ {
"id": "VER", "id": "VER",
"name": "Version", "name": "Version",
"value": "16.0.5" "value": "17.0.1"
}, },
{ {
"id": "BETA", "id": "BETA",

View File

@ -1,5 +1,5 @@
{ {
"nextcloud_version": "16.0.5", "nextcloud_version": "17.0.1",
"php_version": "7.3", "php_version": "7.3",
"release": "buster" "release": "buster"
} }

View File

@ -18,6 +18,16 @@ source /usr/local/etc/library.sh # sets NCVER PHPVER RELEASE
} }
} }
# if using NCP original logo, replace with the new version
datadir=$(ncc config:system:get datadirectory)
id=$(grep instanceid /var/www/nextcloud/config/config.php | awk -F "=> " '{ print $2 }' | sed "s|[,']||g")
sum_orig=ca39ff587bd899cb92eb0f5a6d429824
sum_curr=$(md5sum "${datadir}"/appdata_*/theming/images/logo | awk '{ print $1 }')
[[ "${sum_orig}" == "${sum_curr}" ]] && {
cp etc/logo "${datadir}/appdata_${id}/theming/images/logo"
cp etc/logo "${datadir}/appdata_${id}/theming/images/logoheader"
}
# docker images only # docker images only
[[ -f /.docker-image ]] && { [[ -f /.docker-image ]] && {
: :