Skip to content

Commit 814569b

Browse files
committed
fix junk in overwrite.cli.url because of Redis not being yet ready
Signed-off-by: nachoparker <[email protected]>
1 parent 4039da9 commit 814569b

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

bin/nextcloud-domain.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@ while :; do
2323
sleep 3
2424
continue
2525
}
26+
# Fix the situation where junk was introduced in the config by mistake
27+
# because Redis was not yet ready to be used even if it was up
28+
[[ "${nc_domain}" =~ "RedisException" ]] && nc_domain="$(hostname)"
2629
set-nc-domain "${nc_domain}" >> /var/log/ncp.log
2730
break
2831
done

changelog.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,15 @@
11

2-
[v1.39.11](https://github.com/nextcloud/nextcloudpi/commit/43a6381) (2021-09-21) letsencrypt: take into account duplicate domains ending in -0001
2+
[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
3+
4+
[v1.39.11](https://github.com/nextcloud/nextcloudpi/commit/4039da9) (2021-09-21) letsencrypt: take into account duplicate domains ending in -0001
35

46
[v1.39.10](https://github.com/nextcloud/nextcloudpi/commit/2b51476) (2021-09-21) fix inverted template logic for docker
57

68
[v1.39.9 ](https://github.com/nextcloud/nextcloudpi/commit/a4851dc) (2021-09-21) letsencrypt: fix renewal with httpsonly enabled
79

810
[v1.39.8 ](https://github.com/nextcloud/nextcloudpi/commit/1046a24) (2021-09-21) letsencrypt: fix active status check
911

10-
[v1.39.7](https://github.com/nextcloud/nextcloudpi/commit/98976c9) (2021-09-22) dont update config if Redis is not yet ready
12+
[v1.39.7 ](https://github.com/nextcloud/nextcloudpi/commit/98976c9) (2021-09-22) dont update config if Redis is not yet ready
1113

1214
[v1.39.6 ](https://github.com/nextcloud/nextcloudpi/commit/534b9b5) (2021-09-19) ncp-update-nc: pre-check that NC is currently working fine
1315

0 commit comments

Comments
 (0)