upgrade to NC20.0.2

Signed-off-by: nachoparker <nacho@ownyourbits.com>
This commit is contained in:
nachoparker 2020-11-24 20:03:10 -07:00
parent a335b5e2bf
commit 7afdc0fe8d
7 changed files with 13 additions and 16 deletions

View File

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

View File

@ -132,16 +132,10 @@ cp nextcloud-old/config/config.php nextcloud/config/
####################
cp -raT nextcloud-old/themes/ nextcloud/themes/
# copy apps
# copy old NCP apps
####################
echo "Restore apps..."
for app in $( ls nextcloud-old/apps/*/ -d ); do
app=$( basename "$app" )
[[ ! -d nextcloud/apps/$app ]] && {
echo " * $app"
cp -r nextcloud-old/apps/$app nextcloud/apps
}
done
cp -r nextcloud-old/apps/{nextcloudpi,previewgenerator} /var/www/nextcloud/apps/
#false # test point
# copy data if it was at the default location
@ -183,6 +177,7 @@ ncc='sudo -u www-data php nextcloud/occ'
$ncc upgrade # && false # test point
$ncc db:add-missing-indices
$ncc | grep -q db:add-missing-columns && $ncc db:add-missing-columns
$ncc | grep -q db:add-missing-primary-keys && $ncc db:add-missing-primary-keys
# done
####################

View File

@ -1,7 +1,9 @@
[v1.31.0](https://github.com/nextcloud/nextcloudpi/commit/edcfde3) (2020-10-19) upgrade to NC19.0.4
[v1.32.0](https://github.com/nextcloud/nextcloudpi/commit/3d6f3d4) (2020-11-24) upgrade to NC20.0.2
[v1.30.1](https://github.com/nextcloud/nextcloudpi/commit/9450613) (2020-10-20) nc-info: fixed api change for portchecker (#1194)
[v1.31.0](https://github.com/nextcloud/nextcloudpi/commit/ab9184c) (2020-10-19) upgrade to NC19.0.4
[v1.30.1 ](https://github.com/nextcloud/nextcloudpi/commit/9450613) (2020-10-20) nc-info: fixed api change for portchecker (#1194)
[v1.30.0 ](https://github.com/nextcloud/nextcloudpi/commit/f00fe21) (2020-09-19) upgrade to NC19.0.2

View File

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

View File

@ -1,5 +1,5 @@
{
"nextcloud_version": "19.0.4",
"nextcloud_version": "20.0.2",
"php_version": "7.3",
"release": "buster"
}

View File

@ -12,7 +12,7 @@
<category>tools</category>
<bugs>https://github.com/nextcloud/nextcloudpi/issues</bugs>
<dependencies>
<nextcloud min-version="14" max-version="19"/>
<nextcloud min-version="14" max-version="20"/>
</dependencies>
<navigations>
<navigation>

View File

@ -24,7 +24,7 @@ The first time you activate this app through 'nc-previews-auto', you properly wa
</types>
<dependencies>
<php min-version="7.0"/>
<nextcloud min-version="14" max-version="19" />
<nextcloud min-version="14" max-version="20" />
</dependencies>
<commands>