Following the announcement this morning of public release for 5.12, I decided to upgrade from 5.11 to 5.12
I followed exactly the upgrade process at http://docs.opennebula.io/5.12/intro_release_notes/upgrades/upgrading_single.html
but at step 7, I encounter the following issue:
oneadmin@vlab:~> onedb upgrade -v
Unable to parse oned.conf: undefined method `chomp’ for true:TrueClass
if I try this, though, it works but says that my DB is upgraded to 5.10 and not 5.12. Not sure if this is correct?
oneadmin@vlab:~> onedb upgrade -v -S localhost -u oneadmin -p xxxxx -d opennebula
Version read:
Shared tables 5.10.0 : Database migrated from 5.6.0 to 5.10.0 (OpenNebula 5.9.80) by onedb command.
Local tables 5.10.0 : Database migrated from 5.8.0 to 5.10.0 (OpenNebula 5.9.80) by onedb command.
MySQL dump stored in /var/lib/one/mysql_localhost_opennebula_2020-6-18_22:21:28.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 5.10.0
>>> Running migrators for local tables
Database already uses version 5.10.0
Total time: 0.41s
oneadmin@vlab:~>