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

17
votes
6answers
17k views

Why can't I access my CouchDB instance externally on Ubuntu 9.04 server?

Update: I got it working now. Jim Zajkowski's answer helped me detect that my /etc/init.d/couchdb reboot calls weren't actually rebooting the instance. After I manually killed the CouchDB processes ...
9
votes
1answer
2k views

How to avoid restarting Apache proxy when you restart CouchDB

I'm running a localhost CouchDB instance using CouchDBX on my Mac, proxied behind Apache 2 using the ProxyPass directive: <VirtualHost *:80> ServerName playlick # points to localhost in ...
6
votes
2answers
2k views

Scalable CouchDB setup

I want to migrate an existing application that has approx. 10 million records stored in a relational database to CouchDB. The thing that I love about CouchDB is easy replication and fast cached views. ...
4
votes
2answers
859 views

CouchDB cross domain access from web?

Currently, web application need to offer some kind of cross-domain HTTP header to access data on other domain: http://openfontlibrary.org/wiki/Web_Font_linking_and_Cross-Origin_Resource_Sharing Is ...
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 ...
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 ...
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 ...
3
votes
3answers
482 views

Any suggestions on emitting Apache HTTPd access logs to CouchDB?

I'm interested in sending Apache2 access logs directly to CouchDB or some other document storage system. Do you know of any Apache2 modules that do this, or what options there would be to write one ...
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
2answers
2k views

Upgrade default install of CouchDB on Ubuntu 10.04

I've installed ubuntu 10.04 LTS, and ran apt-get install couchdb. This installed 0.10.0, however the newest is 0.11.0 and I would like to install that from source. What's the appropriate way of ...
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 ...
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 ...
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 ...
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 ...
2
votes
2answers
562 views

How to install couchdb 0.10 on Ubuntu 8.04 LTS?

How to install couchdb 0.10 on Ubuntu 8.04 LTS ? I get an error : erlang wrong version ...
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 - ...
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 ...
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 ...
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
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 ...
1
vote
1answer
476 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 ...
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
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 ...
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
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 ...
1
vote
2answers
1k views

Storing Hundreds of Millions of Records

My company will be coming into possession of a dataset consisting of approximately 200-300 million records. The source material is csv and is about 150GB uncompressed. We would need to perform an ...
1
vote
2answers
97 views

Need simple, fast way to store large gobs of xml to a server

Our client software is currently sending large amounts of xml to our SQL Server db, stored as NTEXT, and the db is getting huge and performance is suffering. This xml doesn't need to be indexed, just ...
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 ...
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", ...
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: ...
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 ...
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
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
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
1answer
372 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
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 ...
0
votes
3answers
1k views

How to access a service inside a linux virtual machine

I've recently installed linux using Sun's VirtualBox. I was wanting to play around with CouchDB, so I installed it onto the linux vm and have it up and running. Now, how do I get my host (Win7) to ...
0
votes
2answers
139 views

How to autostart apps in OS X as a different user

I am playing with CouchDB and whenever I do, I first have to issue sudo couchdb -i -u couchdb couchdb -b This starts CouchDB as the user couchdb, group couchdb. I then also have to enter my ...
0
votes
1answer
945 views

CouchDB 0.11 on Ubuntu 10.04

i have successfully installed CouchDB 0.11 on Ubuntu 10.04 based on the Installation instruction in couchdb wiki for ubuntu 10.04. with appending " --bindir=/usr/bin --sbindir=/usr/sbin ...
0
votes
1answer
753 views

Couchdb failing test suite on Linux

I've been trying to install CouchDB on my webfusion virtual server. I followed the latest instructions from the webfusion forum (see: http://forum.webfaction.com/viewtopic.php?id=2355 ) and it runs ...
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 ...
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
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
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
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
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 ...
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
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 ...
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 ...