Questions tagged [couchdb]

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 distinguishing features is easy replication.

Filter by
Sorted by
Tagged with
2 votes
0 answers
19 views

CouchDB replication tanks performance

We have an API implemented in Tornado using CouchDB as it's backend. Usually, queries to CouchDB finishes in less than 50ms. But lately, queries takes up to 250ms, sometimes more. After some New Year'...
  • 4,998
1 vote
0 answers
50 views

Couchdb 3.1.1 increases disk latency gradually over weeks

I've been dealing with this issue for weeks now. I have the followin scenario: couchdb2.3.1-A <===> couchdb2.3.1-B <===> couchdb3.1.1-A <===> couchdb3.1.1-B where <===> ...
-1 votes
2 answers
113 views

GCP Local SSD dissapeared

I am running a Kubernetes cluster in GCP and using a local SSD as the persistent disk for a CouchDB service. I've checked today and the disk just disappeared, it is not accessible anymore and thus I ...
1 vote
0 answers
168 views

Configuring CouchDB with Lets Encrypt SSL certificate

I basically have exactly the same issue as configure CouchDB with Lets Encrypt SSL certificate, so have followed this answer. But it's still not working. I've started with the Bitnami CouchDB VM on ...
  • 111
1 vote
1 answer
186 views

CouchDB deleted database shards

Currently running clustered CouchDB v3.1.1 on an AWS EC2 Instance q=2 n=3 Number of Nodes: 1 I have moved the database directory to another drive on my VM. But can't find any on the documents ...
  • 11
0 votes
1 answer
67 views

Changing couchdb database directory leads to 502 error

I am currently running a couchdb server on AWS M5ad.xlarge instance. I have mounted the 150 gb drive separately. I am trying to point the couchdb data directory to the mounted drive. However, when I ...
0 votes
1 answer
818 views

Allow read/write to any CouchDB database for non-admins

I have a CouchDB instance where I have created an admin user, so that way only the admin user(s) can create and delete databases. I am able to create the database just fine as the admin user, but if I ...
  • 101
0 votes
0 answers
345 views

CouchDb SSL certificate

I'm currently trying to get my CouchDb installation up and running with a SSL certificate. My configuration is as follows: [ssl] port = 6984 enable = true cert_file = /ssl/bws2020.crt key_file = /ssl/...
0 votes
2 answers
376 views

How to make a secure communication between nodes for replication?

I searched for the best way to establish a replication between two servers with CouchDB but I do not find any infomation on it. The manual in https://docs.couchdb.org/en/stable/setup/cluster.html does ...
3 votes
2 answers
697 views

How to host CouchDB with Fauxton at a non-root location using Nginx as reverse proxy

CouchDB is bundled with a version of Fauxton that has a critical bug that prevents Fauxton from working if CouchDB is hosted at a non-root location. So if you want to host CouchDB at /couchdb, then ...
  • 153
1 vote
0 answers
60 views

Install COUCHDB and OPA(Open policy Agent) on SUSE Linux machine

I am trying to Install COUCHDB and OPA on SUSE Linux machine. And I am trying to get correct package or repo which could be compatible with SUSU, But I am not able to find correct solution so far. It ...
  • 11
0 votes
0 answers
676 views

Fauxton behind Nginx is not fully working, what are the expected headers?

Fauxton (CouchDB manager) behind Nginx is not fully working. Following Nginx block from CouchDB Wiki is not working at all: location /couchdb { rewrite /couchdb/(.*) /$1 break; proxy_pass ...
  • 208
0 votes
2 answers
1k views

Firewalld seems to be blocking connecting to my CouchDB 2.0

I'm trying to set up a CouchDB 2.0 instance up on my CentOS 7 server. I've got it installed and running as a systemd service and it responses with its friendly hello world message when I access it ...
3 votes
0 answers
1k views

CouchDB slow performance in Docker with "host" network vs. "bridge

I noticed the dockerd and docker-proxy processes were using more CPU than expected, 15% and 24% respectively, so I decided to use the "host" network to avoid the overhead. However, the results I got ...
2 votes
1 answer
1k views

warning: couchdb: unable to open supervise/ok: file does not exist - Runit

I was trying to run couchdb with runit, and I encountered the error above. Even this, this and many others didn't help me in knowing what the problem is. Here was what I did to produce the problem. ...
3 votes
0 answers
983 views

CouchDB 2.0 Cluster installation

I am trying to setup a CouchDB cluster with 3 nodes in my local machine. I am using the official docker image from here: https://hub.docker.com/r/klaemo/couchdb/ First, I create 3 data volumes which ...
1 vote
1 answer
448 views

CouchDB replication recommended topologies

I am working on a proposal for a system with seven CouchDB servers (A,B,C,D,E,F,G) in different countries. The idea is to configure multi-master replication so that all data can be kept in sync. I ...
1 vote
1 answer
240 views

CouchDB init.d script for Trusty

I have installed CouchDB 1.6.1 on a Trusty box via the Apache CouchDB PPA (couchdb/stable). This all seems to work, except that I cannot start the service using service couchdb start (similarly for ...
1 vote
1 answer
310 views

Is it possible to replicate _users in CouchDB with a non-admin user, but "users_db_public = true"?

Via a non-admin user, I am able to GET any user with users_db_public = true and public_fields set to something valid without authorization problems, as expected. However I am getting 401 (Unauthorized)...
  • 203
0 votes
1 answer
524 views

Reverse proxy CouchDB web frontend (Futon) without exposing CouchDB API

Is it possible to just reverse proxy Futon, without exposing the CouchDB root and RESTful API? I have the following nginx config: server { # This should never be hit, as the port isn't open, # ...
1 vote
1 answer
205 views

Autoscaling with Nodejs on Google Compute Engine

I am trying to get my backend stuff up and running and I am looking into the best way to save money, my app does api request usually between 8:30 am and 8:30 at night, with the morning, lunch and ...
1 vote
1 answer
1k views

Howto use CouchDB behind Apache reverse proxy?

I just installed CouchDB from source on my Debian with apache 2.4.10. $ curl http://localhost:5984/ ...
  • 121
0 votes
1 answer
3k views

Couchdb service shuts down a second after start

I'm having problems getting the couchdb service running. When I start it, it only lives for a second or so before shutting itself down. Here's an example - first a status command showing it's inactive....
  • 103
0 votes
1 answer
295 views

Failure installing and running couchdb on Lubuntu

I'm trying to get started using CouchDB on a laptop where I recently installed Lubuntu (15.10). I'm having strange issues.. Yesterday, I installed CouchDB (sudo apt-get install couchdb) and it ran ...
  • 103
3 votes
1 answer
2k views

Apache couchDB service terminates on Windows 10 Single language

After rebboting the machine the Apache CouchDB service seems to be stopped, if we manually starts , its getting started. Ihave checked the eventviewer got the folowing errors. Kindly help me t o ...
  • 31
7 votes
3 answers
4k views

configure CouchDB with Lets Encrypt SSL certificate

What i would like to do: Now I'm using a self signed SSL certificate which works wonderful. But I would like to replace them with an official one of lets encrypt. What i have (self signed certificate)...
  • 171
1 vote
0 answers
675 views

CouchDB Authentication and Security

i used this link to install CouchDB on virtual machine http://depth-first.com/articles/2010/01/28/pubcouch-install-couchdb-on-ubuntu-karmic-from-source/ everything goes fine, after that i tried to ...
2 votes
4 answers
5k views

CouchDB: user creation without authentication. standard behavior?

Sorry for this rather yes/no question, but I haven't found the document that would clarify it, or I must have missed it here. Is it standard behaviour that you can simply create a new user entry to a ...
  • 203
1 vote
1 answer
2k views

Increment CouchDB concurrent connections

I'm using CouchDB to serve thousands of requests per second. When under heavy load, it seems to respond slowly so I began to ran tests with apache bench. Couch can respond 50k requests, 1k concurrent. ...
  • 121
0 votes
0 answers
85 views

What could make upload speeds vastly differ in CouchDB vs Apache?

Imagine a server running CouchDB (on port 5984) and Apache (on port 80). Sending a 10MB POST to each servers yields wildly different results; it takes an average of 1-minute 30-seconds for POST'ing to ...
1 vote
1 answer
2k views

Installation problems with CouchDB 1.6 on Ubuntu 15.10

After using CouchDB 1.4 on Ubuntu 14.04, I recently tried to start fresh with 15.10 and the main couchdb package. It installed couchdb 1.6 which was a welcome change, but the ubuntu installation ...
5 votes
2 answers
4k views

CouchDB replicate ALL databases?

I have a CouchDB I'd like to replicate to another server in order to do backup dumps without taxing the production server. The production CouchDB has a varying number of databases and I'd like to sync ...
2 votes
2 answers
2k views

How can I force mod_rewrite to send user info component of a URI?

A colleague recommended I repost this from StackOverflow to ServerFault: This has been driving me crazy. I have a web application that's being served via Apache Web Server. The database server that ...
1 vote
1 answer
485 views

couchdb public access - start failures eaddrnotavail

If I start the couchdb service it fails and with journalctl-xe i can see the following: start request repeated too quickly for couchdb.service And when i do couchdb -i i get the following error: ...
1 vote
0 answers
877 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 ...
  • 1,415
1 vote
0 answers
155 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 ...
  • 111
0 votes
1 answer
362 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 ...
  • 103
4 votes
3 answers
4k 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 - ...
  • 141
1 vote
2 answers
2k 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
2 answers
6k 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 ...
  • 101
0 votes
1 answer
405 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 ...
  • 388
1 vote
3 answers
863 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 in ...
  • 388
1 vote
1 answer
365 views

CouchDB Error log msg [closed]

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] [...
  • 153
2 votes
4 answers
3k 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 http://wiki.apache.org/couchdb/...
0 votes
1 answer
791 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)
3 votes
2 answers
785 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 ...
  • 400
1 vote
0 answers
1k 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", "...
  • 420
0 votes
1 answer
1k 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 ...
  • 203
0 votes
1 answer
530 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. ...
1 vote
1 answer
986 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/ % ...
  • 173