Re: _id = .

2011-08-24 Thread Mikhail A. Pokidko
On Wed, Aug 24, 2011 at 4:21 PM, Michael Bykov m.by...@gmail.com wrote: Hi, How can I delete a row with _id = . ? Quite opposite question - how did you create such a doc?)) I got Error: file_exists. The database could not be created, the file already exists. Yes, it is not a best _id for a

Re: Couchdb performance on RAID 5

2010-12-17 Thread Mikhail A. Pokidko
-- xmpp: pma AT altlinux DOT org rederiko Costa frederiko.co...@coffeebeantech.com wrote: Hi folks, Has anyone used Couchdb with databases stored on Raid 5? How is the performance? Raid 5 is said to have performance penalty on write operations, and I was wondering how bad it would be.

Re: New Website Styles

2010-11-30 Thread Mikhail A. Pokidko
Noah Slater nsla...@apache.org wrote: I'm getting the following weird display errors: https://skitch.com/nslater/rnxtk/couchdb-time-to-relax I would say something is wrong with fonts -- xmpp: pma AT altlinux DOT org

Re: deploying applications in couchdb

2010-09-03 Thread Mikhail A. Pokidko
On Fri, Sep 3, 2010 at 11:01 AM, Jyoti Venkatesh jyoti.venkat...@niit-tech.com wrote: Hello, I have been investigating on deploying application in couchdb. Wanted to know few info regarding the same. .. 2. what kind of applications can be deployed in couchdb? Is it only javascript/HTML

searching for something like AND clause

2010-09-02 Thread Mikhail A. Pokidko
Hello all! I have docs with such fields : {'type':'offer', 'city':''Moscow', 'expires':'2010/08/30 22:54:00',} And now i`m stuck finding the way how to get unexpired offers for certain city. My first attempt was writing view like this: function(doc) { var today = new Date(); if (doc.type

Re: searching for something like AND clause

2010-09-02 Thread Mikhail A. Pokidko
On Thu, Sep 2, 2010 at 2:18 PM, Wout Mertens wout.mert...@gmail.com wrote: Hi Mikhail, you should write your views so they do not change. Yeah, finally i undestood this ehan found out that Date() inside view have showd unpected results)) For the expiring dates, that means you need to make

Re: searching for something like AND clause

2010-09-02 Thread Mikhail A. Pokidko
On Thu, Sep 2, 2010 at 2:45 PM, Wout Mertens wout.mert...@gmail.com wrote: On Sep 2, 2010, at 12:32 , Mikhail A. Pokidko wrote: Since you want to filter on city AND date, you can do function(doc) {   doc.type == 'offer' emit ([doc.city,doc.expires],doc); } and then you can get all offers

Re: get couchdb to startup with server

2010-09-01 Thread Mikhail A. Pokidko
On Thu, Sep 2, 2010 at 4:39 AM, whims...@aol.com wrote: I loaded that chkconfig but it said couchdb is not a service??? $ sudo ls -l /etc/init.d/couchdb -rwxr-xr-x 1 root root 2999 Jun 28 17:04 /etc/init.d/couchdb Does the rights look like this?

Re: get couchdb to startup with server

2010-08-31 Thread Mikhail A. Pokidko
On Wed, Sep 1, 2010 at 5:26 AM, whims...@aol.com wrote: I want couchdb to run from login or restart -- in case a power outage or something and the server has to restart itself. Everything else will start back up -- apache, curl, mysql, everything except couchdb. Did you try chkconfig

Re: get couchdb to startup with server

2010-08-30 Thread Mikhail A. Pokidko
On Mon, Aug 30, 2010 at 10:06 AM, whims...@aol.com wrote: I am running couchdb manually. How do I get it to startup with the server if it restarts. You should add init-script to default run-level. (Init-script can be found inside the package you`ve installed from). Take a look at

Re: get couchdb to startup with server

2010-08-30 Thread Mikhail A. Pokidko
On Mon, Aug 30, 2010 at 7:06 PM, whims...@aol.com wrote: ubuntu 1.0.1 from couchio 64 is the distribution I have to sudo ./couchdb start at the directory. Because ./couchdb start fails. user...@ubuntu:~/couchdb-1.0.1/bin$ ./couchdb start Apache CouchDB 1.0.1 (LogLevel=info) is starting.

Re: Running on port 80

2010-04-15 Thread Mikhail A. Pokidko
On Thu, Apr 15, 2010 at 7:54 PM, Noah Slater nsla...@me.com wrote: You don't. Technically you can - you can start with root privileges to bind to port 80 and drop them to _couchdb but its a bit too complicated. Zachary, its more convinient to use some frontend - nginx, lighttpd or what ever.

Re: Problems downgrading from 0.11.0 to 0.10.1

2010-03-30 Thread Mikhail A. Pokidko
On Tue, Mar 30, 2010 at 8:49 PM, Jochen Kempf jochenke...@gmail.com wrote: Hi, after downgrading from CouchDB 0.11.0 to 0.10.1 a dialog window indicating Database information could not be retrieved: illegal_database_name pops up whenever I click on Overview in Futon. I noticed that after

Re: Link to the couchdb wiki from http://couchdb.apache.org/ ?

2009-12-08 Thread Mikhail A. Pokidko
On Tue, Dec 8, 2009 at 4:44 PM, Lars Vange Jørgensen l...@yousee.dk wrote: Hi, The link to the wiki from the couchdb homepage is currently pointing to http://wiki.apache.org/couchdb/  which says a lot about MoinMoin wiki, but nothing about Couchdb - guess it should be pointing to the info at

Re: Link to the couchdb wiki from http://couchdb.apache.org/ ?

2009-12-08 Thread Mikhail A. Pokidko
On Tue, Dec 8, 2009 at 11:37 PM, Benoit Chesneau bchesn...@gmail.com wrote: in which language s this page ? I'm landing here on wiki couchdb hompeage here on a fresh install of ubuntu. Russian (for me). -- xmpp: pma AT altlinux DOT org

Re: Link to the couchdb wiki from http://couchdb.apache.org/ ?

2009-12-08 Thread Mikhail A. Pokidko
On Wed, Dec 9, 2009 at 10:19 AM, Benoit Chesneau bchesn...@gmail.com wrote: On Wednesday, December 9, 2009, Mikhail A. Pokidko mikhail.poki...@gmail.com wrote: On Tue, Dec 8, 2009 at 11:37 PM, Benoit Chesneau bchesn...@gmail.com wrote: in which language s this page ? I'm landing here on wiki

Re: /etc/init.d/couchdb stop never really stops the db

2009-11-11 Thread Mikhail A. Pokidko
On Wed, Nov 11, 2009 at 1:54 PM, Robert Campbell rrc...@gmail.com wrote: Here is me running couchdb -b three times w/ps -A | grep couchdb: r...@default:~# couchdb -b Apache CouchDB has started, time to relax. r...@default:~# couchdb -b Apache CouchDB has started, time to relax. _-d_ is the

Re: /etc/init.d/couchdb stop never really stops the db

2009-11-11 Thread Mikhail A. Pokidko
On Wed, Nov 11, 2009 at 2:54 PM, Robert Campbell rrc...@gmail.com wrote: Sorry, I screwed that up. I saw the d as b for some reason. Here's the results from -d: r...@default:~# ps -A | grep couchdb  4389 ?        00:00:00 couchdb  4419 ?        00:00:00 couchdb  6399 ?        00:00:05

Re: /etc/init.d/couchdb stop never really stops the db

2009-11-11 Thread Mikhail A. Pokidko
On Wed, Nov 11, 2009 at 4:53 PM, Robert Campbell rrc...@gmail.com wrote: @Mikhail - but when I tried to specify the PID file I found in /var/run, it didn't work: r...@default:~# couchdb -b -p /var/run/couchdb Apache CouchDB needs a regular PID file: /var/run/couchdb Look inside that file -

Re: /etc/init.d/couchdb stop never really stops the db

2009-11-11 Thread Mikhail A. Pokidko
On Wed, Nov 11, 2009 at 6:33 PM, Noah Slater nsla...@tumbolia.org wrote: On 11 Nov 2009, at 14:15, Mikhail A. Pokidko wrote: To build package for ALTLinux i had to rewrite init-script completely. Why? Is there a patch you could send up-stream? Thanks. Well, i guess it is kinda ALT-specific

Re: /etc/init.d/couchdb stop never really stops the db

2009-11-11 Thread Mikhail A. Pokidko
On Wed, Nov 11, 2009 at 7:24 PM, Noah Slater nsla...@tumbolia.org wrote: On 11 Nov 2009, at 16:11, Mikhail A. Pokidko wrote: Well, i guess it is kinda ALT-specific. http://git.altlinux.org/people/pma/packages/couchdb.git?p=couchdb.git;f=couch.init;hb=0.10.x-alt So nothing we should pull

Re: /etc/init.d/couchdb stop never really stops the db

2009-11-10 Thread Mikhail A. Pokidko
On Wed, Nov 11, 2009 at 2:31 AM, Noah Slater nsla...@tumbolia.org wrote: Great, what happens when you do:        couchdb -b Is CouchDB running? What happens when you do this next:        couchdb -d Has CouchDB stopped? Also it could be useful to add -p /path/to/pid_file in each case.