Skip to content

Commit 6676c48

Browse files
committed
upgrade to NC19.0.1
Signed-off-by: nachoparker <[email protected]>
1 parent 4c5b207 commit 6676c48

File tree

9 files changed

+35
-6
lines changed

9 files changed

+35
-6
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Find the full documentation at [docs.nextcloudpi.com](http://docs.nextcloudpi.co
1616
## Features
1717

1818
* Debian/Raspbian 10 Buster
19-
* Nextcloud 18.0.7
19+
* Nextcloud 19.0.1
2020
* Apache 2.4.25, with HTTP2 enabled
2121
* PHP 7.3
2222
* MariaDB 10

bin/ncp-update-nc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -181,6 +181,7 @@ find nextcloud/ -type f -exec chmod 640 {} \;
181181
echo "Upgrade..."
182182
sudo -u www-data php nextcloud/occ upgrade # && false # test point
183183
sudo -u www-data php nextcloud/occ db:add-missing-indices
184+
sudo -u www-data php nextcloud/occ db:add-missing-columns
184185

185186
# done
186187
####################

bin/ncp/CONFIG/nc-nextcloud.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ install()
2727
$APTINSTALL -t $RELEASE php-smbclient exfat-fuse exfat-utils # for external storage
2828
$APTINSTALL -t $RELEASE php${PHPVER}-exif # for gallery
2929
$APTINSTALL -t $RELEASE php${PHPVER}-gmp # for bookmarks
30+
$APTINSTALL -t $RELEASE php-bcmath # for LDAP
3031
#$APTINSTALL -t imagemagick php${PHPVER}-imagick ghostscript # for gallery
3132

3233

etc/library.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -296,7 +296,7 @@ function clear_password_fields()
296296
function apt_install()
297297
{
298298
apt-get update
299-
apt-get install -y --no-install-recommends -o Dpkg::Options::=--force-confdef
299+
apt-get install -y --no-install-recommends -o Dpkg::Options::=--force-confdef -o Dpkg::Options::="--force-confold" "$@"
300300
}
301301

302302
function notify_admin()

etc/ncp-config.d/nc-nextcloud.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
{
1010
"id": "VER",
1111
"name": "Version",
12-
"value": "18.0.7"
12+
"value": "19.0.1"
1313
},
1414
{
1515
"id": "BETA",

etc/ncp.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"nextcloud_version": "18.0.7",
2+
"nextcloud_version": "19.0.1",
33
"php_version": "7.3",
44
"release": "buster"
55
}

ncp-app/appinfo/info.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
<category>tools</category>
1313
<bugs>https://github.com/nextcloud/nextcloudpi/issues</bugs>
1414
<dependencies>
15-
<nextcloud min-version="14" max-version="18"/>
15+
<nextcloud min-version="14" max-version="19"/>
1616
</dependencies>
1717
<navigations>
1818
<navigation>

ncp-previewgenerator/appinfo/info.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ The first time you activate this app through 'nc-previews-auto', you properly wa
2424
</types>
2525
<dependencies>
2626
<php min-version="7.0"/>
27-
<nextcloud min-version="14" max-version="18" />
27+
<nextcloud min-version="14" max-version="19" />
2828
</dependencies>
2929

3030
<commands>

updates/1.30.0.sh

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
#!/bin/bash
2+
3+
set -e
4+
5+
## BACKWARD FIXES ( for older images )
6+
7+
source /usr/local/etc/library.sh # sets NCVER PHPVER RELEASE
8+
9+
# all images
10+
11+
# for NC19.0.1
12+
apt_install php-bcmath
13+
14+
# make sure these are installed as well in all upgrade paths
15+
apt_install php${PHPVER}-gmp haveged lsb-release php-smbclient exfat-fuse exfat-utils file
16+
17+
# docker images only
18+
[[ -f /.docker-image ]] && {
19+
:
20+
}
21+
22+
# for non docker images
23+
[[ ! -f /.docker-image ]] && {
24+
:
25+
}
26+
27+
exit 0

0 commit comments

Comments
 (0)