<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<style>
<!--
@font-face
        {font-family:Calibri}
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif"}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline}
span.EmailStyle17
        {font-family:"Calibri","sans-serif";
        color:windowtext}
.MsoChpDefault
        {font-family:"Calibri","sans-serif"}
@page WordSection1
        {margin:72.0pt 72.0pt 72.0pt 72.0pt}
div.WordSection1
        {}
-->
</style>
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal">Hi,</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">I have followed the documentation to upgrade my test OpenNebula from 4.6.2 to the 4.8 (beta 1).  When I run the onedb fsck, I got an error.
</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">[oneadmin@opennebula ~]$ onedb upgrade -v -u oneadmin -d opennebula</p>
<p class="MsoNormal">MySQL Password:</p>
<p class="MsoNormal">Version read:</p>
<p class="MsoNormal">Shared tables 4.6.0 : OpenNebula 4.6.2 daemon bootstrap</p>
<p class="MsoNormal">Local tables  4.5.80 : OpenNebula 4.6.2 daemon bootstrap</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">MySQL dump stored in /var/lib/one/mysql_localhost_opennebula.sql</p>
<p class="MsoNormal">Use 'onedb restore' or restore the DB using the mysql command:</p>
<p class="MsoNormal">mysql -u user -h server -P port db_name < backup_file</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">>>> Running migrators for shared tables</p>
<p class="MsoNormal">Database already uses version 4.6.0</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">>>> Running migrators for local tables</p>
<p class="MsoNormal">  > Running migrator /usr/lib/one/ruby/onedb/local/4.5.80_to_4.7.80.rb</p>
<p class="MsoNormal">  > Done in 0.27s</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">Database migrated from 4.5.80 to 4.7.80 (OpenNebula 4.7.80) by onedb command.</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">Total time: 0.27s</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">[oneadmin@opennebula ~]$ onedb fsck -S localhost -u oneadmin  -d opennebula</p>
<p class="MsoNormal">MySQL dump stored in /var/lib/one/mysql_localhost_opennebula.sql</p>
<p class="MsoNormal">Use 'onedb restore' or restore the DB using the mysql command:</p>
<p class="MsoNormal">mysql -u user -h server -P port db_name < backup_file</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal"> </p>
<p class="MsoNormal"><b><span style="color:red">undefined method `[]' for nil:NilClass</span></b></p>
<p class="MsoNormal">Error running fsck version 4.6.0</p>
<p class="MsoNormal">The database will be restored</p>
<p class="MsoNormal">MySQL DB opennebula at localhost restored. </p>
<p class="MsoNormal"> </p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">--</p>
<p class="MsoNormal">Regards,</p>
<p class="MsoNormal">Anandharaj</p>
<p class="MsoNormal"> </p>
</div>
<br>
<hr>
<div style="font-size:12pt; font-family:'Cambria','times new roman','garamond',serif; color:#ff0000">
<b>DISCLAIMER:</b></div>
<br>
<div>
<p style="font-size:8pt; line-height:10pt; font-family:'Cambria','times new roman',serif">
This e-mail (including any attachments) is for the addressee(s) only and may be confidential, especially as regards personal data. If you are not the intended recipient, please note that any dealing, review, distribution, printing, copying or use of this e-mail
 is strictly prohibited. If you have received this email in error, please notify the sender immediately and delete the original message (including any attachments).</p>
</div>
<br>
<div>
<p style="font-size:8pt; line-height:10pt; font-family:'Cambria','times new roman',serif">
MIMOS Berhad is a research and development institution under the purview of the Malaysian Ministry of Science, Technology and Innovation. Opinions, conclusions and other information in this e-mail that do not relate to the official business of MIMOS Berhad
 and/or its subsidiaries shall be understood as neither given nor endorsed by MIMOS Berhad and/or its subsidiaries and neither MIMOS Berhad nor its subsidiaries accepts responsibility for the same. All liability arising from or in connection with computer viruses
 and/or corrupted e-mails is excluded to the fullest extent permitted by law.</p>
</div>
</body>
</html>