Talk:Logs and troubleshooting (Release ONE)

From OSM Public Wiki
Revision as of 09:56, 7 April 2017 by Mirabal (talk | contribs)
Jump to: navigation, search

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
cd /opt
git clone https://osm.etsi.org/gerrit/osm/openvim
cd openvim/
sudo make
/usr/local/osm/openvim/database_utils/install-db-server.sh  -d mano_vim_db -u mano -p manopw  –quiet --db-user-exist
service openmano start