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 2017/10/18 13:10:56 UTC

[GitHub] pierrekilly commented on issue #749: couch_peruser is broken in 2.1.0

pierrekilly commented on issue #749: couch_peruser is broken in 2.1.0
URL: https://github.com/apache/couchdb/issues/749#issuecomment-337585148
 
 
   I have found a workaround:
   
   As setting the `couch_peruser` to `true` from Fauxton works well, I simply activate it "by hand" after the DB is started.
   
   In the script that starts the DB, I wait 10 seconds (to leave some time to the DB to start) and then:
   ```
   curl \
       -X PUT \
       --user "${adminUser}:${adminPass}" \
       --data '"true"' \
       "http://localhost:5984/_node/nonode@nohost/_config/couch_peruser/enable"
   ```
   (The admin username and password are taken from env variables in my case)
   
   Hope this helps!

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services