Upgrading ViciBox v.7 to OpenSuSE Leap 42.2

Support forum for the ViciBox ISO Server Install and ISO LiveCD Demo

Moderators: enjay, williamconley, Staydog, mflorell, MJCoate, mcargile, Kumba

Upgrading ViciBox v.7 to OpenSuSE Leap 42.2

Postby Kumba » Tue Jun 06, 2017 1:49 pm

WARNING CAUTION DISCLAIMER NOTICE and other words that mean something horribly bad an irreversible could happen.

Doing this OS Distribution Upgrade has the potential to completely brick your system and make it unbootable. If you do NOT need OS updated beyond what ViciBox v.7.0.4 already provides then you can continue on. I would HIGHLY HIGHLY suggest you back up all important data on the server before attempting to follow these instructions.

YOU HAVE BEEN WARNED! PROCEED AT YOUR OWN PERIL!




So now that you have hopefully thought long and hard about doing the OS upgrade, here is how you can perform one:

1) cd /etc/zypp/repos.d
2) sed -i 's/42.1/42.2/g' *.repo
3) zypper refresh (say Yes or Y to any questions about accepting the new repos
4) zypper dup
5) reboot

After it is done installing and goes to reboot it will likely hang due to the large number of packages and init files that have changed. This is somewhat normal as all the services should already be shut down properly but it is missing hooks from the old to the new OS. If it is still hung after 10 minutes then you will need to power cycle the machine. Hopefully there will be no data loss but this ISN'T a guarantee.

After that, it should come up like normal and you are now running OpenSuSE v.42.2 which is still current and supported. You will also be able to install new packages and updates.
Kumba
 
Posts: 617
Joined: Tue Oct 16, 2007 11:44 pm
Location: Florida

Re: Upgrading ViciBox v.7 to OpenSuSE Leap 42.2

Postby Nefariousparity » Thu Jun 08, 2017 7:07 pm

What if want to opt out of updating to new operating system. And just update our current system? I am currently having issues with this repo

baseurl=http://download.opensuse.org/repositories/server:database/openSUSE_Leap_42.1/
|| DB Schema Version: 1460 || Asterisk 11.22.0-vici || BUILD: 160517-1927 ||VERSION: 2.12-557a||SVN: 2539||6xTelephony||1x Database||1x Slave||1x Web||1x Archive||ViciBox v.7.0.3-160505
Nefariousparity
 
Posts: 252
Joined: Wed Sep 12, 2012 7:01 pm

Re: Upgrading ViciBox v.7 to OpenSuSE Leap 42.2

Postby chornyi_taras » Wed Jun 14, 2017 4:29 am

after upgrading repos for openSUSE_Leap_42.2 are not available.
Code: Select all
Building repository 'Perl_openSUSE_Leap_42.2' cache .....................................................................................................................................................[done]
File '/repodata/repomd.xml' not found on medium 'http://download.opensuse.org/repositories/home:vicidial:asterisk-11/openSUSE_Leap_42.2/'
Abort, retry, ignore? [a/r/i/...? shows all options] (a): i
Do you want to disable the repository home:vicidial:asterisk-11_Leap_42.2 permanently? [yes/no] (no):
Skipping repository 'home:vicidial:asterisk-11_Leap_42.2' because of the above error.
File '/repodata/repomd.xml' not found on medium 'http://download.opensuse.org/repositories/home:vicidial/openSUSE_Leap_42.2/'
Invalid answer 'n'. [a/r/i/...? shows all options] (a): i
Do you want to disable the repository home:vicidial_Leap_42.2 permanently? [yes/no] (no):
ViciBox: 7.0.3 | VERSION: 2.12-560aBUILD: 160617-1427 | Webphone: PBXWebPhone

Skype: tarasukcho
chornyi_taras
 
Posts: 62
Joined: Tue Jun 14, 2016 3:41 pm
Location: L'viv, Ukraine

Re: Upgrading ViciBox v.7 to OpenSuSE Leap 42.2

Postby jerryriggin » Wed Jun 14, 2017 10:54 am

That is because vicidial:/asterisk-11/openSUSE_Leap_42.2 does not exist. You have to upgrade 1 more step to 42.3 then you will find http://download.opensuse.org/repositori ... Leap_42.3/
jerryriggin
 
Posts: 22
Joined: Sun Oct 30, 2011 10:45 pm

Re: Upgrading ViciBox v.7 to OpenSuSE Leap 42.2

Postby jerryriggin » Wed Jun 14, 2017 11:00 am

But please note that following the instructions in this post will fail because, among other things, http://download.opensuse.org/repositori ... _Leap_42.3 does not exist - it only goes to 4.2
jerryriggin
 
Posts: 22
Joined: Sun Oct 30, 2011 10:45 pm

Re: Upgrading ViciBox v.7 to OpenSuSE Leap 42.2

Postby jerryriggin » Wed Jun 14, 2017 11:01 am

Has anyone successfully upgraded to 42.2 or 3? I need that server:database repo for MySQL CDR/CDL

On 42.1 I get File '/repodata/repomd.xml' not found on medium 'http://download.opensuse.org/repositories/server:database/openSUSE_Leap_42.1/'
because openSUSE_Leap_42.1 is gone

On 42.3 I get File '/repodata/repomd.xml' not found on medium 'http://download.opensuse.org/repositories/Apache/openSUSE_Leap_42.3/'
because Apache is only up to 42.2

VM installed from ViciBox_v.7.x86_64-7.0.3.iso
VERSION: 2.14-610a
BUILD: 170416-1548
jerryriggin
 
Posts: 22
Joined: Sun Oct 30, 2011 10:45 pm


Return to ViciBox Server Install and Demo

Who is online

Users browsing this forum: No registered users and 5 guests