[one-users] Upgrade 4.6 to 4.8 (beta) - onedb fsck report an error

Carlos Martín Sánchez cmartin at opennebula.org
Fri Jul 25 01:53:50 PDT 2014


Hi Anandharaj,

Can you please try the onedb command again, with the debug flag?

ruby -d `which onedb` fsck ....

Thank you.



--
Carlos Martín, MSc
Project Engineer
OpenNebula - Flexible Enterprise Cloud Made Simple
www.OpenNebula.org | cmartin at opennebula.org | @OpenNebula
<http://twitter.com/opennebula> <cmartin at opennebula.org>


On Fri, Jul 25, 2014 at 4:47 AM, Anandharaj Subramaniam <
anandharaj.maniam at mimos.my> wrote:

>  Hi,
>
>
>
> 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.
>
>
>
> [oneadmin at opennebula ~]$ onedb upgrade -v -u oneadmin -d opennebula
>
> MySQL Password:
>
> Version read:
>
> Shared tables 4.6.0 : OpenNebula 4.6.2 daemon bootstrap
>
> Local tables  4.5.80 : OpenNebula 4.6.2 daemon bootstrap
>
>
>
> MySQL dump stored in /var/lib/one/mysql_localhost_opennebula.sql
>
> Use 'onedb restore' or restore the DB using the mysql command:
>
> mysql -u user -h server -P port db_name < backup_file
>
>
>
>
>
> >>> Running migrators for shared tables
>
> Database already uses version 4.6.0
>
>
>
> >>> Running migrators for local tables
>
>   > Running migrator /usr/lib/one/ruby/onedb/local/4.5.80_to_4.7.80.rb
>
>   > Done in 0.27s
>
>
>
> Database migrated from 4.5.80 to 4.7.80 (OpenNebula 4.7.80) by onedb
> command.
>
>
>
> Total time: 0.27s
>
>
>
>
>
> [oneadmin at opennebula ~]$ onedb fsck -S localhost -u oneadmin  -d
> opennebula
>
> MySQL dump stored in /var/lib/one/mysql_localhost_opennebula.sql
>
> Use 'onedb restore' or restore the DB using the mysql command:
>
> mysql -u user -h server -P port db_name < backup_file
>
>
>
>
>
> *undefined method `[]' for nil:NilClass*
>
> Error running fsck version 4.6.0
>
> The database will be restored
>
> MySQL DB opennebula at localhost restored.
>
>
>
>
>
> --
>
> Regards,
>
> Anandharaj
>
>
>
> ------------------------------
>  *DISCLAIMER:*
>
>  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).
>
>  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.
>
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20140725/a5e50487/attachment.htm>


More information about the Users mailing list