Return-Path: X-Original-To: apmail-couchdb-user-archive@www.apache.org Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id C780C9664 for ; Wed, 1 Feb 2012 03:13:28 +0000 (UTC) Received: (qmail 10917 invoked by uid 500); 1 Feb 2012 03:13:27 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 9806 invoked by uid 500); 1 Feb 2012 03:13:18 -0000 Mailing-List: contact user-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@couchdb.apache.org Delivered-To: mailing list user@couchdb.apache.org Received: (qmail 9765 invoked by uid 99); 1 Feb 2012 03:13:15 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Feb 2012 03:13:15 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [209.85.220.180] (HELO mail-vx0-f180.google.com) (209.85.220.180) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Feb 2012 03:13:09 +0000 Received: by vcbfo1 with SMTP id fo1so894531vcb.11 for ; Tue, 31 Jan 2012 19:12:48 -0800 (PST) Received: by 10.220.227.133 with SMTP id ja5mr15077136vcb.26.1328065968158; Tue, 31 Jan 2012 19:12:48 -0800 (PST) MIME-Version: 1.0 Received: by 10.220.117.205 with HTTP; Tue, 31 Jan 2012 19:12:28 -0800 (PST) In-Reply-To: References: From: Jason Smith Date: Wed, 1 Feb 2012 10:12:28 +0700 Message-ID: Subject: Re: duplicate lines in futon config screen To: user@couchdb.apache.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 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 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" wrote: > >> More on this. =C2=A0Commenting out the options in default.ini only made = futon >> look right. =C2=A0The actual instance of couch is running on the origina= l >> options. =C2=A0I don't even know where it gets them since they are comme= nted >> out. >> >> >> On Tue, Jan 31, 2012 at 4:17 PM, Mark Hahn wrote: >> >> > Correction: =C2=A0Commenting out the options in default.ini did fix th= e >> > problem. =C2=A0So 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 wrote: >> > >> >> I installed a fresh build of couch using build-couch. >> >> >> >> I replaced /root/build-couchdb/build/etc/default/couchdb with this ..= . >> >> >> >> COUCHDB_USER=3Droot >> >> COUCHDB_STDOUT_FILE=3D/mnt/db/stdout.log >> >> COUCHDB_STDERR_FILE=3D/mnt/db/stderr.log >> >> COUCHDB_RESPAWN_TIMEOUT=3D5 >> >> COUCHDB_OPTIONS=3D >> >> >> >> I then replaced the local ini file with this ... >> >> >> >> [couchdb] >> >> =C2=A0database_dir =C2=A0 =3D /mnt/db/couch_dbs >> >> view_index_dir =3D /mnt/db/couch_views >> >> uri_file =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0=3D /mnt/db/couch.u= ri >> >> >> >> [httpd] >> >> bind_address =3D 0.0.0.0 >> >> >> >> [couch_httpd_auth] >> >> secret =3D ...snip... >> >> require_valid_user =3D true >> >> >> >> [log] >> >> level =3D debug >> >> include_sasl =3D false >> >> file =3D /mnt/db/couch.log >> >> >> >> [admins] >> >> root =3D ...snip... >> >> >> >> [uuids] >> >> algorithm =3D utc_random >> >> >> >> Then I started couch with: =C2=A0/root/build-couchdb/build/bin/couchd= b start >> >> >> >> Now when I go to the configuration screen in futon I see two lines fo= r >> >> each option that I put in local.ini. =C2=A0One has the old default va= lue and >> one >> >> is my new. =C2=A0What is really weird is that commented out lines in = my >> >> default.ini file that were overridden in local.ini and I'm still gett= ing >> >> the identical problem! =C2=A0It is as if there is a hidden .ini file >> somewhere. >> >> >> >> Has anyone seen this problem? =C2=A0Any ideas what is wrong? >> >> >> >> >> >> >> > >> --=20 Iris Couch