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/11/28 19:31:30 UTC

[GitHub] DionBar opened a new issue #1027: _utils/#setup issue

DionBar opened a new issue #1027: _utils/#setup issue
URL: https://github.com/apache/couchdb/issues/1027
 
 
   ## Issue
   
   An in-place upgrade from couchdb 1.3.1 to 2.1.1 was performed. When clicking on "Configure Node" on http://127.0.0.1/_utils/#setup/singlenode the following error is generated:
   
   {"error":"illegal_database_name","reason":"Name: '_cluster_setup'. Only lowercase characters (a-z), digits (0-9), and any of the characters _, $, (, ), +, -, and / are allowed. Must begin with a letter."}
   
   I tried to configure via CLI but it does not look to be working:
   
   root@ip-10-111-156-208:/opt/couchdb/data# curl -X POST -H "Content-Type: application/json" http://username:password@127.0.0.1:5984/_cluster_setup -d '{"action": "enable_single_node", "username": "username", "password":"password", "bind_address":"0.0.0.0", "port":5984, "singlenode":true}'
   {"ok":true}
   
   (Not sure if this part is needed)
   root@ip-10-111-156-208:/opt/couchdb/data# curl -X POST -H "Content-Type: application/json" http://username:password@127.0.0.1:5984/_cluster_setup -d '{"action": "finish_cluster"}'
   {"ok":true}
   
   root@ip-10-111-156-208:/opt/couchdb/data# curl -X GET http://username:password@127.0.0.1:5984/_cluster_setup
   {"state":"single_node_disabled"}
   
   ## Environment
   
   CouchDB 2.1.1
   
   Ubuntu 12.04.5 LTS
   
   Linux ip-10-111-156-208 3.2.0-126-virtual #169-Ubuntu SMP Fri Mar 31 14:47:56 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

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