So, to give the mailing list the solution to my problem. Julien figured out that I was missing the "version" table in my database. If you encounter the same problem you should manually add the table with the following mysql commands (after "USE <databasename>":<br>
<br>CREATE TABLE IF NOT EXISTS `version` (<br>
  `major` tinyint(4) NOT NULL,<br>
  `minor` tinyint(4) NOT NULL,<br>
  `patch` tinyint(4) NOT NULL<br>
) ENGINE=MyISAM DEFAULT CHARSET=latin1;<br>
<br>
INSERT INTO `version` (`major`, `minor`, `patch`) VALUES<br>
(1, 8, 2);<br><br>After that, upgrade worked perfectly. Thanks a lot Julien!<br><br>Cheers,<br>Yngve<br><div class="gmail_extra"><br><br><div class="gmail_quote">On 20 November 2012 16:10, Yngve Levinsen <span dir="ltr"><<a href="mailto:yngve.levinsen@gmail.com" target="_blank">yngve.levinsen@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Sorry, forgot to include the mailing list in cc.<div class="HOEnZb"><div class="h5"><br><br><div class="gmail_quote">---------- Forwarded message ----------<br>
From: <b class="gmail_sendername">Yngve Levinsen</b> <span dir="ltr"><<a href="mailto:yngve.levinsen@gmail.com" target="_blank">yngve.levinsen@gmail.com</a>></span><br>
Date: 20 November 2012 16:09<br>Subject: Re: [Cdash] [CMake] problems upgrading cdash<br>To: Julien Jomier <<a href="mailto:julien.jomier@kitware.com" target="_blank">julien.jomier@kitware.com</a>><br><br><br>Thanks for your suggestions and offer to help. I tried both with Firefox and Google Chrome, and then finally I also tried on a Windows Virtual Machine I have available. No success. When I click the button it returns with the information about "already updated" very quickly, so it does not look like it is doing anything.<br>


<br>The instance is now running of a copied database, so that I am sure not to corrupt the old instance of CDash. I also gave you an account with admin privileges, you should have gotten an e-mail about it. And finally of course as suggested on the wiki for cdash upgrades, I have a dump of the entire database on file just in case.<br>


<br>Cheers,<br>Yngve<div><div><br><div class="gmail_extra"><br><br><div class="gmail_quote">On 20 November 2012 12:21, Julien Jomier <span dir="ltr"><<a href="mailto:julien.jomier@kitware.com" target="_blank">julien.jomier@kitware.com</a>></span> wrote:<br>


<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Yngve,<br>
<br>
It might be an issue with the javascript during the upgrade. Can you try with a different browser?<br>
<br>
Otherwise, would it be possible to give me administrative privileges on this instance of CDash so I can try to upgrade and check.<br>
<br>
Julien<div><br>
<br>
On 19/11/2012 15:50, David Cole wrote:<br>
</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>
There's a separate mailing list for CDash questions. I've forwarded your<br></div>
mail to <a href="mailto:cdash@public.kitware.com" target="_blank">cdash@public.kitware.com</a> <mailto:<a href="mailto:cdash@public.kitware.com" target="_blank">cdash@public.kitware.<u></u>com</a>><div><br>

<br>
<br>
On Mon, Nov 19, 2012 at 7:54 AM, Yngve Levinsen<br></div><div>
<<a href="mailto:yngve.levinsen@gmail.com" target="_blank">yngve.levinsen@gmail.com</a> <mailto:<a href="mailto:yngve.levinsen@gmail.com" target="_blank">yngve.levinsen@gmail.<u></u>com</a>>> wrote:<br>
<br>
    Dear CMakers,<br>
<br>
    I tried just now to upgrade my cdash server from 1.8.2 to 2.0.2. I<br>
    get an error "SQL error in Project::GetUploadsTotalSize()<u></u>:Table<br>
    'cdash.build2uploadfile' doesn't exist"<br>
<br>
    I also see a message "The current database shema doesn't match the<br>
    version of CDash you are running, upgrade your database structure in<br>
    the Administration/CDash maintenance panel of CDash". If I click on<br>
    the "Upgrade CDash" button, it says that my database is already up<br>
    to date.<br>
<br>
    Could someone point out what I (might) have forgotten? You can see<br>
    both installations here:<br>
    <a href="http://cern.ch/yngve/CDash-2.0.2/" target="_blank">http://cern.ch/yngve/CDash-2.<u></u>0.2/</a><br>
    <a href="http://cern.ch/yngve/CDash-1.8.2/" target="_blank">http://cern.ch/yngve/CDash-1.<u></u>8.2/</a><br>
<br>
    (I guess inn principle the old version should not work anymore if<br>
    the upgrade had been successful..)<br>
<br>
    Best Regards,<br>
    Yngve<br>
<br>
    --<br>
<br></div>
    Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a> <<a href="http://www.kitware.com" target="_blank">http://www.kitware.com</a>><div><br>
<br>
    Visit other Kitware open-source projects at<br>
    <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/<u></u>opensource/opensource.html</a><br>
<br>
    Please keep messages on-topic and check the CMake FAQ at:<br>
    <a href="http://www.cmake.org/Wiki/CMake_FAQ" target="_blank">http://www.cmake.org/Wiki/<u></u>CMake_FAQ</a><br>
<br>
    Follow this link to subscribe/unsubscribe:<br>
    <a href="http://www.cmake.org/mailman/listinfo/cmake" target="_blank">http://www.cmake.org/mailman/<u></u>listinfo/cmake</a><br>
<br>
<br>
<br>
<br></div>
______________________________<u></u>_________________<br>
Cdash mailing list<br>
<a href="mailto:Cdash@public.kitware.com" target="_blank">Cdash@public.kitware.com</a><br>
<a href="http://public.kitware.com/cgi-bin/mailman/listinfo/cdash" target="_blank">http://public.kitware.com/cgi-<u></u>bin/mailman/listinfo/cdash</a><br>
<br>
</blockquote>
</blockquote></div><br></div>
</div></div></div><br>
</div></div></blockquote></div><br></div>