Re: nano: UnhandledPromiseRejectionWarning: Error: connect ENOBUFS

2019-02-13 Thread Stephan Mühlstrasser
Hi Jan, Am 13.02.2019 um 10:28 schrieb Jan Lehnardt: > Hi Stephan, > > welcome to CouchDB and asynchronous programming :) > > Let’s annotate your code to see what’s happening: > >... thank you for the detailed explanation! I understand now how the problem is caused. > There are multiple ways to

Re: nano: UnhandledPromiseRejectionWarning: Error: connect ENOBUFS

2019-02-13 Thread Jan Lehnardt
Hi Stephan, welcome to CouchDB and asynchronous programming :) Let’s annotate your code to see what’s happening: const nano = require('nano')("http://localhost:5984”); # get a a nano instance, all good const larch = nano.db.use('larch’);# tell nano which db to use, all

Re: Restoring a 2.2 CouchDB on a newly installed 2.3

2019-02-13 Thread Robert Newson
Upgrades are more straightforward, you only update the software. CouchDB 2.3 can read databases made with CouchDB 2.2 (and earlier). What you've done is unusual, created a new, separate CouchDB server and moved all the database files over by an external method. The procedure outlined is not