Skip to content

fix: set REDIS_HOST_PASSWORD to empty string when not set - #1232

Merged
J0WI merged 1 commit into
nextcloud:masterfrom
stefanprobst:fix/empty-redis-pw
Nov 7, 2020
Merged

fix: set REDIS_HOST_PASSWORD to empty string when not set#1232
J0WI merged 1 commit into
nextcloud:masterfrom
stefanprobst:fix/empty-redis-pw

Conversation

@stefanprobst

Copy link
Copy Markdown
Contributor

not setting REDIS_HOST_PASSWORD currently leads to a "RedisException: ERR AUTH called without any password configured for the default user." error. this seems to happen because getenv returns false, but the nextcloud server only checks isset and for an empty string (see here). casting to a string should hopefully fix this???

fixes #1179

@J0WI
J0WI merged commit b8cc63f into nextcloud:master Nov 7, 2020
@J0WI

J0WI commented Nov 7, 2020

Copy link
Copy Markdown
Contributor

Thanks!

docker-library-bot added a commit to docker-library-bot/official-images that referenced this pull request Nov 7, 2020
Changes:

- https///github.com/nextcloud/docker/commit/65634ab: Runs update.sh
- https///github.com/nextcloud/docker/commit/b8cc63f: fix: empty redis password must be string (https///github.com/nextcloud/docker/pull/1232)
- https///github.com/nextcloud/docker/commit/6fd2227: Add GitHub CI badge (https///github.com/nextcloud/docker/pull/1301)
- https///github.com/nextcloud/docker/commit/4efaf22: Merge pull request https///github.com/nextcloud/docker/pull/1294 from J0WI/rm17
- https///github.com/nextcloud/docker/commit/83503a4: Remove 17.0
docker-library-bot added a commit to docker-library-bot/official-images that referenced this pull request Nov 13, 2020
Changes:

- https///github.com/nextcloud/docker/commit/2b75fba: Runs update.sh
- https///github.com/nextcloud/docker/commit/65634ab: Runs update.sh
- https///github.com/nextcloud/docker/commit/b8cc63f: fix: empty redis password must be string (https///github.com/nextcloud/docker/pull/1232)
- https///github.com/nextcloud/docker/commit/6fd2227: Add GitHub CI badge (https///github.com/nextcloud/docker/pull/1301)
- https///github.com/nextcloud/docker/commit/4efaf22: Merge pull request https///github.com/nextcloud/docker/pull/1294 from J0WI/rm17
- https///github.com/nextcloud/docker/commit/83503a4: Remove 17.0
docker-library-bot added a commit to docker-library-bot/official-images that referenced this pull request Nov 17, 2020
Changes:

- https///github.com/nextcloud/docker/commit/58419d4: Runs update.sh
- https///github.com/nextcloud/docker/commit/2b75fba: Runs update.sh
- https///github.com/nextcloud/docker/commit/65634ab: Runs update.sh
- https///github.com/nextcloud/docker/commit/b8cc63f: fix: empty redis password must be string (https///github.com/nextcloud/docker/pull/1232)
- https///github.com/nextcloud/docker/commit/6fd2227: Add GitHub CI badge (https///github.com/nextcloud/docker/pull/1301)
- https///github.com/nextcloud/docker/commit/4efaf22: Merge pull request https///github.com/nextcloud/docker/pull/1294 from J0WI/rm17
- https///github.com/nextcloud/docker/commit/83503a4: Remove 17.0
docker-library-bot added a commit to docker-library-bot/official-images that referenced this pull request Nov 19, 2020
Changes:

- https///github.com/nextcloud/docker/commit/62398b5: Runs update.sh
- https///github.com/nextcloud/docker/commit/58419d4: Runs update.sh
- https///github.com/nextcloud/docker/commit/2b75fba: Runs update.sh
- https///github.com/nextcloud/docker/commit/65634ab: Runs update.sh
- https///github.com/nextcloud/docker/commit/b8cc63f: fix: empty redis password must be string (https///github.com/nextcloud/docker/pull/1232)
- https///github.com/nextcloud/docker/commit/6fd2227: Add GitHub CI badge (https///github.com/nextcloud/docker/pull/1301)
- https///github.com/nextcloud/docker/commit/4efaf22: Merge pull request https///github.com/nextcloud/docker/pull/1294 from J0WI/rm17
- https///github.com/nextcloud/docker/commit/83503a4: Remove 17.0
docker-library-bot added a commit to docker-library-bot/official-images that referenced this pull request Nov 19, 2020
Changes:

- https///github.com/nextcloud/docker/commit/c292b9b: Update stable channel to 19.0.5
- https///github.com/nextcloud/docker/commit/62398b5: Runs update.sh
- https///github.com/nextcloud/docker/commit/58419d4: Runs update.sh
- https///github.com/nextcloud/docker/commit/2b75fba: Runs update.sh
- https///github.com/nextcloud/docker/commit/65634ab: Runs update.sh
- https///github.com/nextcloud/docker/commit/b8cc63f: fix: empty redis password must be string (https///github.com/nextcloud/docker/pull/1232)
- https///github.com/nextcloud/docker/commit/6fd2227: Add GitHub CI badge (https///github.com/nextcloud/docker/pull/1301)
- https///github.com/nextcloud/docker/commit/4efaf22: Merge pull request https///github.com/nextcloud/docker/pull/1294 from J0WI/rm17
- https///github.com/nextcloud/docker/commit/83503a4: Remove 17.0
cuppett added a commit to cuppett/nextcloud-openshift-s2i that referenced this pull request Dec 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

With redis env config for docker need to check for false

2 participants