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

16
votes
6answers
16k 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
825 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
197 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
230 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
552 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
467 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
4k 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
1k 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
1k 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
125 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
93 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
341 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
560 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
259 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
229 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
217 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
1answer
199 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
398 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
388 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
582 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
209 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
1k 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
967 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
153 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
107 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
421 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
264 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
197 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
151 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
351 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
182 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
957 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
138 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
940 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
719 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
26 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
14 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
67 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
444 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
638 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
14 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
849 views

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

I have this ajax request running that connects to http://xxx.com:6001 But will only work when I open http://xxx.com:6001 in the browser, where an index.html is located, and run though Node.js at port ...
0
votes
1answer
18 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
32 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
0answers
36 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
140 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
0answers
26 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 ...