Re: Disable Compaction for a single database

2020-05-02 Thread Dave Cottlehuber
On Tue, 28 Apr 2020, at 07:06, Andrea Brancatelli wrote: > Hello Robert, > > I see your point and mostly understand it. The plan was not to "use" > this secondary database as an active one, but as a passively replicated > database from a main instance, so performances of the secondary database >

Re: Couch 1.7 - OS.process.error

2019-03-29 Thread Dave Cottlehuber
l/var/lib/couchdb’ to start with. Check your .ini files and the fauxton settings to be sure that the view and database dirs point to the right locations too. This should fix it. — Dave Cottlehuber Sent from my Couch

Re: [ANNOUNCE] Apache CouchDB 2.3.0 released

2018-12-10 Thread Dave Cottlehuber
On Fri, 7 Dec 2018, at 07:08, Joan Touzet wrote: > FYI at this point, all team-provided binary versions are also available: > > .rpm packages > .deb packages > Windows x64 binary download > macOS binary download > Docker image (amd64) at apache/couchdb and couchdb > > Community members are still

Re: FreeBSD Port of CouchDB 2.x

2018-09-21 Thread Dave Cottlehuber
On Fri, 24 Aug 2018, at 22:29, Dave Cottlehuber wrote: > Just following up, 2.2.0 is fine with OTP20 and the FreeBSD port should > be committed next week. It wasn't quite /next week/ but finally... https://svnweb.freebsd.org/ports?view=revision&revision=480279 FreeBSD 2.2.0 port

Re: Binding both IPv4 and IPv6

2018-09-18 Thread Dave Cottlehuber
On Mon, 17 Sep 2018, at 16:04, Andrea Brancatelli wrote: > Hello, > > I'm trying to have CouchDB bind Both to IPv6 and IPv4 but I don't seem > to able to do it properly. > > I google ad bit and found the magic "any" keyword to be used in > bind_address (the documentation just report ::1 to enable i

Re: FreeBSD Port of CouchDB 2.x

2018-08-24 Thread Dave Cottlehuber
> - Original Message ----- > From: "Dave Cottlehuber" > To: user@couchdb.apache.org, "Joan Touzet" > Sent: Tuesday, June 19, 2018 2:45:49 PM > Subject: Re: FreeBSD Port of CouchDB 2.x > > On Fri, 15 Jun 2018, at 19:56, Joan Touzet wrote: > > Hi Andr

Re: FreeBSD Port of CouchDB 2.x

2018-06-19 Thread Dave Cottlehuber
On Fri, 15 Jun 2018, at 19:56, Joan Touzet wrote: > Hi Andrea, > > We'd need more details - "some errors pop up" is pretty vague. :) > > -Joan > > - Original Message - > From: "Andrea Brancatelli" > To: user@couchdb.apache.org > Sent: Friday, June 15, 2018 5:03:30 AM > Subject: FreeBSD

Re: Recommendations for net_ticktime?

2018-04-30 Thread Dave Cottlehuber
On Fri, 27 Apr 2018, at 19:50, David Alan Hjelle wrote: > Does anyone have recommendations for setting `net_ticktime` to a lower > value, such as 10, instead of the default 60? In particular, this would > be for a 3-node cluster on bare metal connected to a single switch. > > Background & why I’

Re: Perl and bad characters

2018-04-07 Thread Dave Cottlehuber
On Sat, 7 Apr 2018, at 07:24, Bill Stephenson wrote: > I’ve been working on a “comments” feature for my “CherryPC blog”. > > I don’t want readers to have to make a user account to comment so I’m > wanting to use a perl script on the server side that has the user > credentials in the $url variable b

Re: 1.7.1 Install issue

2018-01-06 Thread Dave Cottlehuber
On Fri, 5 Jan 2018, at 21:00, Karl Helmer wrote: > Hi Everyone, > > I'm having an issue trying to install 1.7.1 on a CentOS 6.9 server. > I've done this successfully on other servers running the same OS. I've > installed the recommended packages and get "Time to relax" after > running configu

Re: Armhf Snap for Couchdb

2017-12-01 Thread Dave Cottlehuber
#x27;t use Ubuntu I can't help further. Can you try that, and report back with any specific error messages you get to the list? Can anybody else help Ryan out on how to install ubuntu snaps for Couch? I'm not familiar with how this is set up. Please Cc him as I don't think he&

Re: Feedback for "Best practices for CouchDB performance on linux systems"

2017-04-27 Thread Dave Cottlehuber
On Thu, 27 Apr 2017, at 21:30, aa mm wrote: > Hi guys! > > I'd love to get your feedback on my "Best practices for CouchDB > performance > on linux systems" document. > > https://github.com/assafmo/couchdb-linux-performance > > It took me a lot of time and headaches over the last couple of month

Re: CouchDB 1.6.1 SSL on Windows server 2012

2017-03-18 Thread Dave Cottlehuber
On Wed, 15 Mar 2017, at 16:30, max wrote: > Hi, > > I'm trying to install a certificate on Windows server 2012 R2. > First I'd like to install a self-signed certificate. Some years ago I did > it for CouchDB 1.4.1 on a Windows server 2008 so I'm trying to reproduce > what I've done but I'm stuck.

Re: CouchDB 2.0 crashing with SSL

2017-03-18 Thread Dave Cottlehuber
On Wed, 15 Mar 2017, at 13:06, Frédéric Audon wrote: > with > > ciphers = undefined > tls_versions = undefined > secure_renegotiate = undefined > > no crash but curl -k https://127.0.0.1:6984/ > > curl: (35) Unknown SSL protocol error in connection to 127.0.0.1:6984 Salut Frédéric Can you plea

Re: Uploading attachment

2017-01-13 Thread Dave Cottlehuber
On Thu, 12 Jan 2017, at 15:05, John Le Brasseur wrote: > Hi Stefan. > I think it is something to do with the console. > I am on Windows but use the cmder(http://cmder.net/) console program > which > doesn't normally require me to escape special characters. > > I tried the normal DOS command window

Re: Error in Syncing from CouchDB1.6 to CouchDB2.0

2017-01-13 Thread Dave Cottlehuber
On Sun, 1 Jan 2017, at 14:36, Vishesh Mittal wrote: > I am syncing all my databases from CouchDB 1.6 server to a CouchDB 2.0 > server. > > Most of the databases sync correctly. However, some of them are not > syncing. The log file shows the following error. Any clue? > > Thank you so much > > >

[ANN] lava a ridiculously simple shell script to keep your views toasty warm

2016-11-30 Thread Dave Cottlehuber
I whipped up lava this morning as I wanted a view heater script that didn't depend on things (node, erlang) that other devs might want to change: https://github.com/iwantmyname/lava - MIT licensed - jq & curl as dependencies - ideal for running from cron I'm using this to ensure a replicated bac

Re: SSL port only

2016-06-29 Thread Dave Cottlehuber
On Tue, 31 May 2016, at 22:22, Frédéric Audon wrote: > The question has probably been asked several times. > > Is is possible to have only the SSL port open? Yes. in /etc/couchdb/default.ini in [daemons] comment out the httpd line ;httpd={couch_httpd, start_link, []} A+ Dave

Re: CouchDB 1.6.1 on Debian 8

2016-06-06 Thread Dave Cottlehuber
On Mon, 6 Jun 2016, at 00:04, Frédéric Audon wrote: > chown -R couchdb:root /usr/local/var/{log,lib,run}/couchdb > /usr/local/{lib,etc}/couchdb > chmod 770 /usr/local/var/{log,lib,run}/couchdb > /usr/local/{lib,etc}/couchdb > > > On 4 Jun 2016, at 12:33, Sinan Gabel wrote: > > > Thanks Frédéri

Re: Storage Issues on 600,000 document insertion

2016-02-05 Thread Dave Cottlehuber
On Tue, 2 Feb 2016, at 10:08 PM, Anik Das wrote: > Hello All, > > We were developing an application where we had to insert approximately > 600,000 > documents into a database. The database had only one view (value emitted > as > null). > > > > It was not a batch insertion. After the insertion

Re: Couchdb 1.x and 2.x partitions

2016-02-05 Thread Dave Cottlehuber
On Wed, 3 Feb 2016, at 10:40 PM, Michael Power wrote: > Hello, > > I have a use case where I am building up a lot of read only data for > specific time periods. I might bucket each dataset daily, and then after > a certain number of days I want to throw away the data. I imagine doing > a delete

Re: Gatling tests.

2016-01-31 Thread Dave Cottlehuber
On Fri, 29 Jan 2016, at 08:50 PM, Guillaume Belrose wrote: > Hi all,  > > I have used Gatling (http://gatling.io) in the past to stress test > CouchDB servers (BigCouch in particular). Basically, Gatling let’s you > write simulations where synthetic users stress test HTTP endpoints.  > I have writ

Re: distributed user case

2015-11-16 Thread Dave Cottlehuber
On Sun, 15 Nov 2015, at 07:46 PM, Dale Scott wrote: > Hi, I've been lurking for a while and have a use case and architecture > that > I'd appreciate comments on. I've never personally built anything like > this > before. > > > > Without intentionally obfuscating, I have 128GB of data collecte

[packaging] updated Ubuntu PPA

2015-06-25 Thread Dave Cottlehuber
Trusty and Utopic, if any other version is needed just let me know. See [2] for package details. Assuming nobody reports an issue in the next day or so, I'll push the new builds to the stable PPA [3] for next week. A+ Dave — Dave Cottlehuber d...@apache.org Sent from my Couch [1]:

Re: Windows 2012 R2 Data Center and Views error

2014-12-11 Thread Dave Cottlehuber
> I have installed couch 1.5 on Windows to d:\program files\laes and the > following error  > is thrown when attempting to touch a view in throws the following error: > NOTE: If install to c:\program files\laes it works with error. > There is also erlang dump file, if that is useful. > > [Mon, 0

Re: MODERATE for user@couchdb.apache.org

2014-12-11 Thread Dave Cottlehuber
> Hi, > > I have a CouchDB instance v1.3.0 with about 6 databases and one of them is > used for historical > reporting usually with 15 million records and about 30 GB to 45 GB disk space. > This Sunday it just crashed first rejecting http requests and then even > killing the couchDB > proce

Re: BigCouch repo for stable Ubuntu 14.04

2014-10-30 Thread Dave Cottlehuber
> Hi All > > I am trying to install bigcouch on ubuntu 14.04, but not able to find a > repository to download > Like to request to members for advice from where I can download bigcouch db > for Ubuntu > 14.04 > > Thanks > > Joseph John Hi Joseph. atm there's no magic repo, as we haven

Re: Fwd: Geocouch and CouchDB 1.6.1 comatibility

2014-10-06 Thread Dave Cottlehuber
From: Nikolay Vlasov Reply: Nikolay Vlasov > Date: 06. Oktober 2014 at 03:35:15 To: d...@skunkwerks.at >, user@couchdb.apache.org > Subject:  Fwd: Geocouch and CouchDB 1.6.1 comatibility > Hi Dave, > > I followed the following instructions: > > CouchDB: > http://jeeonthepi.blogspot.sg/2014/0

nxdomain (was Re: Error:not found)

2014-10-03 Thread Dave Cottlehuber
> Hi Dave, > > Curl and Dig looked ok to me. Here are the results > The curl Result is this > > * > Adding handle: conn: 0x7f93eb803000 > * Adding handle: send: 0 > * Adding handle: recv: 0 > * Curl_addHandleToPipeline: length: 1 > * - Conn 0 (0x7f93eb803000) send_pipe: 1, recv_pipe: 0 > * Abou

Re: How to actually install CouchDB on Debian?

2014-10-03 Thread Dave Cottlehuber
eed the erlang > from > > backports, at least i neeeded them) ! Thanks Varac! I updated your steps a wee bit, and added them to the bottom of https://cwiki.apache.org/confluence/display/COUCHDB/Debian Johannes, the instructions have been updated & hopefully are sufficiently clear

Re: How to actually install CouchDB on Debian?

2014-10-03 Thread Dave Cottlehuber
Johannes, I hear your frustration; this is one of the general problems with the way linux is distributed; some packages are upgraded and yet others break. I’ve not yet found the time to work out how to package for debian, and side-step the dependency issues. BTW I can’t update the instructions

Re: How to actually install CouchDB on Debian?

2014-10-03 Thread Dave Cottlehuber
> Fair warning: I'm just a tad miffed because the instructions do not work > and they probably have not been working for more than a year! Fair warning: I used these to build the last official release, so it’s unlikely ;-). Given the paucity of information you’ve provided it’s hard to tell exact

Re: Geocouch and CouchDB 1.6.1 comatibility

2014-10-02 Thread Dave Cottlehuber
int,5, > [{file,"couch_httpd.erl"},{line,353}]}, > {mochiweb_http,headers,5, > [{file,"mochiweb_http.erl"},{line,94}]}, > {proc_lib,init_p_do_apply,3, > [{file,"proc_lib.erl"},{line,227}]}]}}, > {ancestors, > [couch_httpd,couch_secondary_services, > couch_server_sup,<0.32.0>]}, > {messages,[]}, > {links,[<0.108.0>,#Port<0.3159>]}, > {dictionary, > [{mochiweb_request_qs,[{"bbox","-0,0,180,90"}]}, > {couch_rewrite_count,0}, > {mochiweb_request_cookie,[]}]}, > {trap_exit,false}, > {status,running}, > {heap_size,4181}, > {stack_size,24}, > {reductions,4077}], > []]}} > > Any ideas on what's wrong? > — Dave Cottlehuber d...@skunkwerks.at +43 699 11 08 96 13 Managing Director Skunkwerks, GmbH Firmenbuch 410811i

[admin] Re: Ben Rowland Out Of Office

2014-09-14 Thread Dave Cottlehuber
> I am out of the office from Monday, September 15th through Friday, September > 19th, returning  > Monday, September 22nd. No need for further replies, I’m working on blocking this. — Dave Cottlehuber d...@jsonified.com Sent from my Couch

Re: OSX Native app?

2014-09-14 Thread Dave Cottlehuber
rg/~dch/snapshots/couchdb/20140913/ Homebrew’s already updated and is the baseline for this new build process which makes making releases almost as easy as brewing. A+ Dave — Dave Cottlehuber d...@jsonified.com Sent from my Couch

Re: Broken installation on Ubuntu 14.04?

2014-09-10 Thread Dave Cottlehuber
quot;/usr/bin/couchjs /usr/share/couchdb/server/main.js" } Results for vanilla ubuntu 14.04 were the same BTW. If yours don’t match, check carefully in /etc/couchdb/*.ini and /etc/couchdb/*.d/ — Dave Cottlehuber d...@jsonified.com Sent from my Couch

Re: Naming couchdb instance

2014-09-08 Thread Dave Cottlehuber
ting any keys/values you need into local.ini under the [vendor] section. They will appear in GET / without auth, and shouldn't conflict with anything else, by design. You could even domain-style namespace them: [vendor] com.gonvaled.couch.instance = comfy com.gonvaled.couch.type = innersprings Obviously, if you don’t mind using _config, you can add your own [sections] of course too, but then you’ll need admin credentials for GET /_config/... A+ — Dave Cottlehuber d...@jsonified.com Sent from my Couch

[ANNOUNCE] Apache CouchDB 1.6.1 released

2014-09-03 Thread Dave Cottlehuber
/en/latest/whatsnew/1.6.html or http://blog.couchdb.org/2014/09/03/apache-couchdb-1-6-1-released/ On behalf of the Apache CouchDB PMC,  Dave Cottlehuber

Re: old-style (hashed) passwords for admin are broken in 1.6.0?

2014-08-21 Thread Dave Cottlehuber
> Thanks for reporting this Alexey, unless I’m missing something, this seems to > be a  > *different* problem, I’ve struck this too this morning. > > Alexey - what version of CouchDB were you running prior? BTW I logged https://issues.apache.org/jira/browse/COUCHDB-2299 for this & we’ll ho

Re: old-style (hashed) passwords for admin are broken in 1.6.0?

2014-08-21 Thread Dave Cottlehuber
etc `rm -rf bin share lib`   only dbs and .ini files remain (apart from log uri etc) - install 1.6.0 (or 1-rc.3 with the fix for the raw/unhashed password fix) - try to log in using admin or bdmin via futon See https://dpaste.de/XRfY for more details. CC’ing dev. — Dave Cottlehuber d...@jsonified.com Sent from my Couch

Re: confluence wiki login

2014-08-13 Thread Dave Cottlehuber
> Do you think the wiki (Apache CouchDB/Apache CouchDB Wiki/Libraries and  > Tools/R) > would be an appropriate place for such examples? LGTM. > I've noticed that the python page mainly consist of links. However the  > old wiki mostly has some examples on the "getting started with ..."- page.

Re: confluence wiki login

2014-08-12 Thread Dave Cottlehuber
ax: ++49-30-3481-7354/7490, email: thomas.b...@ptb.de Thomas,  That’s really cool! Would you be able to post a couple of examples on how you can use R + Couch together? I’m sure many others would be interested too. —  Dave Cottlehuber d...@jsonified.com Sent from my Couch

Re: Missing function error

2014-08-11 Thread Dave Cottlehuber
d with since=&limit=1 to see what that doc would be. ref http://docs.couchdb.org/en/latest/api/ddoc/views.html?highlight=update_seq and https://couchdb.readthedocs.org/en/latest/api/database/changes.html  — Dave Cottlehuber d...@jsonified.com Sent from my Couch

CouchDB 1.6.0 available in Ubuntu PPA for Trusty & Precise

2014-07-18 Thread Dave Cottlehuber
Hi, The Ubuntu PPA for CouchDB has finally been updated, for Trusty & Precise, the currently supported Ubuntu releases. https://launchpad.net/~couchdb/+archive/ubuntu/stable If you need any other Ubuntu releases enabled, let me know. Relax and Prosper! — Dave Cottlehuber d...@jsonified

Re: Are couchdb restarts graceful?

2014-07-11 Thread Dave Cottlehuber
expect casualties. Due to append-only design there’s no real difference between a kill -9 and shutting down couchdb. BTW what issues were you experiencing and can you share any details of the couchdb version/config you were running? — Dave Cottlehuber d...@jsonified.com Sent from my Couch

Re: Startup issue with CouchDB on Buildroot

2014-06-13 Thread Dave Cottlehuber
Thanks! We're looking into this. We will post the updates if we find the real issue and solve it. On Fri, Jun 13, 2014 at 1:34 PM, Jan Lehnardt wrote: > > On 13 Jun 2014, at 13:32 , Nicolas Peeters wrote: > > > @Jan: How would we know that it's the couch_icu_driver.so ? > > Be

Re: Couchdb installation issue

2014-06-11 Thread Dave Cottlehuber
> Hello Team , > > I have installed the erlang using OTP , while instllating mozila > monkey 1.8..5 and i am getting following error . > make[1]: *** [libmozjs185.so] Error 1 > > make[1]: Leaving directory `/etc/yum.repos.d/js-1.8.5/js/src' > Welcome Sagu! To resolve the compile issues we’

Re: Installation Problem CouchDB Webfaction

2014-05-26 Thread Dave Cottlehuber
On Mon, 19 May 2014, at 03:33 PM, Rinat Tainov wrote: > Thanks Dave, I tried with re-written instructions, but had errors > building > CouchDB here a > linkfor > log. > Googled, it recommends to recom

Re: CouchDB buildroot troubles

2014-05-23 Thread Dave Cottlehuber
  From: Jasper B jaspe...@hotmail.com(mailto:jaspe...@hotmail.com) Reply: user@couchdb.apache.org user@couchdb.apache.org(mailto:user@couchdb.apache.org) Date: 23. Mai 2014 at 11:16:37 To: user@couchdb.apache.org user@couchdb.apache.org(mailto:user@couchdb.apache.org) Subject: CouchDB buildroot t

Re: running views return nothing with couchdb1.5.1

2014-05-21 Thread Dave Cottlehuber
  > Hi Radhika, > > What does the server status say in futon? (i.e. does it note that the > views are building or not?) > > One side comment, the reduce functions that you posted will likely not do > what you expect when a rereduce is run. I would suggest using _stats > (preferable solution, >

Re: Socket Error While Working

2014-05-19 Thread Dave Cottlehuber
In my 1.3.1 production environmet I see this error every 5secs while  couchdb is working and no monit, upstart, ... process is monitoring it!  {exit,eaddrinuse,  Address In Use is the mochiweb http server failing to bind to the IP address as another process has already taken it. Usually this me

Re: ios

2014-05-17 Thread Dave Cottlehuber
  From: Ashraf Janan ashrafja...@yahoo.com(mailto:ashrafja...@yahoo.com) Reply: user@couchdb.apache.org user@couchdb.apache.org(mailto:user@couchdb.apache.org), Ashraf Janan ashrafja...@yahoo.com(mailto:ashrafja...@yahoo.com) Date: 17. Mai 2014 at 10:59:56 To: couchdb user@couchdb.apache.org(mail

Re: Installation Problem CouchDB Webfaction

2014-05-16 Thread Dave Cottlehuber
Sorry, didn't know about attachments. Here link and link . Honestly I don't have backg

Re: ios

2014-05-16 Thread Dave Cottlehuber
mal requirements, almost any database will do ;-). CouchDB itself doesn’t run on iOS but there are a number of compatible (API & replication wise) that do. - https://github.com/couchbase/couchbase-lite-ios/ - http://pouchdb.com/ Obviously the back end “central” server for any of these will

Re: Installation Problem CouchDB Webfaction

2014-05-14 Thread Dave Cottlehuber
> Regards, > Rinat Tainov > > >   Hi Rinat, People have successfully installed couchdb on webfaction in the past.  Please link to (not attach) -  - the instructions you’re using  - the dependencies installed - what failed — Dave Cottlehuber d...@jsonified.com Sent from my Couch

Re: Compaction halted right away

2014-04-30 Thread Dave Cottlehuber
Hey Boaz, BTW I don't think many people use deflate BTW. You're the first that I recall, at least. If you have a choice, stick with snappy. windows disk compression is actually not bad either, (but likely not as effective as snappy wrt performance + compression tradeoff). You can turn that on pro

Re: HIPPA rules

2014-04-28 Thread Dave Cottlehuber
f anyone has dealt with building applications using CouchDB > while having > to follow HIPPA compliance? FWIW I’m aware of at least 1 organisation who is using CouchDB, and is HIIPA compliant. So it’s at least possible.  --  Dave Cottlehuber Sent from my PDP11

Re: Tweet from Dave Cottlehuber (@dch__)

2014-04-27 Thread Dave Cottlehuber
chDB version you used?  e.g.  setup-couchdb-1.5.1_R14B04.exe setup-couchdb-1.5.1_R16B02.exe BTW which version of 8.1 is this (there are over 20 on MSDN)? It’s unlikely to make a difference but it’s good to know. Also, is it equally slow in the browser (e.g. using the Futon admin interfac

Re: [ANN] munin-plugin-couchdb 0.6 released

2014-04-24 Thread Dave Cottlehuber
tive while activity on main one > was stalled. And a fantastic blog post to go with it, simply amazed! -- Dave Cottlehuber Sent from my PDP11

Re: CouchDB won't start on Fedora 19 with systemctl

2014-04-23 Thread Dave Cottlehuber
-- From: Del Checcolo, Christopher christopher.delchecc...@noblis.org Reply: user@couchdb.apache.org user@couchdb.apache.org Date: 24. April 2014 at 07:44:34 To: user@couchdb.apache.org user@couchdb.apache.org Subject:  Re: CouchDB won't start on

Re: Extending CouchCB

2014-04-17 Thread Dave Cottlehuber
rg%3E 4. If this is a one-off sort of thing, consider using redbug[1] or recon[2] to use erlang tracing to do this digging for you. [1]: http://code.google.com/p/eper/wiki/redbug [2]: http://ferd.github.io/recon/ Depending on your preferences, this might be a better discussion on dev@  -- Dave Cottlehuber Sent from my PDP11

Re: import csv data into couchdb document using python-cloudant module

2014-04-01 Thread Dave Cottlehuber
-incubator/rc_csv is a direct rcouch extension. BTW Benoît, you might want to elaborate how this apparently unrelated code might help the OP; as far as I can tell it doesn’t? --  Dave Cottlehuber Sent from my PDP11

Re: Multiple Concurrent Instances of CouchDB on Mac OS X 10.7.5

2014-03-27 Thread Dave Cottlehuber
On 27 March 2014 18:09, Rian R. Maloney wrote: > Is there a simple way to run multiple concurrent instances of CouchDB on a > single MAC computer or is it not recommended to do this. I am trying to test > multiple client types on an application w/o requiring multiple PCs. > > Thank You > Rian A

Re: Faster one-time replication doing file-system copy?

2014-03-18 Thread Dave Cottlehuber
ink Daniel's point is the inconsistency that may exist between core DB > and calculated VIEWS unless he takes them all together at the same instant > in time (simulated by stopping the replicated master) And yes. This is where btrfs or zfs make life too easy for us mere mortals. --  Dav

Re: Faster one-time replication doing file-system copy?

2014-03-18 Thread Dave Cottlehuber
> > as long the filehandle is not closed and re-opened it reads and writes to > the "old" file, although the "old" file doesn't have a directory entry > anymore. > > So it should be fine to just copy over the file and post to _restart after > the copy finished. > > regards, > Stefan > -- Dave Cottlehuber Sent from my PDP11

Re: Faster one-time replication doing file-system copy?

2014-03-18 Thread Dave Cottlehuber
Hey Daniel, copying is fine. But you *will* need to restart couchdb if you pull the rug out from under its feet, aka change the file it may have cached data from. If you can I strongly recommend using something like zfs or btrfs to make switching back to snapshots super easy. It's a blast! A+ Da

Re: crash when attempting to create a view, 1.5.0

2014-03-17 Thread Dave Cottlehuber
On 17. März 2014 at 09:12:02, Nat Lownes (nat.low...@gmail.com) wrote: > This is happening on a database with about 360k documents. I consistently > get this crash when attempting to create any design documents or temporary > views. I came across it first using python and javascript clients, tried

Re: Wiki contributor's list - add user request

2014-03-06 Thread Dave Cottlehuber
Dragos, Welcome you should be able to edit the wiki now! On 6 March 2014 23:00, Dragos Stoica wrote: > Hello all, > > I understood from Wiki that in order to be able to edit page: > https://wiki.apache.org/couchdb/CouchDB_tools I must write a request by > e-mail. > > I would like to add a link

Re: Which interface/library is better for couchDB

2014-03-05 Thread Dave Cottlehuber
On 05. März 2014 at 06:52:14, Michael Zedeler. (mich...@zedeler.dk) wrote: > On 2014-03-04 19:46, Ramanadham, Radhika wrote: > > I am looking at perl or python. For completeness, I use Store::CouchDB a lot. A+ Dave

Re: Duplicate fields in documents

2014-02-20 Thread Dave Cottlehuber
> > On Feb 19, 2014, at 6:07 AM, Dave Cottlehuber wrote: > > > > > TL;DR the appropriately named ECMA 404 JSON spec [1] is broken or more > > politely, insufficiently specific. > > > On Wed, Feb 19, 2014 at 8:30 PM, Jens Alfke wrote: > > > > Th

Re: Duplicate fields in documents

2014-02-19 Thread Dave Cottlehuber
to return error invalid_json which is incorrect. The waters are muddied further because the conversion to/from JSON docs & couchdb on-disk format is handled in Erlang/OTP, with a parser that makes this distinction, but the view engine will be in JavaScript and presumably will do some cleaning

Re: CouchDb Crash Report Help

2014-02-16 Thread Dave Cottlehuber
{reductions,90}]}]]}} > > -Original Message- > From: Brendan Walker [mailto:brenw...@microsoft.com] > Sent: Friday, February 14, 2014 2:18 PM > To: user@couchdb.apache.org > Subject: RE: CouchDb Crash Report Help > > Hey Dave, > > I am using R16B01 now.

Re: CouchDb Crash Report Help

2014-02-14 Thread Dave Cottlehuber
Hey Brendan, That link is one of mine, and IIRC the eventual fix is to use an R16B* based release of CouchDB on Windows, or good old faithful R14B04. The 1.5.x releases are running a pretty new mochiweb release (as far forwards as I could go without breaking R14B04 support). I suggest: - confirmi

Re: Changes API with user details

2014-02-13 Thread Dave Cottlehuber
On 13 February 2014 14:09, Suraj Kumar wrote: > Hi, > > Is it possible to get which user caused a change? Also, what about the time > of the change? If not possible, do you think its useful to have this > available as part of couch core? Is it worth doing this via a plugin? Hey Suraj, These ques

[ANNOUNCE] ubuntu precise couchdb packages available

2014-02-12 Thread Dave Cottlehuber
Hi everybody, I’m delighted to announce the availability of Apache CouchDB Ubuntu Precise (12.04) packages, with integrated upstart support. These have been contributed with support from Mobius Medical Systems, LP [1], who use Apache CouchDB in their product Mobius3D/FX for oncology and radiolog

Re: Problem connecting to Couchdg on SSL erlang: {reason,ekeyfile},

2014-02-12 Thread Dave Cottlehuber
Hi Claris, Probably you need to ensure that your keyfile is the correct format. The first line should look like '-BEGIN RSA PRIVATE KEY-' but not '-BEGIN PRIVATE KEY-' which is PKCS#8 format. More info http://www.rabbitmq.com/troubleshooting-ssl.html and specifically http://docs.

Ten Years of Google Summer of Code - GSoC 2014 is coming [2014/02/10]

2014-02-06 Thread Dave Cottlehuber
Hey CouchDB community, Last year I coordinated GSoC for CouchDB, albeit at the last minute. This year I won’t have time to do this but I am hoping somebody else in the community is keen to do the coordination. Note that there’s no programming involved in simply organising this. Having a couple

Re: Replication without IP connection

2014-02-04 Thread Dave Cottlehuber
in the community. [1]: https://github.com/msgpack/msgpack-erlang [2]: https://github.com/jeremyong/eprotoc &  https://github.com/basho/erlang_protobuffs [3]: http://kentonv.github.io/capnproto/ & https://github.com/kaos/ecapnp [4]: http://piqi.org/ [5]: http://www.slideshare.net/nivertech/zvi-mqtts-foreuc2013 [6]: https://github.com/jo/roy-replicator & https://github.com/mikeal/replicate and https://github.com/maxogden/replicate A+ -- Dave Cottlehuber Sent from my PDP11

Re: Cannot connect to CouchDb on Windows 7 64 bit professional

2014-01-30 Thread Dave Cottlehuber
On 30. Jänner 2014 at 15:55:09, Robert Samuel Newson (rnew...@apache.org) wrote: > > From: Robert Samuel Newson > To: user > Subject: Cannot connect to CouchDb on Windows > 7 64 bit professional Date: 30. Jänner > 2014 15:55:02 MEZ Hrm, no clue > then. Will need a Windows/Erlang develop

Re: Replication of attachment is extremely slow

2014-01-24 Thread Dave Cottlehuber
On 24. Jänner 2014 at 08:23:16, Nick North (nort...@gmail.com) wrote: > From: Nick North > There is a known inefficiency  > in parsing of attachments containing certain character strings.  > This doesn't obviously sound like an instance of it, but you can  > eliminate the possibility very quickly

Re: Replication of attachment is extremely slow

2014-01-23 Thread Dave Cottlehuber
> On 23. Jänner 2014 at 23:28:11, Scott Weber (scotty2...@sbcglobal.net) wrote: > >From: Scott Weber >To: "user@couchdb.apache.org" >Subject: Replication of attachment is extremely slow > Date: 23. Jänner 2014 23:27:36  > MEZ I have seen the same thing as the > poster below.  Does anyone have a

Re: CouchDB: Using XMLHttpRequest in Show Functions

2014-01-23 Thread Dave Cottlehuber
nder nodejs, functionally it will look the same but without the constraints you have: https://couchdb.readthedocs.org/en/latest/config/externals.html and Paul’s excellent introduction https://couchdb.readthedocs.org/en/latest/externals.html note that the latter was written in 2010 and the functionality has been included in couch natively since then. --  Dave Cottlehuber Sent from my PDP11

Re: CouchDB: Are large design documents OK?

2014-01-20 Thread Dave Cottlehuber
Hi Hank, Sounds exciting! TL;DR try it via benchmark. My gut feel says that overall performance and cost (storage, cpu time etc) are likely to trump any pure couchdb related concerns. So I'd seriously benchmark this, nothing makes for better advice than a real test scenario to back it up done on

Re: CouchDB: Timestamp inaccurate and seems to be cached

2014-01-08 Thread Dave Cottlehuber
It seems this is a common request; instead of computing it expensively in JS, perhaps you'd like to open a jira ticket at https://issues.apache.org/jira/browse/COUCHDB with some use case details, and we could generate it using a cheap & efficient erlang function, and include its output in e.g. G

[ANNOUNCE] Nick North elected as CouchDB committer

2014-01-01 Thread Dave Cottlehuber
t. Please join me in extending a warm welcome to Nick! On behalf of the CouchDB PMC, Dave Cottlehuber

Re: How to add BrowserId plugin to OSX binary install of CouchDB

2013-12-18 Thread Dave Cottlehuber
On 18. Dezember 2013 at 11:09:56, Sjoerd de Jong (sjo...@weett.nl) wrote: > > Hello, > > For some time I am struggling with getting the BrowserId (Persona) > plugin running on my machine (OSX Mavericks). > > Previously I compiled https://github.com/iriscouch/browserid_couchdb > using `rak

Re: Force the start sequence of a replication

2013-12-12 Thread Dave Cottlehuber
Salut Zoé I'm pretty sure you can use `since_seq = ` in your POST to the _replicator endpoint. https://github.com/apache/couchdb/blob/master/src/couch_replicator/src/couch_replicator.erl#L548 This was added in mmm 1.2.x I think. If it works, please confirm back, I will update docs for it. A+

Re: use startkey/endkey to discribe a range problem

2013-12-11 Thread Dave Cottlehuber
Vivek, This approach sounds really interesting. Are you able to share a small example? Link to working code would be a bonus! Also, geocouch is hardly experimental these days, it's at least 2 years old and has been well used. A+ Dave On 12 December 2013 04:02, Vivek Pathak wrote: > Hi > >

Re: Doucment Update Conflict in Futon

2013-12-03 Thread Dave Cottlehuber
hi John, can you add a jira[1] ticket for this please? more details the merrier. Also please clarify if fauxton http://localhost:5984/fauxton/ *also* doesn't work, as that's probably more of a concern. A+ Dave [1]: https://issues.apache.org/jira/browse/COUCHDB On 3 December 2013 10:24, John No

Re: CouchDB: POST Data with Update Handler

2013-11-18 Thread Dave Cottlehuber
hdb/Working_with_Forms https://couchdb.readthedocs.org/en/latest/couchapp/ddocs.html#update-functions Note for POST you can’t use the docname, for that use PUT instead. -- Dave Cottlehuber Sent with Airmail(http://airmailapp.com/tracking)

Re: CouchDB: Prevent regular users from accessing Futon

2013-11-15 Thread Dave Cottlehuber
On 14. November 2013 at 21:54:22, Hank Knight (hknight...@gmail.com) wrote: > > I want to know how to block access to Futon (_utils) for CouchDB > users > who are not administrators. > > I create a user like this: > curl -k -u nlbdm...@sharklasers.com:password123 \ > -X POST https://zqzqzqz

Re: Product management means saying no

2013-11-15 Thread Dave Cottlehuber
On 14. November 2013 at 20:45:55, Ryan Mohr (r...@kumu.io) wrote: > > The show/list thread (posted by thomas.b...@ptb.de) recently > sparked an > interesting debate. Like Joan, I too feel that CouchDB tries > to handle way > more than it should. (Caveat -- I actually take this stance to > t

Re: Weird lockup issue

2013-11-14 Thread Dave Cottlehuber
On 14. November 2013 at 19:31:05, Jens Alfke (j...@couchbase.com) wrote: > > What’s the network topology like? Is it possible that connections > from some hosts go through a proxy/filter/firewall while others > don’t? If so the intermediate device could be causing problems. > > (I haven’t

Re: CouchDB: @ in username messing up curl

2013-11-14 Thread Dave Cottlehuber
On 14. November 2013 at 18:01:00, Hank Knight (hknight...@gmail.com) wrote: > > Thanks, guys. > > You were right, the problem was not actually the @! > > This works: > > curl -k -u nlbdm...@sharklasers.com:password123 \ > -X POST https://zqzqzqz555.couchappy.com/urls \ > -d "{}" -H "Content

Re: CouchDB: @ in username messing up curl

2013-11-14 Thread Dave Cottlehuber
On 14. November 2013 at 03:04:22, Hank Knight (hknight...@gmail.com) wrote: > > What is wrong with this? The main error is that you’re not using `curl -v…` by default. If so you’d see: curl -vkX -u nlbdmobz\%40sharklasers.com:password123 POST https://zqzqzqz555.couchappy.com/urls -d "{}" -H

Re: HTTP request with CouchDB

2013-11-13 Thread Dave Cottlehuber
On 13. November 2013 at 13:49:12, Hank Knight (hknight...@gmail.com) wrote: > > Is it possible to send an HTTP request and receive a result with > CouchDB? Inside view/show/list/filters , no. They’re sandboxed to prevent this. > I would like to do something like this: > > > function(doc,

Re: CouchDB: Can a hierarchical URL structure be accomplished with unique documents?

2013-11-12 Thread Dave Cottlehuber
On 12. November 2013 at 21:46:08, Hank Knight (hknight...@gmail.com) wrote: > > Here is an example of an entire website run entirely from attachments > of a single document: > > https://samplecouchpoweredsite.couchappy.com/site/www/zootemplate/index.html > > It does not work so well when

Re: couchdb crashes silently

2013-11-11 Thread Dave Cottlehuber
On 11. November 2013 at 23:10:38, Nathan Vander Wilt (nate-li...@calftrail.com) wrote: > > And this happened *again* over the weekend. This time I had > started CouchDB in a screen session, which was still running. > Again, it looked like both the shell script processes and the > beam

Re: multiple keys query for a view with multiple key outputs

2013-11-11 Thread Dave Cottlehuber
On 11. November 2013 at 10:01:53, bryan rasmussen (rasmussen.br...@gmail.com) wrote: > > Ok, well I can of course make a view that emits the ip and then do > keys=["18.72.0.3", " 617.253.1101"] etc. etc. > But I also want to be able to sort by the timestamp in various ways. > How should I

Re: Storage limitations?

2013-11-10 Thread Dave Cottlehuber
On 10 November 2013 23:14, Mark Deibert wrote: > I read an article somewhere that using include_docs is "hard" on memory or > disk or in some way taxes Couch and therefore you should just emit the doc. > Is this true? Like most general statements it has some truth and some lies in it :-) views a

  1   2   3   4   5   6   >