Apache CouchDB, commonly referred to as CouchDB, is an open source database that focuses on ease of use and on being "a database that completely embraces the web". It is a NoSQL database that uses JSON to store data, JavaScript as its query language using MapReduce and HTTP for an API. One of its ...

learn more… | top users | synonyms

3
votes
1answer
779 views

couchdb 1.6.0 from source - jsapi.h: present but cannot be compiled

I'm trying to install couchdb 1.6.0 from source on CentOS 6.5 (EPEL resository has a very old version unfortunately) following this guide. Everything went fine until ./configure step on couchdb - ...
2
votes
1answer
324 views

architectural questions on bigcouch cluster set up in two data centers

What would be an ideal setup for these requirements: -- can read and write data from both data center -- if either data center is lost, the other can take over The options I can think of : -- say if ...
1
vote
1answer
162 views

Chef with a secured couchdb

I've installed chef , which uses couchdb. It worked fine until i've secured couchdb by creating an admin user in couchdb giving and setting require_valid_user = true in default.ini as written here: ...
1
vote
1answer
318 views

BigCouch all_nodes vs cluster_nodes

I have a BigCouch cluster that I'm spinning up in EC2. I've launched the instances correctly and set the proper constants, but when I try to let the nodes know about each other, their "_membership" ...
1
vote
1answer
158 views

CouchDB shuts down for no apparent reason

My CouchDB server (on a CentOS 4 installation) sometimes shuts down without my knowing. I'm sure the server doesn't restart (looking at the uptime). I've looked in the logs (both the var/log ...
1
vote
1answer
400 views

How can I proxy couchDB as a sub-diectory with lighttpd?

I have a sub-directory on my web server (lighttpd) that I want to point at a CouchDB instance running on the same machine. I tried using mod_proxy but it sends along the whole request, like a proxy ...
0
votes
1answer
2k views

Access-Control-Allow-Origin “*” not allowed when credentials flag is true

I have an ajax request which connects to http://example.com:6001. However, it will work only when I open http://example.com:6001 in the browser, which loads index.html (which is run though Node.js on ...
0
votes
1answer
115 views

CouchDB Illegal Database name Can't View Data after Upgrade

I have upgrade my database to couchdb 1.4.0 and it has prefixed all my db names with 1.2.0/. Now when I try view or use the database it says "Error: illegal_database_name Name: '120/test'. Only ...
0
votes
1answer
162 views

CouchDB Will not start after upgrade

Tried on both 1.2.0 and 1.4.0, both error and will not start. The config files are default apart from my added user admins. Apache CouchDB 1.4.0 (LogLevel=info) is starting. {"init terminating ...
0
votes
1answer
561 views

Nginx and CouchDB reverse proxy not working

I am trying to proxy [http://localhost:5984] to [http://localhost/couchdb]. I am running nginx for proxy. I have followed the same method mentioned at ...
0
votes
1answer
126 views

CouchDB administrator password reset

I have an install of couchDB, and somewhere along the line, a malformed request via CURL has my admin accound with a password that I don't know. Short of setting up another Couch server, then ...
0
votes
1answer
348 views

automatically start and and selectively stop multiple instances of couchdb on osx

I have successfully installed couchdb via homebrew: % brew install couchdb ...and invoked mutiple instances as directed here: % OLD=/usr/local % NEW=/tmp/couchdb % mkdir -p $NEW/etc/couchdb/ % ...
0
votes
1answer
76 views

Starting couchdb without root

I want to run a non-system-wide couchdb instance (as a local, unprivileged user). But couchdb needs to be able to read /etc/couchdb/*.ini, which are -rwxrwx--- 1 couchdb couchdb, even if I tell it to ...
0
votes
1answer
103 views

Uninstalling couchdb built from source

Can anyone tell me how I uninstall a CouchDB installation built from source using build-couchdb? I deleted the build directory as they said, but I can still start and stop it and everything.
0
votes
1answer
130 views

CouchDB inaccessible on Amazon EC2

I am using an Amazon EC2 "micro" instance as a testbed for a new project, one that is supposed to use CouchDB. Although the DBMS has installed correctly (via pacman; I'm using ArchLinux) and appears ...
0
votes
1answer
151 views

CouchDB crashes at startup when path to config file has space(s)

I'm hoping to run CouchDB as a per-user Launch Agent on OS X. I'm using the coucdbx-core folder from the CouchDB Server.app as the base of my CouchDB deployment. I'd like each user to have their own ...
0
votes
1answer
172 views

start couchbase on osx 10.8 but couchbase menu dis not display

I follow the instruction at http://www.couchbase.com/docs/couchbase-manual-1.8/couchbase-admin-basics-running-macosx.html to run couchbase on osx 10.8 but the menu of couch base never display ...
0
votes
1answer
503 views

CouchDB like replication for MySQL?

Is it possible to setup CouchDB like replication for MySQL? Replication to be initiated from an web application. Replication should be a two way process. i.e. Synchronization If there is a failure ...
0
votes
1answer
125 views

CouchDB Errors: “undefined symbol: js_fgets” on Ubuntu 10.04

ServerFault Community. I have been wrestling with this problem for weeks without resolution and was hoping that someone here might be able to help. As indicated above, this is in Ubuntu 10.04 (x86) ...
1
vote
0answers
34 views

aws instance froze, how to find out what went wrong

So we have a instance on AWS that runs CouchDB which was down and not accessible until we rebooted the box (which took a long time). The instance is back up now and I am trying to figure out what ...
1
vote
0answers
378 views

CouchDB v1.2.0 - Timeout error on replication

Currently, I have a replication task that looks something like this: { "continuous": true, "create_target": true, "owner": "admin", "source": "https://remote/db/", "target": "db", ...
0
votes
0answers
14 views

appropriate traffic to load test couchdb horizontal scaling

I'm designing the CouchDB backend to my web application, and I want to estimate how many GETs and PUTs per second I can achieve with a given number of instances. (Arguably I should be testing view ...
0
votes
0answers
102 views

Bad HTTP Location: header with nginx proxying couchdb

I'm using nginx as a reverse proxy for CouchDB. I'd like to use a prefix for the proxy, e.g. http://[ip]:8080/proxy/testdb -> http://localhost:5984/testdb. I'm getting Location: headers in the HTTP ...
0
votes
0answers
74 views

NodeJS APP + CouchDB - 504 gateway

I have a NodeJS application deployed to openshift, with 3 full gears working. The app is connected to an external couchdb in iriscouch and gets data from there. So when I start the app the first time ...