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

1
vote
0answers
20 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 ...
0
votes
0answers
18 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 ...
0
votes
1answer
33 views

Supervisord cannot start CouchDB server on CentOS 5.9

I've installed CouchDB v1.0.4 and I want to monitor it's process with Supervisor (the version installed is 2.1.3). I can start CouchDB just fine with: $ /usr/bin/couchdb I have the following basic ...
2
votes
1answer
273 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 - ...
0
votes
0answers
23 views

CouchDB fails replication when using nested objects

I have set up openvpn and couchdb 1.1.0 across two Debian 6 machines. Replication is working, except the replicated documents are incomplete and missing some data, specifically a nested set of ...
1
vote
1answer
475 views

Proper config for Couchdb + SSL Ubuntu. Getting error: curl: (35) Unknown SSL protocol error in connection to 127.0.0.1:6984

I'm looking to use CouchDB with SSL and nodejs and I have just switched from self signed certificates (which were working for over a month) to a real SSL certificate and now I'm running into ...
0
votes
0answers
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
65 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
88 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
41 views

CouchDB Error log msg

I recently upgraded my server to CouchDB 1.5 and I'm continually seeing this error message in the logs. CouchDB appears to be behaving properly accept for this error. Fri, 14 Feb 2014 19:07:35 GMT] ...
0
votes
0answers
67 views

CouchDB random error server being shutted down

I´m having this error after some days of normal work of the couchDB 1.2. After this I have to restart the server manually. Here is the log part for this: [Tue, 04 Feb 2014 16:01:20 GMT] [error] ...
0
votes
1answer
362 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
33 views

Is it possible to replicate the _users database in CouchDB?

Is it possible to configure replication between the "_users" database on two instances of CouchDB? (currently using 1.4)
0
votes
0answers
38 views

Move a manual compile of CouchDB to the default locations and auto-start it?

I used build-couchdb to get a working current couchdb version. Now I want to move that to the default location on Ubuntu, define it as a server (so I can use service couchdb start) and finally start ...
2
votes
2answers
166 views

Couchdb attachment hashes don't match attachment content

While doing some auditing of a database, I found that some attachment content did not match the hashes given in the document's _attachments map. I tested this by downloading the document and ...
1
vote
0answers
262 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
1answer
49 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
82 views

install CouchDB without a package manager

I have the ability to shell into a Linux (RHEL6) server, and manage mostly everything, but I don't have root user abilities, so I can't use YUM or any of the available package managers on the box. ...
0
votes
1answer
247 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
60 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
90 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.
1
vote
1answer
353 views

Can't Access CouchDB Remotely

Please keep in mind that I have this installed on an Amazon EC2 instance running the latest version of Ubuntu Server. I have changed the bind_address to 0.0.0.0. netstat -an | grep 5984 yields the ...
0
votes
1answer
104 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 ...
3
votes
1answer
363 views

How to configure SSL for CouchDB

How do I configure Couchdb to use ssl, I've followed the instructions here with no success. I generate my own self-signed certificate: mkdir cert && cd cert openssl genrsa > privkey.pem ...
0
votes
0answers
663 views

How to setup CouchDB server?

Context: Mac OS X 10.6.8 Snow Leopard I have just installed CouchDB (using MacPorts). It runs fine locally on http://127.0.0.1:5984/_utils/index.html However, I can't quite figure how to make the ...
0
votes
1answer
133 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
119 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
146 views

Binding interface/domain to CouchDB

I'm running CouchDB on a windows 2008 Server and it works good on localhost (127.0.0.1) but when I try to change it to a specific IP or all interface (0.0.0.0) then it doesnt work. I would like to ...
0
votes
2answers
226 views

Why does CouchDB persist on my machine despite having removed it? And how do I remove it fully (Ubuntu 11.10)?

I want to reinstall CouchDB on my machine, but I need to remove it fully first. I removed both couchdb and couchdb-bin packages using sudo apt-get remove couchdb sudo apt-get purge couchdb ...
1
vote
1answer
137 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: ...
3
votes
1answer
632 views

Varnish purge on POST or PUT

In my application stack, I'm using CouchDB (in this scenario, to all intents and purposes it's a simple REST server) and I want to put Varnish in front of it to alleviate read load. I know that ...
2
votes
1answer
289 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 ...
2
votes
1answer
136 views

CouchDB plugin for Wireshark?

I am trying to understand CouchDB network traffic with Wireshark and find it very difficult. A simple transaction with plain-text content seems to result in many lines in Wireshark, most of them ...
0
votes
2answers
532 views

How do I completely remove all references to couchdb from Ubuntu 11.10?

I have removed and purged couchdb from Ubuntu, but if I type "couchdb" in the shell at any point, the system still tries to start it up before crashing. I checked /usr/bin, and I still have references ...
0
votes
2answers
271 views

CouchDB/xulrunner hang on Ubuntu 10.04 LTS

I have an Ubuntu 10.04 LTS box setup as a Chef server. This was all working fine until the first time the box was rebooted, after which the following three (possibly unrelated) things happened: ...
1
vote
1answer
503 views

How to change couchdb time-zone setting in log file?

I having an strange situation, in futon, the JavaSCript shell is returning date time in GMT+8, which is inline with the server timezone. However, when I tail the log file, it is showing GMT -3, 11 ...
4
votes
1answer
214 views

Filesystem compression a good idea for CouchDB storage?

I'm hosting CouchDB databases on Amazon EC2, and I was wondering if I can have better I/O performance (and better disk utilization, of course) if I use a filesystem that supports compression. I ...
2
votes
1answer
371 views

CouchDB test suite gives 502 Bad Gateway behind Nginx proxy?

I installed CouchDB on my Ubuntu server from the stable PPA. Then I put this in my nginx.conf: server { listen 80; server_name couchdb.mydomain.com; location / { proxy_pass ...
1
vote
1answer
288 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
255 views

Couchdb v1.1.0 `Object.keys is not a function`

On my local osx setup, I have couchdb v1.0.2 installed. I wrote several script against this version all of which worked fine. On my remote debian 6 server, I originally had couch v0.11.0 installed. ...
1
vote
2answers
209 views

Couchdb removal

I am trying to remove couchdb in my Ubuntu Server ( 10.04 ) and I received the following error: dpkg: error processing couchdb (--purge): Package is in a very bad inconsistent state - you should ...
1
vote
1answer
413 views

Chef clients are unable to connect after Ubuntu upgrade

After I upgraded Ubuntu on my chef server from 10.04 to 10.10, all my knife and chef clients stopped working. I received 401: Unauthorized exceptions for every query and operation. I tried ...
1
vote
2answers
404 views

CouchDB setup issues. RHEL6

I recently started an EC2 instance to test some couchdb projects, but for some reason I cannot seem to access the database. Port 5984 is open on both RHEL and in the security group, but I get cannot ...
0
votes
1answer
692 views

MongoDB (or CouchDB) on a desktop machine?

If I try to run MongoDB on a desktop-grade machine, what performance should I expect? Let's suppose I'll have a regular SATA drive, something like Core 2 Duo and 4 or 8 GB of RAM. Will it be ...
1
vote
1answer
587 views

installing CouchDB 1.0.1 on Ubuntu 10.04 using http://www.couch.io/get#ubuntu

stall couc I was wondering what are the steps do i need to perform for installing couchdb using the package from http://www.couch.io/get#ubuntu ? I understand that i need to run sudo chmod a+x ...
2
votes
5answers
5k views

How to remove all Couchdb versions in Ubuntu 10.04 (server)? ( after multiple installs )

I have done multiple installs of CouchDB using sudo aptitude install couchdb sudo ap-get install couchdb and more recently based on the instructions found at L ...
2
votes
4answers
2k views

File store: CouchDB vs SQL Server + file system

I'm exploring different ways of storing user-uploaded files (all are MS Office documents or alikes) on our high load web site. It's currently designed to store documents as files and have a SQL ...
1
vote
1answer
224 views

CouchDB replication of HA CouchDB pairs

What would be the best approach for CouchDB replication in the following setup: A1 and A2 are two CouchDB servers in one DC. They both pull data from each other, although only one is actively used, ...
1
vote
1answer
157 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
2answers
2k views

How can I make sure an init.d-script runs after network-interfaces received their addresses over DHCP?

I just installed couchdb on a debian5 system and added symlinks to the /etc/init.d/couchdb-script. Unfortunately, this script gets triggered on startup before the network interface received the ...