Return-Path: X-Original-To: apmail-couchdb-user-archive@www.apache.org Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 0D872F508 for ; Wed, 3 Apr 2013 13:10:10 +0000 (UTC) Received: (qmail 83114 invoked by uid 500); 3 Apr 2013 13:10:08 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 82774 invoked by uid 500); 3 Apr 2013 13:09:58 -0000 Mailing-List: contact user-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@couchdb.apache.org Delivered-To: mailing list user@couchdb.apache.org Received: (qmail 82663 invoked by uid 99); 3 Apr 2013 13:09:53 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Apr 2013 13:09:53 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,NORMAL_HTTP_TO_IP,RCVD_IN_DNSWL_LOW,SPF_PASS,WEIRD_PORT X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of alex.barbalex@gmail.com designates 209.85.128.46 as permitted sender) Received: from [209.85.128.46] (HELO mail-qe0-f46.google.com) (209.85.128.46) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Apr 2013 13:09:45 +0000 Received: by mail-qe0-f46.google.com with SMTP id a11so829622qen.19 for ; Wed, 03 Apr 2013 06:09:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type; bh=/cqv98x/b6OjOJSS8pnDJ60l/KimzBlWyyFhMuM1gpc=; b=I8YCDntm8RZdI1csCyCiVe0OQVzygdS36HJXPIrekl0H+ZTM5BGVXF2b7FjLA2yw+i PE3SkEHJcW542LvT8g/2fxeFZW6scyYAuYpJFy/Lr1CBo1s6VO/nb5DfmQii5NLHP5nb cnRnD4jMpIqzOuWJ/OycWDsaQ0NmgLyYWa4yygXuwYjzoGcUjoaLGc88HKt/j/eb9GyH X+kv/LL1cP0yNVvQZW3fkhM06W2aej3uwFgpoZucZ8AjgrGFykZJfSxmDe5WnAinUMeP V3XPb02rM8szsbDCJ7+/Smt+sPMkBcnZ9+tpcKQ+fOvy59ajhmWGnM9qjFWgiGngIe8d rGdw== MIME-Version: 1.0 X-Received: by 10.229.136.142 with SMTP id r14mr505774qct.54.1364994564236; Wed, 03 Apr 2013 06:09:24 -0700 (PDT) Sender: alex.barbalex@gmail.com Received: by 10.229.150.10 with HTTP; Wed, 3 Apr 2013 06:09:23 -0700 (PDT) In-Reply-To: References: Date: Wed, 3 Apr 2013 15:09:23 +0200 X-Google-Sender-Auth: P4D7ZnNIBRxieo5lV3eyc4VcZRU Message-ID: Subject: Re: Update to 1.2.1 on Windows > couch not available any more From: Alexander Gabriel To: user@couchdb.apache.org Content-Type: multipart/mixed; boundary=00248c71180d1f321e04d974907c X-Virus-Checked: Checked by ClamAV on apache.org --00248c71180d1f321e04d974907c Content-Type: multipart/alternative; boundary=00248c71180d1f320e04d974907a --00248c71180d1f320e04d974907a Content-Type: text/plain; charset=UTF-8 Thanks, Dave. I haven't worked with irc yet and I'd probably make a fool of myself on the first attempt. I did install mIRC and registered in freenode #couchdb as barbalex. I tried deinstalling CouchDB 1.2.2, eliminating C:\Program Files (x86)\Apache Software Foundation\CouchDB, stopping all the services and processes you mentioned. Then I copied over %COUCH%/var/lib/ from my backup. This time I paid better attention to what is happening, which is weird: - All my couches show up in futon (see futon.png) - most of them work perfectly too - the one I'm working with right now ist "artendb" and it turns up too. But no information is shown (size, number of documents, update seq) - when I try to open artendb I get this message: "Error: bad_otp_release. To open the database 'artendb', Apache CouchDB must be built with Erlang OTP R13B04 or higher" (see error.png) The first time I tried to update to 1.2.1 a day or two ago I tried to simply install 1.2.1 over 1.2. Probably artendb was opened in several registers in the browser at that moment. Could this have destroyed the couch? Probably not because after that I did work with artendb on 1.2.1 a little without issues, before installing 1.2.2. When installing 1.2.2 it is possible that artendb was opened in futon and it's couchapp in my browser too though (if the browser was open which it probably was as I downloaded CouchDB 1.2.2 just before installing), as I always have several registers with it active. But this time I first deinstalled and removed C:\Program Files (x86)\Apache Software Foundation\CouchDB entirely, then reinstalled. And after checking that futon showed a working CouchDB I copied back %COUCH%/var/lib/. Maybe it's a bad idea to have registers accessing a couch open when manipulating couchdb? The backup I'm using to restore %COUCH%/var/lib/ was made after upgrading to 1.2.1, before upgrading to 1.2.2. I'll now try deleting artendb. Then creating it new. And replicating it from a version on iriscouch. After several hours (usually about 3 to 4) the views will be built and hopefully all is okay again. I'll tell you here if it worked. Alex *********************************************************** Alexander Gabriel Wiesenstrasse 22 8800 Thalwil 079/ 372 51 64 alex@barbalex.ch www.barbalex.ch 2013/4/3 Dave Cottlehuber > Hi Alex, > > Nothing screams out at me what's not working. If you are able to jump on > IRC we can take a look together. > > Upgrading should be pretty straightforwards but I am not sure what we are > missing here. I think it's time to add an upgrade section to the docs also. > > A+ > Dave > > > > On 3 April 2013 03:15, Alexander Gabriel wrote: > > > ugh. just updated to 1.2.2. > > This time I copied %COUCH%/etc/local.ini and %COUCH%/var/lib/ just in > case. > > I'm afraid it has been painful. Took me several iterations, deinstalling, > > reinstalling, restarting etc. until at least 1.2.2 was installed and > could > > be accessed at http://127.0.0.1:5984. > > This time though this had only worked after completely > > eliminating C:\Program Files (x86)\Apache Software Foundation\CouchDB. So > > all my couches were gone. > > I copied back %COUCH%/etc/local.ini and %COUCH%/var/lib/. Result: CouchDb > > is not accessible again. > > > > What do I need to do to get my couches into the new version of couchdb? > > Is there a wiki about upgrading on windows? If so then I couldn't find > it. > > > > Alex > > > > > > > > > > *********************************************************** > > > > > > > > Alexander Gabriel > > Wiesenstrasse 22 > > 8800 Thalwil > > 079/ 372 51 64 > > alex@barbalex.ch > > www.barbalex.ch > > > > > > > > 2013/4/1 Dave Cottlehuber > > > > > Hi Alex, > > > > > > It sounds like you installed couch over the top of the existing > > > installation? This won't work, a number of libraries will be left with > > > alternative / incompatible versions. > > > > > > - stop the service & ensure there are no erl, werl, couchjs, or epmd > > > processes running > > > - move or copy your %COUCH%/var/lib/ and %COUCH%/etc/local.ini > elsewhere > > > - uninstall couch > > > - make sure %COUCH% is completely gone > > > - reinstall 1.2.1 > > > > > > Usual caveat about having a backup applies. > > > > > > > > > > > > On 1 April 2013 14:47, Alexander Gabriel wrote: > > > > > > > Hi experts > > > > > > > > I am on Windows 8, 64bit. > > > > > > > > I just saw that my version 1.2.0 was not the latest and greatest any > > > more. > > > > So I downloaded "setup-couchdb-1.2.1_otp_R14B04.exe". Then installed > > it. > > > > Then restarted. > > > > But I can't contact my couch any more. > > > > > > > > > > > > 1. Looked in the services: Apache CouchDB 1.2.1 is supposed to be > > > > running > > > > 2. http://127.0.0.1:5984/_utils is unavailable > > > > 3. Clicked "start CouchDB" and get this error in erlang emulator: > > > > *Erlang R14B04 (erts-5.8.5) [source] [smp:8:8] [rq:8] > > > [async-threads:0] > > > > **Eshell V5.8.5 (abort with ^G) > > > > **1> {"init terminating in > > > > > > > > > > > > > > do_boot",{{badmatch,{error,{{app_would_not_start,crypto},{couch_app,start,[normal,["../etc/couchdb/default.ini","../etc/couchdb/local.ini"]]}}}},[{couch,start,0},{init,start_it,1},{init,start_em,1}]}} > > > > **init terminating in do_boot () > > > > Abnormal termination* > > > > and also a command-window telling me: "CouchDB 1.2.1 - prepare to > > > > relax... > > > > 4. restarted windows again but still the same symptoms > > > > > > > > Can you please help me to relax? > > > > > > > > > > --00248c71180d1f320e04d974907a Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Thanks, Dave.

I haven't= worked with irc yet and I'd probably make a fool of myself on the firs= t attempt. I did install mIRC and registered in freenode #couchdb as barbal= ex.

I tried deinstalling CouchDB 1.2.2, elimina= ting=C2=A0C:\Program Files (x86)\Apache Software Foundation\CouchDB, stopp= ing all the services and processes you mentioned.
Then I copied over=C2=A0%COUCH%/var/lib/ from my backup= .
This time I paid better attention to what is happening, which i= s weird:
  • All my couches show up= in futon (see futon.png)
  • most of them work perfectly too
  • the o= ne I'm working with right now ist "artendb" and it turns up t= oo. But no information is shown (size, number of documents, update seq)
  • when I try to open artendb I get this message: "Error: bad_= otp_release. To open the database 'artendb', Apache CouchDB must be= built with Erlang OTP R13B04 or higher" (see error.png)
The first time I tried to update to 1.2.1 a day or t= wo ago I tried to simply install 1.2.1 over 1.2. Probably artendb was opene= d in several registers in the browser at that moment. Could this have destr= oyed the couch? Probably not because after that I did work with artendb on = 1.2.1 a little without issues, before installing 1.2.2.=C2=A0

When installing 1.2.2 it is possib= le that artendb was opened in futon and it's couchapp in my browser too= though (if the browser was open which it probably was as I downloaded Couc= hDB 1.2.2 just before installing), as I always have several registers with = it active. But this time I first deinstalled and removed=C2=A0C:\Pr= ogram Files (x86)\Apache Software Foundation\CouchDB entirely, then= reinstalled. And after checking that futon showed a working CouchDB I copi= ed back=C2=A0%COUCH%/var/lib/.

Maybe it's a bad idea to have = registers accessing a couch open when manipulating couchdb?

The backup I'm using to restor= e=C2=A0%COUCH%/var/lib/ was made after upgrading to 1.2.1, before u= pgrading to 1.2.2.

I'll now try deleting artendb.= Then creating it new. And replicating it from a version on iriscouch. Afte= r several hours (usually about 3 to 4) the views will be built and hopefull= y all is okay again. I'll tell you here if it worked.

Alex


=C2=A0

**********************************= *************************

=C2=A0

Alexander Gabriel
Wiesens= trasse 22
8800 Thalwil
079/ 372 51 64
alex@barbalex.ch
www.barbalex.ch



2013/4/3 Dave Cottlehuber <dch@jsonifie= d.com>
Hi Alex,

Nothing screams out at me what's not working. If you are able to jump o= n
IRC we can take a look together.

Upgrading should be pretty straightforwards but I am not sure what we are missing here. I think it's time to add an upgrade section to the docs a= lso.

A+
Dave



On 3 April 2013 03:15, Alexander Gabriel <alex@barbalex.ch> wrote:

> ugh. just updated to 1.2.2.
> This time I copied %COUCH%/etc/local.ini and %COUCH%/var/lib/ just in = case.
> I'm afraid it has been painful. Took me several iterations, deinst= alling,
> reinstalling, restarting etc. until at least 1.2.2 was installed and c= ould
> be accessed at htt= p://127.0.0.1:5984.
> This time though this had only worked after completely
> eliminating C:\Program Files (x86)\Apache Software Foundation\CouchDB.= So
> all my couches were gone.
> I copied back %COUCH%/etc/local.ini and %COUCH%/var/lib/. Result: Couc= hDb
> is not accessible again.
>
> What do I need to do to get my couches into the new version of couchdb= ?
> Is there a wiki about upgrading on windows? If so then I couldn't = find it.
>
> Alex
>
>
>
>
> ***********************************************************
>
>
>
> Alexander Gabriel
> Wiesenstrasse 22
> 8800 Thalwil
> 079/ 372 51 64
> alex@barbalex.ch
> www.barbalex.ch
>
>
>
> 2013/4/1 Dave Cottlehuber <
dch= @jsonified.com>
>
> > Hi Alex,
> >
> > It sounds like you installed couch over the top of the existing > > installation? This won't work, a number of libraries will be = left with
> > alternative / incompatible versions.
> >
> > - stop the service & ensure there are no erl, werl, couchjs, = or epmd
> > processes running
> > - move or copy your %COUCH%/var/lib/ and %COUCH%/etc/local.ini el= sewhere
> > - uninstall couch
> > - make sure %COUCH% is completely gone
> > - reinstall 1.2.1
> >
> > Usual caveat about having a backup applies.
> >
> >
> >
> > On 1 April 2013 14:47, Alexander Gabriel <alex@barbalex.ch> wrote:
> >
> > > Hi experts
> > >
> > > I am on Windows 8, 64bit.
> > >
> > > I just saw that my version 1.2.0 was not the latest and grea= test any
> > more.
> > > So I downloaded "setup-couchdb-1.2.1_otp_R14B04.exe&quo= t;. Then installed
> it.
> > > Then restarted.
> > > But I can't contact my couch any more.
> > >
> > >
> > > =C2=A0 =C2=A01. Looked in the services: Apache CouchDB 1.2.1= is supposed to be
> > > running
> > > =C2=A0 =C2=A02. http://127.0.0.1:5984/_utils is unavailable
> > > =C2=A0 =C2=A03. Clicked "start CouchDB" and get th= is error in erlang emulator:
> > > =C2=A0 =C2=A0*Erlang R14B04 (erts-5.8.5) [source] [smp:8:8] = [rq:8]
> > [async-threads:0]
> > > =C2=A0 =C2=A0**Eshell V5.8.5 =C2=A0(abort with ^G)
> > > =C2=A0 =C2=A0**1> {"init terminating in
> > >
> > >
> >
> =C2=A0do_boot",{{badmatch,{error,{{app_would_not_start,crypto},{c= ouch_app,start,[normal,["../etc/couchdb/default.ini","../etc= /couchdb/local.ini"]]}}}},[{couch,start,0},{init,start_it,1},{init,sta= rt_em,1}]}}
> > > =C2=A0 =C2=A0**init terminating in do_boot ()
> > > =C2=A0 =C2=A0Abnormal termination*
> > > =C2=A0 =C2=A0and also a command-window telling me: "Cou= chDB 1.2.1 - prepare to
> > > =C2=A0 =C2=A0relax...
> > > =C2=A0 =C2=A04. restarted windows again but still the same s= ymptoms
> > >
> > > Can you please help me to relax?
> > >
> >
>

--00248c71180d1f320e04d974907a-- --00248c71180d1f321e04d974907c--