Ta, I just discovered that as well having tried to do the upgrade from
inside 2.0.2. It turns out this is a hangover from the ftp --> http
change (because our server got hacked so ftp was disabled). I've put it
right now.
But there is a different problem. It seems there is still a v1.0ism stuck
in the UpdateAgent code. And people with 2.0.2 won't be able to get
updates for that. You will need to fix the file:
ccpnmr2.0/python/ccpnmr/update/UpdateAgent.py
by hand. At lines 534 and below you should see:
class ReleaseUpdate:
def __init__(self, server, installRoot, currentVersion,
releaseDir = 'temporaryReleaseDir', ccpnmrTopDir = 'ccpnmr',
ccpnmrCodeDir = 'ccpnmr1.0', httpServer = 'www.bio.cam.ac.uk',
httpDir = 'ccpnmr', uid = 'ccpn'):
Change that 1.0 to a 2.0. Then hopefully you can upgrade from inside
Analysis. It seemed to work for me.
Wayne
On Mon, 18 Aug 2008, Christoph Brockmann wrote:
> Ben Goult wrote:
> > Hi Wayne
> >
> >
> >> Did you get 2.0.3 via the Analysis upgrade functionality or via
> >> old-fashioned html (the download page)? The former has not yet been
> >> (re-)tested properly. (So if it works at all that would be a bonus.)
> >>
> >
> > I re-downloaded it from the download page. After installing it and
> > attempting to upgrade I found I was still on 2.0.2, when it asked if I
> > wanted to proceed with upgrade to 2.0.3 I tried it and it failed.
> >
> >
> >
> >> I will fix the grayed-out menu item bug ASAP! (But it will be an update.)
> >>
> >
> > I hadnt noticed that "Help" has know moved into "Other" so I didnt realise
> > it was the same grayed out bug!
> >
> > Cheers
> >
> > Ben
> >
> >
> the upgrade fails because the file could not be located on the server:
>
> after mv /ccpnmr/temporaryReleaseDir/analysis2.0.3.tar.gz test.txt
>
> test.txt contains:
>
> !DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
> <html xmlns="http://www.w3.org/1999/xhtml" lang="en">
> <head>
> <title>School of the Biological Sciences: Page not found</title>
> <link rel="stylesheet" type="text/css" href="/style/camstyle.css" />
> <!--
> <meta name="description" content="School of the Biological Sciences"
> />
> <meta name="keywords" content="" />
> -->
> </head>
> <body bgcolor="#ffffff" text="#000000" link="#003399" alink="#cc0000"
> vlink="#cc3333">
> <!-- header -->
> <table cellpadding="0" cellspacing="0" border="0" width="98%"
> summary="navigation bar">
> <tr>
> <td bgcolor="#0099cc" width="98%"><img
> src="/images/pixel.gif" class="block" width="1" height="16" alt="" /></td>
> <td align="right" rowspan="2">
> <table cellpadding="0" cellspacing="0" border="0" summary="navigation
> bar insert">
> <tr>
> <td><a href="http://web-search.cam.ac.uk/?qp=site%3awww.bio.cam.ac.uk"><img
> src="/images/search.gif"
> class="block" width="53" height="18" border="0" alt="Search" /></a></td>
> <td><a href="http://www.cam.ac.uk/global/az.html"><img src="/images/az.gif"
> class="block" width="53" height="18" border="0" alt="A-Z index" /></a></td>
> <td><a href="/feedback.html"><img
> src="/images/contact.gif" class="block" width="53" height="18" border="0"
> alt="Contact" /></a></td>
> </tr>
> </table>
> </td>
> </tr>
>
> <tr>
> <td bgcolor="#cccccc"><img src="/images/pixel.gif" class="block"
> width="1" height="2" alt="" /></td>
> </tr>
> </table>
>
> <table cellpadding="0" cellspacing="0" border="0" width="98%"
> summary="departmental header">
> <tr>
> <td><img src="/images/identifier2.gif" width="192"
> height="46" border="0" alt="University of Cambridge Home" /></a></td>
> <td align="right" class="title" valign="bottom">Page not found</td>
> </tr>
> <tr>
> <td bgcolor="#0099cc" colspan="2"><img
> src="/images/pixel.gif" class="block" width="1" height="4" alt="" /></td>
> </tr>
>
> <tr>
> <td bgcolor="#cccccc" colspan="2"><img
> src="/images/pixel.gif" class="block" width="1" height="2" alt="" /></td>
> </tr>
> </table>
> <!-- end header -->
>
> <!-- breadcrumbs -->
> <table cellpadding="0" cellspacing="0" border="0" width="98%"
> summary="breadcrumb navigation">
> <tr>
> <td>
> <a href="http://www.cam.ac.uk/"
> class="bread">University of Cambridge</a> >
> <a href="/index.html"
> class="bread">School of the Biological Sciences</a><!--breadcrumb-->
> </td>
> </tr>
> </table>
> <!-- breadcrumb-end -->
>
> <!-- content -->
> <img src="/images/pixel.gif" class="block" width="1" height="12" alt="" />
> <table width="98%" cellpadding="0" cellspacing="0" border="0"
> summary="page content">
> <tr>
> <td valign="top">
> <h2>Sorry the page you requested was not found</h2>
>
> This may be because the web site has been re-designed or because the
> information is no
> longer available on this server.
> <p>
> Please try the search button at the top of this page and if you cannot
> find what you
> are loooking for then please contact webmaster at the bottom of the page
> and we will
> assist you.
> </p>
>
> <p>Thank you for visiting our web site.
> </p>
>
>
> </td>
> </tr>
> </table>
> <!-- end content -->
>
> <!-- footer -->
> <br />
> <table cellpadding="0" cellspacing="0" border="0" width="98%"
> summary="footer">
> <tr>
> <td bgcolor="#0099cc" colspan="2"><img src="/images/pixel.gif"
> class="block" width="1" height="4" border="0" alt="" /></td>
> </tr>
>
> <tr>
> <td bgcolor="#cccccc" colspan="2"><img src="/images/pixel.gif"
> class="block" width="1" height="2" border="0" alt="" /></td>
> </tr>
>
> <tr>
> <td>
> <div class="foot">
> <p class="footer">© 2004 School of the Biological Sciences,
> University of
> Cambridge<br />
> Information provided by <a
> href="/feedback.html">webmaster@mole.bio.cam.ac.uk</a>.
>
> <!--If you wish to give level of conformance after testing, edit this
> and uncomment it-->
> <!--
> <br />
> <a href="http://www.w3.org/WAI/WCAG1AAA-Conformance">WAI AAA conformant</a>
> -->
> </p></div>
> </td>
>
> <!-- end footer -->
> </tr>
> </table>
> </body>
> </html>
>
>
>
>
> --
> ---------------------------------------------------------
> Dr. Christoph Brockmann
> Division of Structural Studies
> MRC Laboratory of Molecular Biology
> Hills Road
> Cambridge, CB2 2QH
> phone: +44-1223-40-2261 or +44-1223-40-2042
> e-mail: [log in to unmask]
> ---------------------------------------------------------
>
|