mirror of
https://github.com/nextcloud/nextcloudpi.git
synced 2026-01-10 15:12:01 -03:30
update: make letsencrypt update more resiliant (2)
This commit is contained in:
parent
55121d483d
commit
6331ce5dcd
@ -1,7 +1,9 @@
|
||||
|
||||
[v1.4.10](https://github.com/nextcloud/nextcloudpi/commit/3231406) (2019-01-27) update: make letsencrypt update more resiliant
|
||||
[v1.4.11](https://github.com/nextcloud/nextcloudpi/commit/2cd950d) (2019-01-28) update: make letsencrypt update more resiliant (2)
|
||||
|
||||
[v1.4.9](https://github.com/nextcloud/nextcloudpi/commit/9a36ceb) (2019-01-25) letsencrypt: use the latest github version
|
||||
[v1.4.10](https://github.com/nextcloud/nextcloudpi/commit/55121d4) (2019-01-27) update: make letsencrypt update more resiliant
|
||||
|
||||
[v1.4.9 ](https://github.com/nextcloud/nextcloudpi/commit/9a36ceb) (2019-01-25) letsencrypt: use the latest github version
|
||||
|
||||
[v1.4.8 ](https://github.com/nextcloud/nextcloudpi/commit/338da33) (2019-01-26) ncp-update-nc: fix unnecessary quotes
|
||||
|
||||
|
||||
@ -297,6 +297,13 @@ EOF
|
||||
bash -c "sleep 2 && service apache2 reload" &>/dev/null &
|
||||
}
|
||||
|
||||
# fix LE update bug (2)
|
||||
if [[ -d /etc/letsencrypt/archive ]] && [[ "$(ls /etc/letsencrypt/archive/* 2>/dev/null | wc -l )" == "0" ]]; then
|
||||
rmdir /etc/letsencrypt/archive
|
||||
sleep 3
|
||||
cp -ravT /etc/letsencrypt-old/archive /etc/letsencrypt/archive || true
|
||||
bash -c "sleep 2 && service apache2 reload" &>/dev/null &
|
||||
fi
|
||||
|
||||
# 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)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user