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 2018/01/02 08:19:10 UTC

[GitHub] qualisign opened a new issue #1084: Can't create user in CouchDB - nonode@nohost is down

qualisign opened a new issue #1084: Can't create user in CouchDB - nonode@nohost is down
URL: https://github.com/apache/couchdb/issues/1084
 
 
   
   
   I'm trying to create a new admin user in CouchDB. A comment left here states that I should create a new admin like this:
   
   `curl -X PUT $HOST/_node/nonode@nohost/_config/admins/root -d '"super_secret"'`
   
   When I run this command I get the following error:
   
   `{"error":"nodedown","reason":"nonode@nohost is down"}`
   
   What could be causing this, and what can I do to create a new admin if this doesn't work?
   
   I expect to see a sussess message. 
   
   When I view the list of current nodes I get the following:
   
   ```
   curl http://localhost:5984//_membership
   {"all_nodes":["couchdb@localhost"],"cluster_nodes":["couchdb@localhost"]}
   ```
   
   

----------------------------------------------------------------
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