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
23 views

Can't get my couchdb instance to take new parameters into account

I am running Ubuntu Server 18.04 and CouchDB 2.3.1. I looked at this question and that one as well but to no avail. I have changed the bind adress in Fauxton from 0.0.0.0 to 127.0.0.1 thus losing ...
0
votes
0answers
418 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
480 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
764 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
655 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
948 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
243 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
191 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
212 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
418 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
votes
1answer
961 views

can't connect to couchdb remotely

I am trying to connect to Couchdb remotely, however, I just get Unable to connect . I can ssh into the server (actually just a Raspberry pi currently) through an ASUS router. netstat -an | grep ...
1
vote
1answer
119 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
1k 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
282 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
1k 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 ...
6
votes
3answers
2k 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
472 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
3answers
3k 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
1k 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
1k 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 ...
4
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
896 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 ...
0
votes
1answer
371 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
549 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
103 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
313 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
5k 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
356 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
687 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
289 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] [...
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
598 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)
2
votes
2answers
669 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
488 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
902 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
159 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
157 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.
2
votes
1answer
1k 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
339 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 ...
4
votes
2answers
2k 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
1answer
375 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
245 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
555 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
701 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 However, ...