How to determine vicidial and build version

All installation and configuration problems and questions

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

How to determine vicidial and build version

Postby omar » Tue Sep 18, 2012 8:38 pm

Hi

On a cluster enviroment 1DB, 2ASTERISK, 1WWW, 1FILESER i need to know if all the servers have the same vicidial and build version.

So, How can i determine the vicidial and build version on each server individually?

Thanks
Omar
omar
 
Posts: 77
Joined: Wed Dec 13, 2006 2:05 pm

Re: How to determine vicidial and build version

Postby williamconley » Tue Sep 18, 2012 10:01 pm

Method 1)

Code: Select all
grep "build = '" /srv/www/htdocs/vicidial/admin.php -n -R


Method 2)

Code: Select all
cd /usr/src/astguiclient/VERSION
svn info
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: How to determine vicidial and build version

Postby omar » Wed Sep 19, 2012 11:37 am

Thanks williamconley

But I think in both methods the output should be the same information. For example in one of my asterisk servers the outputs are:

williamconley wrote:Method 1)

Code: Select all
grep "build = '" /srv/www/htdocs/vicidial/admin.php -n -R



Code: Select all
 # grep "build = '" /srv/www/htdocs/vicidial/admin.php -n -R
3150:$build = '120831-1523';


williamconley wrote:Method 2)

Code: Select all
cd /usr/src/astguiclient/VERSION
svn info

Code: Select all
 # cd /usr/src/astguiclient/trunk/
 # svn info
Path: .
URL: svn://svn.eflo.net:3690/agc_2-X/trunk
Repository Root: svn://svn.eflo.net:3690
Repository UUID: 3d104415-ff17-0410-8863-d5cf3c621b8a
Revision: 1859
Node Kind: directory
Schedule: normal
Last Changed Author: mattf
Last Changed Rev: 1859
Last Changed Date: 2012-09-14 13:59:31 -0400 (Fri, 14 Sep 2012)


If I am not wrong, I don't see the same information in Method 1 and Method 2

Thanks
Omar
omar
 
Posts: 77
Joined: Wed Dec 13, 2006 2:05 pm

Re: How to determine vicidial and build version

Postby williamconley » Thu Mar 14, 2013 6:25 pm

That is because they are not the same. Both are versions from different perspective. SVN info is more accurate as it refers to a snapshot of the entire codebase, all files. Grep in admin.php merely shows the version of that file. However, Matt prefers the grep version as that is primarily where problems are seen and tracked. Personally, I think it would be very useful to use the svn instead, but this raises an issue if you are NOT using SVN! LOL
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!)


Return to Support

Who is online

Users browsing this forum: Bing [Bot], Google [Bot] and 147 guests