You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by "pavellzubkov (via GitHub)" <gi...@apache.org> on 2023/05/01 18:06:03 UTC
[GitHub] [couchdb] pavellzubkov commented on issue #2603: Can't start v.3.0.0 in docker
pavellzubkov commented on issue #2603:
URL: https://github.com/apache/couchdb/issues/2603#issuecomment-1530026126
@benel, @praveen-ap , @kernerdev , @git-AlexS huh) it is funny bug. i try right now with latest official image 3.3.2 version.
my docker compose -
```
version: '3'
services:
db:
image: couchdb:3.3.2
restart: always
volumes:
- ./etc:/opt/couchdb/etc/local.d
- ./data:/opt/couchdb/data
- ./log:/opt/couchdb/var/log
ports:
- "5984:5984"
```
local.ini admins part
```
[admins]
admin = -pbkdf2-468e5ac6817f98582967e49b0ee08f407786917d,b4ceba9e6d3f7c7f8f63e16a5b7ab533,10
; admin = -pbkdf2-40bdd84d22425e3b8419548b73eff92cb721bf7c,17682ea8c1f9a5342dadf8d5f94a8407,10
```
if write like above - then all work fine, but if local.ini contain commented row after [admins] then couch db fail to start with admin party error.
this don't work -
```
[admins]
; admin = -pbkdf2-40bdd84d22425e3b8419548b73eff92cb721bf7c,17682ea8c1f9a5342dadf8d5f94a8407,10
admin = -pbkdf2-468e5ac6817f98582967e49b0ee08f407786917d,b4ceba9e6d3f7c7f8f63e16a5b7ab533,10
```
this work fine without environment var admin -
```
[admins]
admin = -pbkdf2-468e5ac6817f98582967e49b0ee08f407786917d,b4ceba9e6d3f7c7f8f63e16a5b7ab533,10
; admin = -pbkdf2-40bdd84d22425e3b8419548b73eff92cb721bf7c,17682ea8c1f9a5342dadf8d5f94a8407,10
```
--
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