Talk:Logs and troubleshooting (Release ONE)
From OSM Public Wiki
Update with install script ?
About the section Logs_and_troubleshooting_(Release_ONE)#Software_upgrade
The script linked in OSM_Release_ONE#Install_from_source is supposed to handle updates, is it stable enough to be included in the wiki ?
No, the option "--update" is not working yet. It is work in progress.
RO upgrade
(Propose of change once R TWO is launched)
Execute at RO container ("lxc exec RO bash" to enter into the container, "exit" to exit)
Until v1.1 execute:
service openmano stop #git -C /opt/openmano stash #required if the original config file has changed git -C /opt/openmano pull --rebase git -C /opt/openmano checkout tags/v1.0.5 #git -C /opt/openmano stash pop #required if the original file has changed /opt/openmano/database_utils/migrate_mano_db.sh service openmano start
Upgrade from v1.x to v2.x execute:
#git -C /opt/openmano stash #required if the original config file has changed git -C /opt/openmano pull --rebase git -C /opt/openmano checkout tags/v2.0 #git -C /opt/openmano stash pop #required if the original file has changed /opt/openmano/database_utils/migrate_mano_db.sh # install some libraries need it by openvim lib sudo apt-get install make python-pip python-paramiko libssl-dev libffi-dev python-libvirt cd /opt git clone https://osm.etsi.org/gerrit/osm/openvim cd openvim/ # install openvim lib sudo make lite # after install openvim python library, lib-osm-openvim will be listed by "pip list" command /usr/local/osm/openvim/database_utils/install-db-server.sh -U <db_admin_user> -P <db admin pass> -d mano_vim_db -u mano -p manopw service openmano start