mirror of
https://github.com/nextcloud/nextcloudpi.git
synced 2026-01-10 15:12:01 -03:30
fix upgrade
Signed-off-by: nachoparker <nacho@ownyourbits.com>
This commit is contained in:
parent
5de855ffec
commit
81ca69a058
@ -1,5 +1,7 @@
|
||||
|
||||
[v1.13.1](https://github.com/nextcloud/nextcloudpi/commit/18172be) (2019-06-01) ncp-web: avoid quotes in fields
|
||||
[v1.13.2](https://github.com/nextcloud/nextcloudpi/commit/270ae92) (2019-06-03) fix upgrade
|
||||
|
||||
[v1.13.1](https://github.com/nextcloud/nextcloudpi/commit/5de855f) (2019-06-01) ncp-web: avoid quotes in fields
|
||||
|
||||
[v1.13.0](https://github.com/nextcloud/nextcloudpi/commit/86f14ae) (2019-06-01) upgrade to NC15.0.8
|
||||
|
||||
|
||||
18
update.sh
18
update.sh
@ -135,9 +135,16 @@ cp -r ncp-app /var/www/
|
||||
|
||||
# for non docker images
|
||||
[[ ! -f /.docker-image ]] && {
|
||||
cat > /etc/fail2ban/filter.d/ufwban.conf <<'EOF'
|
||||
[INCLUDES]
|
||||
before = common.conf
|
||||
[Definition]
|
||||
failregex = UFW BLOCK.* SRC=
|
||||
ignoreregex =
|
||||
EOF
|
||||
:
|
||||
}
|
||||
|
||||
|
||||
# update to the latest version
|
||||
is_active_app nc-autoupdate-nc && run_app nc-autoupdate-nc
|
||||
|
||||
@ -231,15 +238,6 @@ EOF
|
||||
# fix logrotate files
|
||||
chmod 0444 /etc/logrotate.d/*
|
||||
|
||||
# update fail2ban filters
|
||||
cat > /etc/fail2ban/filter.d/ufwban.conf <<'EOF'
|
||||
[INCLUDES]
|
||||
before = common.conf
|
||||
[Definition]
|
||||
failregex = UFW BLOCK.* SRC=
|
||||
ignoreregex =
|
||||
EOF
|
||||
|
||||
# remove redundant opcache configuration. Leave until update bug is fixed -> https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=815968
|
||||
# Bug #416 reappeared after we moved to php7.2 and debian buster packages. (keep last)
|
||||
[[ "$( ls -l /etc/php/7.2/fpm/conf.d/*-opcache.ini | wc -l )" -gt 1 ]] && rm "$( ls /etc/php/7.2/fpm/conf.d/*-opcache.ini | tail -1 )"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user