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

2016-07-30 Thread Ying Bian
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

Re: Need help on this "badmatch" error of couchdb 2.0

2016-07-04 Thread Ying Bian
maxfiles 1 unlimited` to increase the limit and relaunched couchdb process. It works fine now with more than 273 file descriptors opened. Thanks a lot! -Ying > On Jun 30, 2016, at 4:31 PM, Ying Bian wrote: > > Hi Joah, > > Thanks for your explanation. I’m looking forward to se

Re: Need help on this "badmatch" error of couchdb 2.0

2016-06-30 Thread Ying Bian
Hi Joah, Thanks for your explanation. I’m looking forward to seeing this error again to verify this. I’ll keep you updated. ;-) -Ying > On Jun 30, 2016, at 4:16 PM, Joan Touzet wrote: > > Hi Ying, > > It's the beam.smp process that is the main couchdb process. The > other processes: > > e

Re: Need help on this "badmatch" error of couchdb 2.0

2016-06-30 Thread Ying Bian
les-per-process-on-osx-and-how-to-increase > > Try the command(s) listed there and see if this fixes your problem. > > Good luck, > Joan > > - Original Message - >> From: "Ying Bian" >> To: user@couchdb.apache.org >> Sent: Wednesday, Jun

Need help on this "badmatch" error of couchdb 2.0

2016-06-29 Thread Ying Bian
Hi, I'm developing a web application using couchdb 2.0 dev build (version is '9d28c57' at this time) as the database. Sometimes when I do a simple query against a simple view using pouchdb api, I got the following error emitted by couchdb (I've tried to prettify the output by replacing '\n' wi

Re: Couchdb 2.0 start error

2016-03-19 Thread Ying Bian
; >>> When you get this error, CouchDB should still be running. If that’s the >>> case, can you try this: curl -X PUT http://127.0.0.1:5984/_users >>> >>> Best >>> Jan >>> -- >>>> On 14 Mar 2016, at 23:56, Ying Bian wrote: &g

Re: Couchdb 2.0 start error

2016-03-15 Thread Ying Bian
:5984/_users > > Best > Jan > -- >> On 14 Mar 2016, at 23:56, Ying Bian wrote: >> >> I did everything using a normal user so I can just run couchdb using that >> user. I corrected the permissions of some files caused by sudo and then ran >> ‘couchdb’ usi

Question wrt ./dev/run --with-haproxy

2016-03-14 Thread Ying Bian
Hi All, This might be a silly question but I don’t figure it out. I’m trying to follow the instructions to test couchdb 2.0 master and I had problems if I run “couchdb” after “make install” (I sent out the errors in another thread “couchdb 2.0 start error”). Now I’m testing it by running “./de

Re: Couchdb 2.0 start error

2016-03-14 Thread Ying Bian
s.erl"},{line,85}]},{fabric_doc_open,go,3,[{file,"src/fabric_doc_open.erl"},{line,38}]},{chttpd_auth_cache,ensure_auth_ddoc_exists,2,[{file,"src/chttpd_auth_cache.erl"},{line,187}]},...]} in context child_terminated Anything that I missed? The same used to work. Again, my syst

Couchdb 2.0 start error

2016-03-14 Thread Ying Bian
I’ve used couchdb 2.0 built from master for months and yesterday I decided to upgrade to the latest commit. Here is what I did: 1. cd to root source directory, run ‘make uninstall’ 2. git pull origin 3. ./configure 4. make After this step, I can run ‘./dev/run’ successfully. But if I want to ins

Re: Is mango a full replacement of the original map/reduce API?

2016-02-27 Thread Ying Bian
cement of JS and else M/R function, only > for a subset of simple and trivial ones. > -- > ,,,^..^,,, > > > On Sat, Feb 27, 2016 at 4:36 PM, Ying Bian wrote: >> Hi All, >> >> I know we introduced mango in couchdb 2.0. While having not tried that out,

Is mango a full replacement of the original map/reduce API?

2016-02-27 Thread Ying Bian
Hi All, I know we introduced mango in couchdb 2.0. While having not tried that out, I want to ask this simple question: Is mango a full replacement of the the original map/reduce API? i.e: Can it do everything that the old map/reduce API does? If not, in which cases that I still need to use map/

Create many couchdb instances on demand?

2015-10-09 Thread Ying Bian
Hi all, I’m building a platform where users (platform users) can create their own customize “app”s. In my original architecture I was thinking to assign each “app” a dedicated database in a shared couchdb instance. With that app database, the app owner can store whatever he needs to store,

Re: pouchdb-find and couchdb 2.0

2015-10-09 Thread Ying Bian
"eventual > consistency" is part of the model of CouchDB/PouchDB (since it's an AP > database in the CAP theorem), so this is to be expected. > > Hope that helps! If you run into any issues with pouchdb-find, feel free to > file them on Github. :) > > Cheer

Re: Security changes in couchdb 2.0

2015-10-08 Thread Ying Bian
ithub.com/apache/couchdb-setup/blob/master/test/t.sh > for the example. > -- > ,,,^..^,,, > > > On Thu, Oct 8, 2015 at 4:56 AM, Ying Bian wrote: >> I noticed that there is no _users database listed with Fauxton the >> /db/_users API either. Where can I find document in detail about this >> change? >> >> -Ying

Security changes in couchdb 2.0

2015-10-07 Thread Ying Bian
I noticed that there is no _users database listed with Fauxton the /db/_users API either. Where can I find document in detail about this change? -Ying

Re: Build couchdb on master failed because 'jsapi.h' not found

2015-10-02 Thread Ying Bian
I fiddled with CFLAGS and it can build successfully now. Thanks for pointing to me the source code! > On Oct 3, 2015, at 06:21, Alexander Shorin wrote: > > On Sat, Oct 3, 2015 at 12:58 AM, Ying Bian wrote: >> I’ve installed spidermonkey185 via port and I can find the jsapi.h

Build couchdb on master failed because 'jsapi.h' not found

2015-10-02 Thread Ying Bian
Hi, I ran ‘./configure’ successfully but met the following problem with ‘make’: ==> couch (compile) Compiling /Users/ybian/src/couchdb/src/couch/priv/couch_js/http.c /Users/ybian/src/couchdb/src/couch/priv/couch_js/http.c:18:10: fatal error: 'jsapi.h' file not found #include ^ 1 error

Re: Should I use master or developer-preview-2.0 branch?

2015-10-02 Thread Ying Bian
OK. I think I would stay on master. Thanks, -Ying > On Oct 2, 2015, at 18:43, Alexander Shorin wrote: > > Hi, > > They are mostly identical, except master evolves faster while > developer-preview is always a bit outdated. > -- > ,,,^..^,,, > > > On Fri,

Should I use master or developer-preview-2.0 branch?

2015-10-02 Thread Ying Bian
I want to try out couchdb 2.0 in my new product. Which branch should I use? I see the version on both branches are set to 2.0.0. What’s the difference? -Ying

Re: pouchdb-find and couchdb 2.0

2015-10-01 Thread Ying Bian
emote CouchDB >>> database. Is that what you mean with "couch & pouch transparent"? If not, >>> what are the key diferentials for your implementation? (Just asking, as a >>> software developer, to help you plan your implementation.) >>> >&

Re: pouchdb-find and couchdb 2.0

2015-10-01 Thread Ying Bian
g, as >> product manager, to help you plan your product.) >> >> And, PouchDB can be used as an interface for a completely remote CouchDB >> database. Is that what you mean with "couch & pouch transparent"? If not, >> what are the key diferentials for your

pouchdb-find and couchdb 2.0

2015-10-01 Thread Ying Bian
Dear couchdb developers and users, I’m new to couchdb & pouchdb and I’m looking forward to some comments to the following problem: I want to setup a couchdb service in the cloud and provide an SDK to my users for them to use in their apps. They can also use pouchdb as a local replication of th