You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@couchdb.apache.org by "Jan Lehnardt (JIRA)" <ji...@apache.org> on 2011/04/16 23:50:05 UTC

[jira] [Commented] (COUCHDB-1086) Improve config file write-back behavior.

    [ https://issues.apache.org/jira/browse/COUCHDB-1086?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13020670#comment-13020670 ] 

Jan Lehnardt commented on COUCHDB-1086:
---------------------------------------

local.ini should take precedence.

I'm a bit hazy on the use-case for local.d if we never write back to anything but local.ini. Maybe it was though that plugins could have their own write-back files, but CouchDB doesn't support any of that. Maybe Noah remembers?

Either way, geocouch.ini should go in default.d.

> Improve config file write-back behavior. 
> -----------------------------------------
>
>                 Key: COUCHDB-1086
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-1086
>             Project: CouchDB
>          Issue Type: Improvement
>          Components: Futon
>         Environment: Ubuntu 10.04
>            Reporter: Michael Wiederhold
>            Priority: Minor
>
> 1) I install couchdb and change the bind address in default.ini to 0.0.0.0 so I can access couch remotely.
> 2) In futon I change the bind address to 127.0.0.1 and then refresh the web page an the web ui disappears.
> 3) I go back into the config file default.ini and the bind address is still 0.0.0.0.
> 4) I then go into local.ini and there is nothing except for comments.
> 5) I restart the server and it binds to 127.0.0.1 and I cannot see futon.
> The issue is that when changing the bind address in futon, futon puts the new address in the config file with the highest priority which is in this case the geocouch config file, but the proper place to put the new bind address is in local.ini.
> I marked this as critical because I can see it affecting a decent amount of users. Should be a quick fix.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira