[Freeswitch-users] Updating FS to a particular version

Ken Rice krice at freeswitch.org
Sat Mar 30 05:50:05 MSK 2013


Remove the already installed binaries in the fs mod bin and lib dirs

Sent from my iPhone

On Mar 29, 2013, at 9:24 PM, Victor Chukalovskiy <victor.chukalovskiy at gmail.com> wrote:

> Am I missing something? Any unnecessary  steps? Based on Michael's input, the following should be done in the source directory:
> 
> git pull
> git checkout <hash>
> git clean -d -f -x
> ./bootstrap.sh
> ./configure <my configure options>
> <restore previously backed-up modules.conf>
> make
> make install
> 
> Thank you,
> Victor
> On 13-03-29 11:29 AM, Michael Collins wrote:
>> FS will never overwrite existing configs in the conf directory. However, you can be extra safe by backing up your conf directory, performing your update, then restoring your conf directory.
>> 
>> As far as the non-standard "configure" script that will need to be       backed up as well. You'll need to restore that script after you run or re-run the bootstrap.sh script. Same goes for modules.conf - back it up and restore it after you run the modified configure script. In cases like this I recommend that you write a simple shell script and add a few comments to it so that the next time you do this in a few months you'll know not only what is supposed to happen (shell script commands) but why (comments).
>> 
>> -MC
>> 
>> On Thu, Mar 28, 2013 at 6:48 PM, Victor Chukalovskiy <victor.chukalovskiy at gmail.com> wrote:
>>> Hello,
>>> 
>>> What would be the right way to update existing system to a particular
>>> version?
>>> 
>>> Under normal conditions I'd do "make current" Here I want exactly the
>>> same, but:
>>> -specify the version to install
>>> Making sure to:
>>> -preserve non-standard ./configure string used during initial install
>>> -make sure conf directory is not overwritten by stock config.
>>> -make sure modules.conf is not overwritten / changed
>>> 
>>> It should be simple...but want to avoid trial and error. WiKi is
>>> somewhat confusing.
>>> 
>>> Thank you,
>>> -Victor
>>> 
>>> 
>>> _________________________________________________________________________
>>> Professional FreeSWITCH Consulting Services:
>>> consulting at freeswitch.org
>>> http://www.freeswitchsolutions.com
>>> 
>>> 
>>> 
>>> 
>>> Official FreeSWITCH Sites
>>> http://www.freeswitch.org
>>> http://wiki.freeswitch.org
>>> http://www.cluecon.com
>>> 
>>> FreeSWITCH-users mailing list
>>> FreeSWITCH-users at lists.freeswitch.org
>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>>> http://www.freeswitch.org
>> 
>> 
>> 
>> -- 
>> Michael S Collins
>> Twitter: @mercutioviz
>> http://www.FreeSWITCH.org
>> http://www.ClueCon.com
>> http://www.OSTAG.org
>> 
>> 
>> 
>> _________________________________________________________________________
>> Professional FreeSWITCH Consulting Services:
>> consulting at freeswitch.org
>> http://www.freeswitchsolutions.com
>> 
>> 
>> 
>> 
>> Official FreeSWITCH Sites
>> http://www.freeswitch.org
>> http://wiki.freeswitch.org
>> http://www.cluecon.com
>> 
>> FreeSWITCH-users mailing list
>> FreeSWITCH-users at lists.freeswitch.org
>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>> http://www.freeswitch.org
> 
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
> 
> 
> 
> 
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
> 
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20130329/88217332/attachment.html 


Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list