Page 1 of 1

Upgrading ViciBox v.7 to OpenSuSE Leap 42.2

PostPosted: Tue Jun 06, 2017 1:49 pm
by Kumba
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.

Re: Upgrading ViciBox v.7 to OpenSuSE Leap 42.2

PostPosted: Thu Jun 08, 2017 7:07 pm
by Nefariousparity
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/

Re: Upgrading ViciBox v.7 to OpenSuSE Leap 42.2

PostPosted: Wed Jun 14, 2017 4:29 am
by chornyi_taras
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):

Re: Upgrading ViciBox v.7 to OpenSuSE Leap 42.2

PostPosted: Wed Jun 14, 2017 10:54 am
by jerryriggin
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/

Re: Upgrading ViciBox v.7 to OpenSuSE Leap 42.2

PostPosted: Wed Jun 14, 2017 11:00 am
by jerryriggin
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

Re: Upgrading ViciBox v.7 to OpenSuSE Leap 42.2

PostPosted: Wed Jun 14, 2017 11:01 am
by jerryriggin
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