Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/nextcloudpi.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornachoparker <nacho@ownyourbits.com>2020-11-25 06:03:10 +0300
committernachoparker <nacho@ownyourbits.com>2020-11-28 00:54:46 +0300
commit7afdc0fe8dffd71785782c8c6ac4edf8f3ada42a (patch)
tree93466a0b116291161dcbb09d7d1d6c4236737c41
parenta335b5e2bf8a7f3693874132a6552df822f12aa5 (diff)
upgrade to NC20.0.2v1.32.0
Signed-off-by: nachoparker <nacho@ownyourbits.com>
-rw-r--r--README.md2
-rwxr-xr-xbin/ncp-update-nc15
-rw-r--r--changelog.md6
-rw-r--r--etc/ncp-config.d/nc-nextcloud.cfg2
-rw-r--r--etc/ncp.cfg2
-rw-r--r--ncp-app/appinfo/info.xml2
-rw-r--r--ncp-previewgenerator/appinfo/info.xml2
7 files changed, 14 insertions, 17 deletions
diff --git a/README.md b/README.md
index 619d3ae0..9ef96336 100644
--- a/README.md
+++ b/README.md
@@ -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
diff --git a/bin/ncp-update-nc b/bin/ncp-update-nc
index 013e9187..25ed025d 100755
--- a/bin/ncp-update-nc
+++ b/bin/ncp-update-nc
@@ -132,16 +132,10 @@ cp nextcloud-old/config/config.php nextcloud/config/
####################
cp -raT nextcloud-old/themes/ nextcloud/themes/
-# copy 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
+# copy old NCP apps
+####################
+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
####################
diff --git a/changelog.md b/changelog.md
index 85988f7f..08e9c85a 100644
--- a/changelog.md
+++ b/changelog.md
@@ -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
diff --git a/etc/ncp-config.d/nc-nextcloud.cfg b/etc/ncp-config.d/nc-nextcloud.cfg
index c96338bd..af19405c 100644
--- a/etc/ncp-config.d/nc-nextcloud.cfg
+++ b/etc/ncp-config.d/nc-nextcloud.cfg
@@ -9,7 +9,7 @@
{
"id": "VER",
"name": "Version",
- "value": "19.0.4"
+ "value": "20.0.2"
},
{
"id": "BETA",
diff --git a/etc/ncp.cfg b/etc/ncp.cfg
index b87b7667..dbc08425 100644
--- a/etc/ncp.cfg
+++ b/etc/ncp.cfg
@@ -1,5 +1,5 @@
{
- "nextcloud_version": "19.0.4",
+ "nextcloud_version": "20.0.2",
"php_version": "7.3",
"release": "buster"
}
diff --git a/ncp-app/appinfo/info.xml b/ncp-app/appinfo/info.xml
index 05a4e2e4..67a837e4 100644
--- a/ncp-app/appinfo/info.xml
+++ b/ncp-app/appinfo/info.xml
@@ -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>
diff --git a/ncp-previewgenerator/appinfo/info.xml b/ncp-previewgenerator/appinfo/info.xml
index c499dc31..f28e35f2 100644
--- a/ncp-previewgenerator/appinfo/info.xml
+++ b/ncp-previewgenerator/appinfo/info.xml
@@ -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>