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 | [email protected] | @OpenNebula <http://twitter.com/opennebula> <[email protected]> On Fri, Jul 25, 2014 at 4:47 AM, Anandharaj Subramaniam < [email protected]> 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@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@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 > [email protected] > http://lists.opennebula.org/listinfo.cgi/users-opennebula.org > >
_______________________________________________ Users mailing list [email protected] http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
