maybe a cooky question but related, is it possible to specify any of this config in the local.ini on the command line?

I was going to setup some CI in Jenkins, and to allow concurrent tests to run, it would be nice to just specify some of this dynamically on the fly? Otherwise I can just build out the same number of configs as queues.

- Jim

Jim Klo
Senior Software Engineer
Center for Software Engineering
SRI International

On Apr 19, 2012, at 12:41 PM, Dave Cottlehuber wrote:

On 19 April 2012 20:57, Heather Airoldi <> wrote:
Thanks for the instructions Dave.  I followed your method on the Wiki, but unfortunately it does not seem to be working for me.  running the "couchdb -i -a /tmp/couchdb/etc/couchdb/local.ini" command after following the instructions says that Apache CouchDB is running, but when I try to access localhost:5985 it can't connect.  Any idea what I did wrong?  Here is my new /tmp/couchdb/etc/couchdb/local.ini file:

; CouchDB Configuration Settings

; Custom settings should be made in this file. They will override settings
; in default.ini, but unlike changes made to default.ini, this file won't be
; overwritten on server upgrade.

;max_document_size = 4294967296 ; bytes
database_dir = /tmp/couchdb/var/lib/couchdb
view_index_dir = /tmp/couchdb/var/lib/couchdb
uri_file = /tmp/couchdb/var/run/couchdb/couch.uri

port = 5985
bind_address =
; Options for the MochiWeb HTTP server.
;server_options = [{backlog, 128}, {acceptor_pool_size, 16}]
; For more socket options, consult Erlang's module 'inet' man page.
;socket_options = [{recbuf, 262144}, {sndbuf, 262144}, {nodelay, true}]

; Uncomment next line to trigger basic-auth popup on unauthorized requests.
;WWW-Authenticate = Basic realm="administrator"

; Uncomment next line to set the configuration modification whitelist. Only
; whitelisted values may be changed via the /_config URLs. To allow the admin
; to change this value over HTTP, remember to include {httpd,config_whitelist}
; itself. Excluding it from the list would require editing this file to update
; the whitelist.
;config_whitelist = [{httpd,config_whitelist}, {log,level}, {etc,etc}]

;_google = {couch_httpd_proxy, handle_proxy_req, <<"">>}
"/tmp/couchdb/etc/couchdb/local.ini" 81L, 320

From: Dave Cottlehuber []
Sent: Thursday, April 19, 2012 5:35 AM
Subject: Re: Running a dev instance of Couch

On 19 April 2012 10:46, Dave Cottlehuber <> wrote:
mkdir -p $NEW/var/{lib,etc,run}/couchdb/
[additional embarrassing errors omitted]

Typically I flubbed the cut-n-paste, a corrected version is on the
wiki so that future foobars will not be recorded in mailing list
perpetuity for my eternal shame.

Do you have the [log] section too?

file = /tmp/couchdb/var/log/couchdb/couch.log

If you do IRC, pop on & ping me @dch if this isn't working still.