Upgrade Vicibox from 3.1.13 to 3.1.15

All installation and configuration problems and questions

Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N

Upgrade Vicibox from 3.1.13 to 3.1.15

Postby benghoi » Tue Nov 06, 2012 9:40 pm

Hi Guys,

How to upgrade vicibox 3.1.13 to 3.1.15?
Im adding 1 server but the version is 3.1.13 and my existing servers are in 3.1.15

Thanks!
Vicibox5.0.3 64bit | Vicidial: 2.8-431a | Build: 140314-1134 | Asterisk: 1.8
Full Server
benghoi
 
Posts: 70
Joined: Fri Dec 09, 2011 4:56 pm

Re: Upgrade Vicibox from 3.1.13 to 3.1.15

Postby boybawang » Wed Nov 07, 2012 6:59 am

you just need to copy the vicidial scripts from 3.1.15 to your 3.1.13, its under /usr/src/astguiclient/trunk then run the install.pl so your newly added server will have the same version of vicidial
Vicidial Installation + Configuration + Support + Custom Development
Download my ebook on installing vicidial for free http://download.vicidial.com/ubuntu/VIC ... 100331.pdf
skype: deodax.cordova@gmail.com
m: +639172063730
boybawang
 
Posts: 989
Joined: Sat Nov 14, 2009 1:18 pm
Location: Dumaguete City, Negros Oriental, Philippines

Re: Upgrade Vicibox from 3.1.13 to 3.1.15

Postby benghoi » Wed Nov 07, 2012 1:28 pm

Hi boybawang,

I just want to clarify, because i am newbie in this =)
There are folders(agi,bin,docs,experimental,extras,LANG_www,libs,sounds,SuSE,translation,www,.svn) and files(INSTALL,UPGRADE,version,install.pl) under Trunk folder, should i copy and replace the trunk folder from 3.1.15 to 3.1.13 or only a certain folder/file?
Vicibox5.0.3 64bit | Vicidial: 2.8-431a | Build: 140314-1134 | Asterisk: 1.8
Full Server
benghoi
 
Posts: 70
Joined: Fri Dec 09, 2011 4:56 pm

Re: Upgrade Vicibox from 3.1.13 to 3.1.15

Postby williamconley » Wed Nov 07, 2012 5:02 pm

http://wiki.vicidial.org/index.php/SVN:howto

has a lot of info including a link at the end to another forum topic with a description.

When we do this, we use "svn info" on the "target machine" (the machine with the version we want to "match"), and then "svn up -r 1559" (with the appropriate matching revision number) in the trunk folder on the machine to be upgraded.

After this, you execute "perl install.pl" in the trunk folder and answer the questions, and then learn how to "cluster" this box into the other one (google poundteam multi-server manual for this part). To be clear, this install package will copy all the necessary files to their locations, that's it's job. DO say "Yes" to the sample .conf files question.

A MUCH better solution would be to upgrade your existing system to the latest SVN and then install a brand new server with Vicibox 4.0 which will do all the clustering for you (and add itself to the cluster!). Then you get the best of both worlds: Clustered and all the new toys ... and the PoundTeam Multi-Server Manual is merely a reference for stuff Vicibox already did for you (ie: redundant).
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20258
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Re: Upgrade Vicibox from 3.1.13 to 3.1.15

Postby benghoi » Wed Nov 07, 2012 5:44 pm

Hi Williamconley,

i have this cluster setup right now: 1-DB/Web, and 3-Asterisk, but the 2 asterisk was newly setup with lower version of vicibox. DB and 1-asterisk are in Vicibox 3.1.15 and the new asterisk servers are in 3.1.13. You said that Vicibox 4.0 is now available. So, it is possible to update the svn of all my server to Vicibox 4.0 or i need to install brand new Vicibox with 4.0 version in all my servers?
Vicibox5.0.3 64bit | Vicidial: 2.8-431a | Build: 140314-1134 | Asterisk: 1.8
Full Server
benghoi
 
Posts: 70
Joined: Fri Dec 09, 2011 4:56 pm

Re: Upgrade Vicibox from 3.1.13 to 3.1.15

Postby williamconley » Wed Nov 07, 2012 6:10 pm

Updating all servers to the latest version of Vicidial is entirely possible. That is what the SVN upgrade system is for.

Be sure you have a GOOD backup before you begin, of course.

The stages are this:

1) Get the new Code! (SVN ... there are instructions in the UPGRADE document after you have used svn to acquire the new code, nothing on your system will be changed except the source code in the trunk folder, which will have the Upgrade document that you may read after svn'ing to get it). So this stage is both useful and harmless (if you never execute install.pl ... you will not have altered your system!)

2) install.pl on each machine to install that new code you downloaded with SVN. After reading the upgrade document, of course.

3) upgrade your DB (instructions in the upgrade document ... but it's basically a matter of executing all the sql code that has occurred since Your Old Version of Vicidial).

4) At this point, you should reboot and test your newly upgraded cluster to be sure everything works again, and back it up again.

5) Then you can use Vicibox 4.0's .iso to add new servers much more easily. Do note: The SVN version will change Daily, so be sure you match at the moment you actually install the new machine! Another "minor" update may be necessary if you let the new system "work" for a couple days to be sure you didn't break anything by the upgrade.
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20258
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Re: Upgrade Vicibox from 3.1.13 to 3.1.15

Postby benghoi » Wed Nov 07, 2012 6:41 pm

Hi Wil,

Thanks for the info, i appreciate it.
Vicibox5.0.3 64bit | Vicidial: 2.8-431a | Build: 140314-1134 | Asterisk: 1.8
Full Server
benghoi
 
Posts: 70
Joined: Fri Dec 09, 2011 4:56 pm


Return to Support

Who is online

Users browsing this forum: Google [Bot] and 133 guests