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
0
votes
0answers
11 views

How to access Fauxton (Couchdb) 5984 in a Docker Container within a Azure Ubuntu Linux VM?

In the VM there are two docker containers port 3000 is the webapp and port 5984 is the couchdb. I opened the 3000 and 5984 ports in firewall, tried all suggestions, I am unable to get the FauxtonUI i ...
0
votes
1answer
12 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
1answer
31 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 ...
0
votes
0answers
17 views

CouchDB automatic compaction on replicate

I started latest CouchDB (3.1) using Docker image from Dockerhub. It started using docker-compose file provided below. After setting continuous replication from older version of CouchDB (1.6) that is ...
0
votes
0answers
13 views

CouchDB connections stay open

When I make HTTP requests to the CouchDB API, I've seen that the connections stay open and don't close automatically. This causes the CouchDB server to reach the limit of simultaneous connections ...
0
votes
0answers
85 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
0answers
41 views

Windows Docker Couchdb Error kernel-poll not supported: “K” parameter ignored

I am trying to run couchdb using docker in a Windows Server 2016 guest VM. When I execute docker start couchdb from an elevated PowerShell session the container fails. When I execute docker logs ...
0
votes
2answers
72 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 ...
0
votes
0answers
33 views

CouchDB bind to both IPv4 and IPv6

I have a CouchDB instance (v2.3.1) hosted on a Ubuntu 18.04 server (Digital Ocean droplet). I would like to make it accessible from both IPv4 and IPv6 networks. I changed the /etc/couchdb/local.ini ...
3
votes
2answers
192 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 ...
1
vote
0answers
29 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 ...
0
votes
0answers
529 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 ...
0
votes
2answers
739 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
0answers
844 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 ...
1
vote
0answers
862 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
0answers
969 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
1answer
292 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
1answer
216 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
1answer
253 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)...
0
votes
1answer
462 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
1answer
134 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
1answer
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/ ...
0
votes
1answer
2k 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....
0
votes
1answer
289 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 ...
3
votes
1answer
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 ...
7
votes
4answers
3k 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)...
1
vote
0answers
578 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
4answers
4k 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 ...
1
vote
1answer
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. ...
0
votes
0answers
83 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
1answer
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
2answers
3k 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 ...
1
vote
1answer
1k 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
1answer
405 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
0answers
639 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
vote
0answers
112 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
1answer
333 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 ...
3
votes
3answers
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 - ...
1
vote
2answers
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
2answers
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 ...
0
votes
1answer
382 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 ...
1
vote
3answers
744 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 ...
1
vote
1answer
318 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] [...
2
votes
4answers
2k 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
1answer
646 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
2answers
717 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
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", "...
0
votes
1answer
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 ...
0
votes
1answer
503 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
1answer
930 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/ % ...