<div dir="ltr"><div dir="ltr"><div dir="ltr">On Fri, Mar 8, 2019 at 5:20 AM SĂ©bastien Dinot <<a href="mailto:sebastien.dinot@c-s.fr">sebastien.dinot@c-s.fr</a>> wrote:<br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div bgcolor="#FFFFFF">
<p>Dear all,</p>
<p>As explained in <a href="https://github.com/Kitware/CDash/issues/780#issuecomment-469758443" target="_blank">my
comment of issue #780 on Github</a>, I have a problem when
updating the database schema.</p>
<p>I tried to migrate the dashboard of <a href="https://www.orfeo-toolbox.org/" target="_blank">Orfeo Toolbox</a> from
CDash 2.2.3 to CDash 2.6.0. After installing the sources of
version 2.6.0 and following the instructions given on the "<a href="https://public.kitware.com/Wiki/CDash:Upgrade#Upgrading_CDash" target="_blank">Upgrading
CDash</a>" page, I visited the CDash maintenance page. I clicked
a first time on the "Upgrade CDash" button and the patches for the
version 2.4 were applied. I then clicked a second time and the
following messages were displayed:</p>
<blockquote>Upgrading tables:<br>
Applying 2.8 patches:<br>
<br>
CDash Upgrade Successful.</blockquote>
<p>As far as I know, the version 2.8 doesn't exist yet. So, this
message is surprising and, indeed, the following message still
appears on the home page:</p>
<blockquote>The current database schema doesn't match the version of
CDash you are running, upgrade your database structure in the
Administration/CDash maintenance panel of CDash.<br>
</blockquote>
<p>What is the best way to correct this problem?</p></div></blockquote><div><br></div><div>Thanks for the nudge. Here's what I think is going on:</div><div><br></div><div><a href="https://github.com/Kitware/CDash/issues/780#issuecomment-475237470">https://github.com/Kitware/CDash/issues/780#issuecomment-475237470</a><br></div><div><br></div><div>tl;dr:</div><div>run <span style="background-color:rgba(27,31,35,0.05);font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace;font-size:11.9px;color:rgb(36,41,46)">UPDATE version SET minor = 4;</span></div><div>and then click the "Upgrade CDash" button again</div></div></div></div>