diff options
author | nachoparker <nacho@ownyourbits.com> | 2021-09-22 18:38:25 +0300 |
---|---|---|
committer | nachoparker <nacho@ownyourbits.com> | 2021-09-22 18:38:28 +0300 |
commit | 814569be56e37ccf22ad0f6e2ba4fdc0c7cb2264 (patch) | |
tree | 082bf77cc97b1f0eb5037d9cd74a6dbc53b83d53 | |
parent | 4039da90a91e76b2757c0cec47e641318aa76b75 (diff) |
fix junk in overwrite.cli.url because of Redis not being yet readyv1.39.12
Signed-off-by: nachoparker <nacho@ownyourbits.com>
-rw-r--r-- | bin/nextcloud-domain.sh | 3 | ||||
-rw-r--r-- | changelog.md | 6 |
2 files changed, 7 insertions, 2 deletions
diff --git a/bin/nextcloud-domain.sh b/bin/nextcloud-domain.sh index 33235133..39556889 100644 --- a/bin/nextcloud-domain.sh +++ b/bin/nextcloud-domain.sh @@ -23,6 +23,9 @@ while :; do sleep 3 continue } + # Fix the situation where junk was introduced in the config by mistake + # because Redis was not yet ready to be used even if it was up + [[ "${nc_domain}" =~ "RedisException" ]] && nc_domain="$(hostname)" set-nc-domain "${nc_domain}" >> /var/log/ncp.log break done diff --git a/changelog.md b/changelog.md index d803d97f..ea87f873 100644 --- a/changelog.md +++ b/changelog.md @@ -1,5 +1,7 @@ -[v1.39.11](https://github.com/nextcloud/nextcloudpi/commit/43a6381) (2021-09-21) letsencrypt: take into account duplicate domains ending in -0001 +[v1.39.12](https://github.com/nextcloud/nextcloudpi/commit/43e19cc) (2021-09-22) fix junk in overwrite.cli.url because of Redis not being yet ready + +[v1.39.11](https://github.com/nextcloud/nextcloudpi/commit/4039da9) (2021-09-21) letsencrypt: take into account duplicate domains ending in -0001 [v1.39.10](https://github.com/nextcloud/nextcloudpi/commit/2b51476) (2021-09-21) fix inverted template logic for docker @@ -7,7 +9,7 @@ [v1.39.8 ](https://github.com/nextcloud/nextcloudpi/commit/1046a24) (2021-09-21) letsencrypt: fix active status check -[v1.39.7](https://github.com/nextcloud/nextcloudpi/commit/98976c9) (2021-09-22) dont update config if Redis is not yet ready +[v1.39.7 ](https://github.com/nextcloud/nextcloudpi/commit/98976c9) (2021-09-22) dont update config if Redis is not yet ready [v1.39.6 ](https://github.com/nextcloud/nextcloudpi/commit/534b9b5) (2021-09-19) ncp-update-nc: pre-check that NC is currently working fine |