[
https://issues.apache.org/jira/browse/COUCHDB-1936?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13825756#comment-13825756
]
Will Perry commented on COUCHDB-1936:
-------------------------------------
It's the only setting that seems to be getting re-created and causing issues. I
don't know what other settings fail to be read correctly, and adding a newline
at the top of the file definitely resolves the issue.
Definitely could be a windows line endings issue!
Thanks,
Will
> First inifile section ignored if at first line of file
> ------------------------------------------------------
>
> Key: COUCHDB-1936
> URL: https://issues.apache.org/jira/browse/COUCHDB-1936
> Project: CouchDB
> Issue Type: Bug
> Components: Database Core
> Reporter: Will Perry
>
> If local.ini does not have a blank/comment as it's first line, then config
> settings in the first section are ignored.
> Imagine:
> [couchdb]\n
> uuid=fafaad266ad7c9ea492a2f857a699738\n
> If this ini file is used, and couchdb is booted, a new UUID config setting
> will be created, like:
> [couchdb]\n
> uuid=fafaad266ad7c9ea492a2f857a699738\n
> \n
> [couchdb]\n
> uuid=123412341234123412341234123412\n
> However, if the first line in the file is **not** a section start (i.e., a
> comment or a new line) then this issue does not occur:
> ; this is a comment\n
> [couchdb]\n
> uuid=fafaad266ad7c9ea492a2f857a699738\n
--
This message was sent by Atlassian JIRA
(v6.1#6144)