Skip to content

Commit

Permalink
upgrade to NC14.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
nachoparker committed Oct 11, 2018
1 parent 2ea43f4 commit b4555ba
Show file tree
Hide file tree
Showing 7 changed files with 19 additions and 15 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ This code also generates the [NextCloudPi docker images](https://hub.docker.com/
## Features

* Raspbian 9 stretch
* Nextcloud 14.0.1
* Nextcloud 14.0.2
* Apache 2.4.25, with HTTP2 enabled
* PHP 7.2
* MariaDB 10
Expand Down
7 changes: 0 additions & 7 deletions bin/ncp-update-nc
Original file line number Diff line number Diff line change
Expand Up @@ -175,13 +175,6 @@ echo "Upgrade..."
sudo -u www-data php nextcloud/occ upgrade # && false # test point
sudo -u www-data php nextcloud/occ db:add-missing-indices

# workaround for updating news to NC14 - bug https://github.com/nextcloud/news/issues/327
[[ -e /var/www/nextcloud/apps/news ]] && {
F=/var/www/nextcloud/apps/news/vendor/ezyang/htmlpurifier/maintenance/.htaccess
[[ -f "$F" ]] || echo "Deny from all" > "$F" || true
sudo -u www-data php nextcloud/occ integrity:check-app --path=/var/www/nextcloud/apps/news news || true
}

# done
####################
mkdir -p "$DATADIR"/ncp-update-backups
Expand Down
15 changes: 13 additions & 2 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,17 @@
[v0.62.6](https://github.com/nextcloud/nextcloudpi/commit/d069004) (2018-10-06) nc-limits: fix PHP service restart

[v0.62.5](https://github.com/nextcloud/nextcloudpi/commit/0bf6045) (2018-10-03) nc-update-nc: dont fix the news app if there is no news app
[v0.63.0](https://github.com/nextcloud/nextcloudpi/commit/37a44a9) (2018-10-11) upgrade to NC14.0.2

[v0.62.10](https://github.com/nextcloud/nextcloudpi/commit/48ac238) (2018-10-07) limit logs size with logrotate

[v0.62.9 ](https://github.com/nextcloud/nextcloudpi/commit/694a885) (2018-10-07) DDNS_spDYN reinstall DDNS_spDYN for use of IPv6 (#642)

[v0.62.8 ](https://github.com/nextcloud/nextcloudpi/commit/c6da8a9) (2018-10-07) Use DIG instead of NSLOOKUP in DDNS apps (#666)

[v0.62.7 ](https://github.com/nextcloud/nextcloudpi/commit/54e0968) (2018-10-07) nc-prettyURL: Catch failure of maintenance:update:htaccess (#654)

[v0.62.6](https://github.com/nextcloud/nextcloudpi/commit/5e3d411) (2018-10-06) nc-limits: fix PHP service restart

[v0.62.5 ](https://github.com/nextcloud/nextcloudpi/commit/0bf6045) (2018-10-03) nc-update-nc: dont fix the news app if there is no news app

[v0.62.4 ](https://github.com/nextcloud/nextcloudpi/commit/aa886f9) (2018-10-03) nc-update-nextcloud: option to upgrade to the latest version

Expand Down
2 changes: 1 addition & 1 deletion etc/ncp-config.d/nc-autoupdate-nc.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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.1
VERSION=14.0.2

configure()
{
Expand Down
2 changes: 1 addition & 1 deletion etc/ncp-config.d/nc-nextcloud.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
# More at https://ownyourbits.com/2017/02/13/nextcloud-ready-raspberry-pi-image/
#

VER_=14.0.1
VER_=14.0.2
BETA_=no
MAXFILESIZE_=2G
MEMORYLIMIT_=768M
Expand Down
4 changes: 2 additions & 2 deletions etc/ncp-config.d/nc-update-nextcloud.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
# More at https://ownyourbits.com/2017/02/13/nextcloud-ready-raspberry-pi-image/
#

VERSION_=14.0.1
LATEST=14.0.1
VERSION_=0
LATEST=14.0.2
DESCRIPTION="Update current instance to a new Nextcloud version"
INFO="Set to 0 to update to the latest avaliable version"

Expand Down
2 changes: 1 addition & 1 deletion update.sh
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ EOF
service mysql restart
}

# update to NC14.0.1
# update to NC14.0.2
F="$CONFDIR"/nc-autoupdate-nc.sh
grep -q '^ACTIVE_=yes$' "$F" && {
cd "$CONFDIR" &>/dev/null
Expand Down

0 comments on commit b4555ba

Please sign in to comment.