gambolputty commented on issue #741: error "Unauthorized" (401) when loading "_security"-doc URL: https://github.com/apache/couchdb/issues/741#issuecomment-321590559 Previously I had CouchDB 1.6 installed and it worked perfectly fine. Then I upgraded to 2.1.0, but purged the installation, because I had difficulties migrating my old DBs to the new installation (also replicating failed during the "verify installation"-process in Fauxton). I installed 2.1.0 via `apt-get` as described in the [docs](http://docs.couchdb.org/en/2.1.0/install/unix.html#installation-using-the-apache-couchdb-convenience-binary-packages). Regarding your questions, @wohali: 1. Same results with `require_valid_user` set to `false`. 2. Admins are set in `/op/couchdb/etc/local.d/10-admins.ini`. Values in `/op/couchdb/etc/local.ini` seem to be ignored (as I realize by now thx to @dharders) 3. It took me just one CURL command to get this behaviour (the one I posted above) ``` file: /op/couchdb/etc/local.d/10-admins.ini # Package-introduced administrative user [admins] admin = longstring [couchdb] uuid = 6424d76bc3dd3cd9ab9ef6edfad80786 [couch_httpd_auth] secret = longstring [httpd] enable_cors = true allow_jsonp = false [cors] credentials = true origins = * headers = accept, authorization, content-type, origin, referer methods = GET, PUT, POST, HEAD, DELETE [chttpd] bind_address = 0.0.0.0 port = 5984 require_valid_user = false [cluster] n = 1 ``` ---------------------------------------------------------------- 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: [email protected]
With regards, Apache Git Services
