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:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to