You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by GitBox <gi...@apache.org> on 2022/02/03 22:57:33 UTC

[GitHub] [couchdb-docker] gesellix opened a new pull request #215: fix(entrypoint): move secret from [couch_httpd_auth] to [chttpd_auth]

gesellix opened a new pull request #215:
URL: https://github.com/apache/couchdb-docker/pull/215


   ## Overview
   
   With CouchDB 3.2+ the `secret` has moved from `[couch_httpd_auth]` to the `[chttpd_auth]` section. See the [documentation](https://docs.couchdb.org/en/stable/config/auth.html#chttpd_auth/secret).
   
   The cluster setup fails with the reason `Cluster setup unable to sync admin passwords` when using the `couchdb:3.2.1` Docker image and environment variable `COUCHDB_SECRET=a-secret`.
   
   This pull request makes the entrypoint script use the correct config section to configure the provided secret.
   
   ## Testing recommendations
   
   A rebuild of the Docker image with the fixed docker-entrypoint.sh makes the cluster setup succeed.
   
   ## Checklist
   
   - [x] Code is written and works correctly;
   - [n/a] Changes are covered by tests;
   - [n/a] Documentation reflects the changes;
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@couchdb.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [couchdb-docker] kocolosk commented on pull request #215: fix(entrypoint): move secret from [couch_httpd_auth] to [chttpd_auth]

Posted by GitBox <gi...@apache.org>.
kocolosk commented on pull request #215:
URL: https://github.com/apache/couchdb-docker/pull/215#issuecomment-1029995519


   That's correct. I'd also like to fold in this change with an update to the underlying Erlang version in the image to deal with some other replication issues users have reported in the current build. Should take care of it in the next day or two.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@couchdb.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [couchdb-docker] gesellix commented on pull request #215: fix(entrypoint): move secret from [couch_httpd_auth] to [chttpd_auth]

Posted by GitBox <gi...@apache.org>.
gesellix commented on pull request #215:
URL: https://github.com/apache/couchdb-docker/pull/215#issuecomment-1029921533


   @kocolosk do you know how and when the updated images are available at the Docker Hub? If I understand correctly, there are two repositories involved:
   
   - apache/couchdb
   - couchdb
   
   I guess for the `apache/couchdb` repo, everything is in the hands of the maintainers (you? ;) ), and for the `couchdb` repo someone has to create a pull request at https://github.com/docker-library/official-images/blob/master/library/couchdb ?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@couchdb.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [couchdb-docker] kocolosk merged pull request #215: fix(entrypoint): move secret from [couch_httpd_auth] to [chttpd_auth]

Posted by GitBox <gi...@apache.org>.
kocolosk merged pull request #215:
URL: https://github.com/apache/couchdb-docker/pull/215


   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@couchdb.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [couchdb-docker] gesellix commented on pull request #215: fix(entrypoint): move secret from [couch_httpd_auth] to [chttpd_auth]

Posted by GitBox <gi...@apache.org>.
gesellix commented on pull request #215:
URL: https://github.com/apache/couchdb-docker/pull/215#issuecomment-1029998115


   Great, thanks!


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@couchdb.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [couchdb-docker] gesellix commented on pull request #215: fix(entrypoint): move secret from [couch_httpd_auth] to [chttpd_auth]

Posted by GitBox <gi...@apache.org>.
gesellix commented on pull request #215:
URL: https://github.com/apache/couchdb-docker/pull/215#issuecomment-1029482027


   @nickva I hope you can have a look into these changes. I actually didn't rebuild a fresh image, but used a local Dockerfile like this to verify the fixed entrypoint script:
   
   ```
   FROM couchdb:3.2.1
   COPY docker-entrypoint.sh /usr/local/bin
   ```
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@couchdb.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [couchdb-docker] kocolosk commented on pull request #215: fix(entrypoint): move secret from [couch_httpd_auth] to [chttpd_auth]

Posted by GitBox <gi...@apache.org>.
kocolosk commented on pull request #215:
URL: https://github.com/apache/couchdb-docker/pull/215#issuecomment-1029560808


   Ah, good catch, thanks.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@couchdb.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org