upgrade to NC14.0.4

This commit is contained in:
nachoparker 2018-11-22 14:47:53 -07:00
parent 5aeb83cb44
commit bcac4bc531
6 changed files with 16 additions and 15 deletions

View File

@ -11,13 +11,12 @@ This code also generates the [NextCloudPi docker images](https://hub.docker.com/
## Features
* Raspbian 9 stretch
* Nextcloud 14.0.3
* Debian/Raspbian 9 stretch
* Nextcloud 14.0.4
* Apache 2.4.25, with HTTP2 enabled
* PHP 7.2
* MariaDB 10
* Redis memory cache ( NEW 11-12-2017 )
* 4.9 Linux Kernel ( NEW 03-13-2017 )
* ncp-config for easy setup ( RAM logs, USB drive and more )
* Automatic redirection to HTTPS
* ACPU PHP cache

View File

@ -1,5 +1,7 @@
[v0.66.6](https://github.com/nextcloud/nextcloudpi/commit/c2eaf06) (2018-11-18) nc-static-IP: clarify usage
[v0.67.0](https://github.com/nextcloud/nextcloudpi/commit/56ef7da) (2018-11-22) upgrade to NC14.0.4
[v0.66.6](https://github.com/nextcloud/nextcloudpi/commit/5aeb83c) (2018-11-18) nc-static-IP: clarify usage
[v0.66.4](https://github.com/nextcloud/nextcloudpi/commit/f3666d6) (2018-11-11) build: package php7.2-imagick now available

View File

@ -13,7 +13,7 @@ NOTIFYUSER_=ncp
DESCRIPTION="Automatically apply Nextcloud updates"
# just change this value and re-activate in update.sh to upgrade users
VERSION=14.0.3
VERSION=14.0.4
configure()
{

View File

@ -8,7 +8,7 @@
# More at https://ownyourbits.com/2017/02/13/nextcloud-ready-raspberry-pi-image/
#
VER_=14.0.3
VER_=14.0.4
BETA_=no
MAXFILESIZE_=2G
MEMORYLIMIT_=768M

View File

@ -9,7 +9,7 @@
#
VERSION_=0
LATEST=14.0.3
LATEST=14.0.4
DESCRIPTION="Update current instance to a new Nextcloud version"
INFO="Set to 0 to update to the latest avaliable version"

View File

@ -149,14 +149,6 @@ EOF
install_script nc-restore.sh
cd - &>/dev/null
# update to NC14.0.3
F="$CONFDIR"/nc-autoupdate-nc.sh
grep -q '^ACTIVE_=yes$' "$F" && {
cd "$CONFDIR" &>/dev/null
activate_script nc-autoupdate-nc.sh
cd - &>/dev/null
}
# Redis eviction policy
grep -q "^maxmemory-policy allkeys-lru" /etc/redis/redis.conf || {
sed -i 's|# maxmemory-policy .*|maxmemory-policy allkeys-lru|' /etc/redis/redis.conf
@ -230,6 +222,14 @@ EOF
# Update php imagick
apt-get install -y --no-install-recommends imagemagick php7.2-imagick php7.2-exif
# update to NC14.0.4
F="$CONFDIR"/nc-autoupdate-nc.sh
grep -q '^ACTIVE_=yes$' "$F" && {
cd "$CONFDIR" &>/dev/null
activate_script nc-autoupdate-nc.sh
cd - &>/dev/null
}
} # end - only live updates
exit 0