You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@couchdb.apache.org by Bian Ying <yb...@me.com> on 2016/07/31 08:39:50 UTC

Fwd: local.d/*.ini are not read by couchdb 2.0 rc2?

I guess developers here may give some insight to me. ;)

- Ying

Begin forwarded message:

> From: Ying Bian <yb...@me.com>
> Date: July 30, 2016 at 23:19:27 GMT+8
> To: user@couchdb.apache.org
> Subject: local.d/*.ini are not read by couchdb 2.0 rc2?
> Reply-To: user@couchdb.apache.org
> 
> Hi,
> 
> I’m using the official docker image of couchdb 2.0 rc2 and want to mount some local configuration under local.d. 
> Per document (http://docs.couchdb.org/en/1.6.1/config/intro.html) (does it still apply to 2.0?), it should work. But I
> just don’t make it. This is the command I used to start the container:
> 
> $ docker run -it -v /home/ybian/local.d:/opt/couchdb/etc/local.d -p 5984:5984 klaemo/couchdb:2.0-rc2
> 
> There is one *.ini file under /home/ybian/local.d where I added cors and admin user configuration. I also verified that
> this directory got mounted successfully by inspecting the container. But the configuration does not take any effect.
> Seems to me that the *.ini file under local.d was not read at all.
> 
> I also found that `couchdb -c` command mentioned in the doc above does not work to show configuration file chain 
> anymore.
> 
> Is local.d still expected to work in 2.0?
> 
> -Ying
> 

Re: local.d/*.ini are not read by couchdb 2.0 rc2?

Posted by Bian Ying <yb...@me.com>.
Thanks, Robert.

- Ying

> On Aug 1, 2016, at 06:11, Robert Newson <rn...@apache.org> wrote:
> 
> I filed a ticket for it. It'll work before final 2.0 release. 
> 
> Sent from my iPhone
> 
>> On 31 Jul 2016, at 22:48, Bian Ying <yb...@me.com> wrote:
>> 
>> Thanks for your response.
>> 
>> Can this make into rc3 or rc4? It's important for us to have configurations managed in local.d.
>> 
>> - Ying
>> 
>>> On Aug 1, 2016, at 00:44, Robert Samuel Newson <rn...@apache.org> wrote:
>>> 
>>> oooh, you might be right there. Fixable, thanks for catching it!
>>> 
>>> B.
>>> 
>>>> On 31 Jul 2016, at 09:39, Bian Ying <yb...@me.com> wrote:
>>>> 
>>>> I guess developers here may give some insight to me. ;)
>>>> 
>>>> - Ying
>>>> 
>>>> Begin forwarded message:
>>>> 
>>>>> From: Ying Bian <yb...@me.com>
>>>>> Date: July 30, 2016 at 23:19:27 GMT+8
>>>>> To: user@couchdb.apache.org
>>>>> Subject: local.d/*.ini are not read by couchdb 2.0 rc2?
>>>>> Reply-To: user@couchdb.apache.org
>>>>> 
>>>>> Hi,
>>>>> 
>>>>> I’m using the official docker image of couchdb 2.0 rc2 and want to mount some local configuration under local.d. 
>>>>> Per document (http://docs.couchdb.org/en/1.6.1/config/intro.html) (does it still apply to 2.0?), it should work. But I
>>>>> just don’t make it. This is the command I used to start the container:
>>>>> 
>>>>> $ docker run -it -v /home/ybian/local.d:/opt/couchdb/etc/local.d -p 5984:5984 klaemo/couchdb:2.0-rc2
>>>>> 
>>>>> There is one *.ini file under /home/ybian/local.d where I added cors and admin user configuration. I also verified that
>>>>> this directory got mounted successfully by inspecting the container. But the configuration does not take any effect.
>>>>> Seems to me that the *.ini file under local.d was not read at all.
>>>>> 
>>>>> I also found that `couchdb -c` command mentioned in the doc above does not work to show configuration file chain 
>>>>> anymore.
>>>>> 
>>>>> Is local.d still expected to work in 2.0?
>>>>> 
>>>>> -Ying
> 

Re: local.d/*.ini are not read by couchdb 2.0 rc2?

Posted by Ying Bian <yb...@me.com>.
Thanks. Started watching..

-Ying

> On Aug 1, 2016, at 5:31 PM, Jan Lehnardt <ja...@apache.org> wrote:
> 
> Hi Ying, the ticket URL is https://issues.apache.org/jira/browse/COUCHDB-3089
> 
> Best
> Jan
> --
> 
>> On 01 Aug 2016, at 11:26, Ying Bian <yb...@me.com> wrote:
>> 
>> Hi, Robert,
>> 
>> Could you please let me know the ticket URL so I can track the status?
>> 
>> -Ying
>> 
>>> On Aug 1, 2016, at 6:11 AM, Robert Newson <rn...@apache.org> wrote:
>>> 
>>> I filed a ticket for it. It'll work before final 2.0 release. 
>>> 
>>> Sent from my iPhone
>>> 
>>>> On 31 Jul 2016, at 22:48, Bian Ying <yb...@me.com> wrote:
>>>> 
>>>> Thanks for your response.
>>>> 
>>>> Can this make into rc3 or rc4? It's important for us to have configurations managed in local.d.
>>>> 
>>>> - Ying
>>>> 
>>>>> On Aug 1, 2016, at 00:44, Robert Samuel Newson <rn...@apache.org> wrote:
>>>>> 
>>>>> oooh, you might be right there. Fixable, thanks for catching it!
>>>>> 
>>>>> B.
>>>>> 
>>>>>> On 31 Jul 2016, at 09:39, Bian Ying <yb...@me.com> wrote:
>>>>>> 
>>>>>> I guess developers here may give some insight to me. ;)
>>>>>> 
>>>>>> - Ying
>>>>>> 
>>>>>> Begin forwarded message:
>>>>>> 
>>>>>>> From: Ying Bian <yb...@me.com>
>>>>>>> Date: July 30, 2016 at 23:19:27 GMT+8
>>>>>>> To: user@couchdb.apache.org
>>>>>>> Subject: local.d/*.ini are not read by couchdb 2.0 rc2?
>>>>>>> Reply-To: user@couchdb.apache.org
>>>>>>> 
>>>>>>> Hi,
>>>>>>> 
>>>>>>> I’m using the official docker image of couchdb 2.0 rc2 and want to mount some local configuration under local.d. 
>>>>>>> Per document (http://docs.couchdb.org/en/1.6.1/config/intro.html) (does it still apply to 2.0?), it should work. But I
>>>>>>> just don’t make it. This is the command I used to start the container:
>>>>>>> 
>>>>>>> $ docker run -it -v /home/ybian/local.d:/opt/couchdb/etc/local.d -p 5984:5984 klaemo/couchdb:2.0-rc2
>>>>>>> 
>>>>>>> There is one *.ini file under /home/ybian/local.d where I added cors and admin user configuration. I also verified that
>>>>>>> this directory got mounted successfully by inspecting the container. But the configuration does not take any effect.
>>>>>>> Seems to me that the *.ini file under local.d was not read at all.
>>>>>>> 
>>>>>>> I also found that `couchdb -c` command mentioned in the doc above does not work to show configuration file chain 
>>>>>>> anymore.
>>>>>>> 
>>>>>>> Is local.d still expected to work in 2.0?
>>>>>>> 
>>>>>>> -Ying
>>>>> 
>>> 
>> 
> 
> -- 
> Professional Support for Apache CouchDB:
> https://neighbourhood.ie/couchdb-support/
> 


Re: local.d/*.ini are not read by couchdb 2.0 rc2?

Posted by Jan Lehnardt <ja...@apache.org>.
Hi Ying, the ticket URL is https://issues.apache.org/jira/browse/COUCHDB-3089

Best
Jan
--

> On 01 Aug 2016, at 11:26, Ying Bian <yb...@me.com> wrote:
> 
> Hi, Robert,
> 
> Could you please let me know the ticket URL so I can track the status?
> 
> -Ying
> 
>> On Aug 1, 2016, at 6:11 AM, Robert Newson <rn...@apache.org> wrote:
>> 
>> I filed a ticket for it. It'll work before final 2.0 release. 
>> 
>> Sent from my iPhone
>> 
>>> On 31 Jul 2016, at 22:48, Bian Ying <yb...@me.com> wrote:
>>> 
>>> Thanks for your response.
>>> 
>>> Can this make into rc3 or rc4? It's important for us to have configurations managed in local.d.
>>> 
>>> - Ying
>>> 
>>>> On Aug 1, 2016, at 00:44, Robert Samuel Newson <rn...@apache.org> wrote:
>>>> 
>>>> oooh, you might be right there. Fixable, thanks for catching it!
>>>> 
>>>> B.
>>>> 
>>>>> On 31 Jul 2016, at 09:39, Bian Ying <yb...@me.com> wrote:
>>>>> 
>>>>> I guess developers here may give some insight to me. ;)
>>>>> 
>>>>> - Ying
>>>>> 
>>>>> Begin forwarded message:
>>>>> 
>>>>>> From: Ying Bian <yb...@me.com>
>>>>>> Date: July 30, 2016 at 23:19:27 GMT+8
>>>>>> To: user@couchdb.apache.org
>>>>>> Subject: local.d/*.ini are not read by couchdb 2.0 rc2?
>>>>>> Reply-To: user@couchdb.apache.org
>>>>>> 
>>>>>> Hi,
>>>>>> 
>>>>>> I’m using the official docker image of couchdb 2.0 rc2 and want to mount some local configuration under local.d. 
>>>>>> Per document (http://docs.couchdb.org/en/1.6.1/config/intro.html) (does it still apply to 2.0?), it should work. But I
>>>>>> just don’t make it. This is the command I used to start the container:
>>>>>> 
>>>>>> $ docker run -it -v /home/ybian/local.d:/opt/couchdb/etc/local.d -p 5984:5984 klaemo/couchdb:2.0-rc2
>>>>>> 
>>>>>> There is one *.ini file under /home/ybian/local.d where I added cors and admin user configuration. I also verified that
>>>>>> this directory got mounted successfully by inspecting the container. But the configuration does not take any effect.
>>>>>> Seems to me that the *.ini file under local.d was not read at all.
>>>>>> 
>>>>>> I also found that `couchdb -c` command mentioned in the doc above does not work to show configuration file chain 
>>>>>> anymore.
>>>>>> 
>>>>>> Is local.d still expected to work in 2.0?
>>>>>> 
>>>>>> -Ying
>>>> 
>> 
> 

-- 
Professional Support for Apache CouchDB:
https://neighbourhood.ie/couchdb-support/


Re: local.d/*.ini are not read by couchdb 2.0 rc2?

Posted by Ying Bian <yb...@me.com>.
Hi, Robert,

Could you please let me know the ticket URL so I can track the status?

-Ying

> On Aug 1, 2016, at 6:11 AM, Robert Newson <rn...@apache.org> wrote:
> 
> I filed a ticket for it. It'll work before final 2.0 release. 
> 
> Sent from my iPhone
> 
>> On 31 Jul 2016, at 22:48, Bian Ying <yb...@me.com> wrote:
>> 
>> Thanks for your response.
>> 
>> Can this make into rc3 or rc4? It's important for us to have configurations managed in local.d.
>> 
>> - Ying
>> 
>>> On Aug 1, 2016, at 00:44, Robert Samuel Newson <rn...@apache.org> wrote:
>>> 
>>> oooh, you might be right there. Fixable, thanks for catching it!
>>> 
>>> B.
>>> 
>>>> On 31 Jul 2016, at 09:39, Bian Ying <yb...@me.com> wrote:
>>>> 
>>>> I guess developers here may give some insight to me. ;)
>>>> 
>>>> - Ying
>>>> 
>>>> Begin forwarded message:
>>>> 
>>>>> From: Ying Bian <yb...@me.com>
>>>>> Date: July 30, 2016 at 23:19:27 GMT+8
>>>>> To: user@couchdb.apache.org
>>>>> Subject: local.d/*.ini are not read by couchdb 2.0 rc2?
>>>>> Reply-To: user@couchdb.apache.org
>>>>> 
>>>>> Hi,
>>>>> 
>>>>> I’m using the official docker image of couchdb 2.0 rc2 and want to mount some local configuration under local.d. 
>>>>> Per document (http://docs.couchdb.org/en/1.6.1/config/intro.html) (does it still apply to 2.0?), it should work. But I
>>>>> just don’t make it. This is the command I used to start the container:
>>>>> 
>>>>> $ docker run -it -v /home/ybian/local.d:/opt/couchdb/etc/local.d -p 5984:5984 klaemo/couchdb:2.0-rc2
>>>>> 
>>>>> There is one *.ini file under /home/ybian/local.d where I added cors and admin user configuration. I also verified that
>>>>> this directory got mounted successfully by inspecting the container. But the configuration does not take any effect.
>>>>> Seems to me that the *.ini file under local.d was not read at all.
>>>>> 
>>>>> I also found that `couchdb -c` command mentioned in the doc above does not work to show configuration file chain 
>>>>> anymore.
>>>>> 
>>>>> Is local.d still expected to work in 2.0?
>>>>> 
>>>>> -Ying
>>> 
> 


Re: local.d/*.ini are not read by couchdb 2.0 rc2?

Posted by Robert Newson <rn...@apache.org>.
I filed a ticket for it. It'll work before final 2.0 release. 

Sent from my iPhone

> On 31 Jul 2016, at 22:48, Bian Ying <yb...@me.com> wrote:
> 
> Thanks for your response.
> 
> Can this make into rc3 or rc4? It's important for us to have configurations managed in local.d.
> 
> - Ying
> 
>> On Aug 1, 2016, at 00:44, Robert Samuel Newson <rn...@apache.org> wrote:
>> 
>> oooh, you might be right there. Fixable, thanks for catching it!
>> 
>> B.
>> 
>>> On 31 Jul 2016, at 09:39, Bian Ying <yb...@me.com> wrote:
>>> 
>>> I guess developers here may give some insight to me. ;)
>>> 
>>> - Ying
>>> 
>>> Begin forwarded message:
>>> 
>>>> From: Ying Bian <yb...@me.com>
>>>> Date: July 30, 2016 at 23:19:27 GMT+8
>>>> To: user@couchdb.apache.org
>>>> Subject: local.d/*.ini are not read by couchdb 2.0 rc2?
>>>> Reply-To: user@couchdb.apache.org
>>>> 
>>>> Hi,
>>>> 
>>>> I’m using the official docker image of couchdb 2.0 rc2 and want to mount some local configuration under local.d. 
>>>> Per document (http://docs.couchdb.org/en/1.6.1/config/intro.html) (does it still apply to 2.0?), it should work. But I
>>>> just don’t make it. This is the command I used to start the container:
>>>> 
>>>> $ docker run -it -v /home/ybian/local.d:/opt/couchdb/etc/local.d -p 5984:5984 klaemo/couchdb:2.0-rc2
>>>> 
>>>> There is one *.ini file under /home/ybian/local.d where I added cors and admin user configuration. I also verified that
>>>> this directory got mounted successfully by inspecting the container. But the configuration does not take any effect.
>>>> Seems to me that the *.ini file under local.d was not read at all.
>>>> 
>>>> I also found that `couchdb -c` command mentioned in the doc above does not work to show configuration file chain 
>>>> anymore.
>>>> 
>>>> Is local.d still expected to work in 2.0?
>>>> 
>>>> -Ying
>> 


Re: local.d/*.ini are not read by couchdb 2.0 rc2?

Posted by Bian Ying <yb...@me.com>.
Thanks for your response.

Can this make into rc3 or rc4? It's important for us to have configurations managed in local.d.

- Ying

> On Aug 1, 2016, at 00:44, Robert Samuel Newson <rn...@apache.org> wrote:
> 
> oooh, you might be right there. Fixable, thanks for catching it!
> 
> B.
> 
>> On 31 Jul 2016, at 09:39, Bian Ying <yb...@me.com> wrote:
>> 
>> I guess developers here may give some insight to me. ;)
>> 
>> - Ying
>> 
>> Begin forwarded message:
>> 
>>> From: Ying Bian <yb...@me.com>
>>> Date: July 30, 2016 at 23:19:27 GMT+8
>>> To: user@couchdb.apache.org
>>> Subject: local.d/*.ini are not read by couchdb 2.0 rc2?
>>> Reply-To: user@couchdb.apache.org
>>> 
>>> Hi,
>>> 
>>> I’m using the official docker image of couchdb 2.0 rc2 and want to mount some local configuration under local.d. 
>>> Per document (http://docs.couchdb.org/en/1.6.1/config/intro.html) (does it still apply to 2.0?), it should work. But I
>>> just don’t make it. This is the command I used to start the container:
>>> 
>>> $ docker run -it -v /home/ybian/local.d:/opt/couchdb/etc/local.d -p 5984:5984 klaemo/couchdb:2.0-rc2
>>> 
>>> There is one *.ini file under /home/ybian/local.d where I added cors and admin user configuration. I also verified that
>>> this directory got mounted successfully by inspecting the container. But the configuration does not take any effect.
>>> Seems to me that the *.ini file under local.d was not read at all.
>>> 
>>> I also found that `couchdb -c` command mentioned in the doc above does not work to show configuration file chain 
>>> anymore.
>>> 
>>> Is local.d still expected to work in 2.0?
>>> 
>>> -Ying
> 

Re: local.d/*.ini are not read by couchdb 2.0 rc2?

Posted by Robert Samuel Newson <rn...@apache.org>.
oooh, you might be right there. Fixable, thanks for catching it!

B.

> On 31 Jul 2016, at 09:39, Bian Ying <yb...@me.com> wrote:
> 
> I guess developers here may give some insight to me. ;)
> 
> - Ying
> 
> Begin forwarded message:
> 
>> From: Ying Bian <yb...@me.com>
>> Date: July 30, 2016 at 23:19:27 GMT+8
>> To: user@couchdb.apache.org
>> Subject: local.d/*.ini are not read by couchdb 2.0 rc2?
>> Reply-To: user@couchdb.apache.org
>> 
>> Hi,
>> 
>> I’m using the official docker image of couchdb 2.0 rc2 and want to mount some local configuration under local.d. 
>> Per document (http://docs.couchdb.org/en/1.6.1/config/intro.html) (does it still apply to 2.0?), it should work. But I
>> just don’t make it. This is the command I used to start the container:
>> 
>> $ docker run -it -v /home/ybian/local.d:/opt/couchdb/etc/local.d -p 5984:5984 klaemo/couchdb:2.0-rc2
>> 
>> There is one *.ini file under /home/ybian/local.d where I added cors and admin user configuration. I also verified that
>> this directory got mounted successfully by inspecting the container. But the configuration does not take any effect.
>> Seems to me that the *.ini file under local.d was not read at all.
>> 
>> I also found that `couchdb -c` command mentioned in the doc above does not work to show configuration file chain 
>> anymore.
>> 
>> Is local.d still expected to work in 2.0?
>> 
>> -Ying
>>