I think I have heard similar bug reports. I suspect it is a bug. Either Couch is reading the .ini files wrong, or else it is not detecting a problematic config file setup.
Maybe the dev@ list would have some insights, or you might submit a JIRA ticket about it. On Wed, Feb 1, 2012 at 7:27 AM, Dan Smythe <[email protected]> wrote: > Mark I haven't worked with couch forever, but I bet you could strace the > couch process when it starts and look at all the fread calls to find out > what files its reading. > On Jan 31, 2012 5:23 PM, "Mark Hahn" <[email protected]> wrote: > >> More on this. Commenting out the options in default.ini only made futon >> look right. The actual instance of couch is running on the original >> options. I don't even know where it gets them since they are commented >> out. >> >> >> On Tue, Jan 31, 2012 at 4:17 PM, Mark Hahn <[email protected]> wrote: >> >> > Correction: Commenting out the options in default.ini did fix the >> > problem. So now the problem is that futon is showing a merge of >> > default.ini and local.ini instead of local.ini overriding default.ini. >> > >> > >> > On Tue, Jan 31, 2012 at 3:58 PM, Mark Hahn <[email protected]> wrote: >> > >> >> I installed a fresh build of couch using build-couch. >> >> >> >> I replaced /root/build-couchdb/build/etc/default/couchdb with this ... >> >> >> >> COUCHDB_USER=root >> >> COUCHDB_STDOUT_FILE=/mnt/db/stdout.log >> >> COUCHDB_STDERR_FILE=/mnt/db/stderr.log >> >> COUCHDB_RESPAWN_TIMEOUT=5 >> >> COUCHDB_OPTIONS= >> >> >> >> I then replaced the local ini file with this ... >> >> >> >> [couchdb] >> >> database_dir = /mnt/db/couch_dbs >> >> view_index_dir = /mnt/db/couch_views >> >> uri_file = /mnt/db/couch.uri >> >> >> >> [httpd] >> >> bind_address = 0.0.0.0 >> >> >> >> [couch_httpd_auth] >> >> secret = ...snip... >> >> require_valid_user = true >> >> >> >> [log] >> >> level = debug >> >> include_sasl = false >> >> file = /mnt/db/couch.log >> >> >> >> [admins] >> >> root = ...snip... >> >> >> >> [uuids] >> >> algorithm = utc_random >> >> >> >> Then I started couch with: /root/build-couchdb/build/bin/couchdb start >> >> >> >> Now when I go to the configuration screen in futon I see two lines for >> >> each option that I put in local.ini. One has the old default value and >> one >> >> is my new. What is really weird is that commented out lines in my >> >> default.ini file that were overridden in local.ini and I'm still getting >> >> the identical problem! It is as if there is a hidden .ini file >> somewhere. >> >> >> >> Has anyone seen this problem? Any ideas what is wrong? >> >> >> >> >> >> >> > >> -- Iris Couch
