<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">Great, thanks to everyone who helped.
Is it worth adding to the WiKi? It's similar to <a
moz-do-not-send="true"
href="http://wiki.freeswitch.org/wiki/Installation_Guide#Reverting_to_an_Earlier_Commit_in_Git">http://wiki.freeswitch.org/wiki/Installation_Guide#Reverting_to_an_Earlier_Commit_in_Git</a><br>
but not exactly the same.<br>
<br>
The final version is:<br>
<br>
git fetch<br>
git checkout <hash><br>
git clean -d -f -x<br>
rm -rf /usr/local/freeswitch/{lib,mod,bin}/*<br>
./bootstrap.sh<br>
./configure <my configure options><br>
<restore previously backed-up modules.conf><br>
make<br>
make install<br>
<br>
-Victor<br>
<br>
<br>
On 13-03-30 01:13 PM, Avi Marcus wrote:<br>
</div>
<blockquote
cite="mid:CALNZuw=yO+FBafKbByFp6Ybyr9Oh7niQiPJjcrv=doC9VHdO6g@mail.gmail.com"
type="cite">
<div dir="ltr">The code to delete the installed binaries is here:
<div><br>
</div>
<div><a moz-do-not-send="true"
href="http://wiki.freeswitch.org/wiki/Installation_Guide#Reverting_to_an_Earlier_Commit_in_Git">http://wiki.freeswitch.org/wiki/Installation_Guide#Reverting_to_an_Earlier_Commit_in_Git</a><br>
</div>
<div><span
style="color:rgb(0,0,0);font-family:sans-serif;font-size:13px;line-height:19.046875px">rm
-rf /usr/local/freeswitch/{lib,mod,bin}/*</span><br>
</div>
<div style=""><br>
</div>
<div style="">Also, you don't need to do a git pull -- just a
git fetch. fetch grabs the updates. Pull fetches the updates
and then checks out the most recent revision on the selected
branch. So do fetch then checkout the version you want.</div>
<div style=""><br>
</div>
<div style=""><span
style="font-family:Verdana,Arial,Helvetica,sans-serif">-Avi
Marcus</span><br>
</div>
<div class="gmail_extra">
<div>
<div dir="ltr">BestFone</div>
</div>
<br>
<div class="gmail_quote">On Sat, Mar 30, 2013 at 5:24 AM,
Victor Chukalovskiy <span dir="ltr"><<a
moz-do-not-send="true"
href="mailto:victor.chukalovskiy@gmail.com"
target="_blank">victor.chukalovskiy@gmail.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF">
<div>Am I missing something? Any unnecessary steps?
Based on Michael's input, the following should be done
in the source directory:<br>
<br>
git pull<br>
git checkout <hash><br>
git clean -d -f -x<br>
./bootstrap.sh<br>
./configure <my configure options><br>
<restore previously backed-up modules.conf><br>
make<br>
make install<br>
<br>
Thank you,<br>
Victor
<div>
<div class="h5"><br>
On 13-03-29 11:29 AM, Michael Collins wrote:<br>
</div>
</div>
</div>
<div>
<div class="h5">
<blockquote type="cite">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.<br>
<br>
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).<br>
<br>
-MC<br>
<br>
<div class="gmail_quote">On Thu, Mar 28, 2013 at
6:48 PM, Victor Chukalovskiy <span dir="ltr"><<a
moz-do-not-send="true"
href="mailto:victor.chukalovskiy@gmail.com"
target="_blank">victor.chukalovskiy@gmail.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0
0 0 .8ex;border-left:1px #ccc
solid;padding-left:1ex">Hello,<br>
<br>
What would be the right way to update existing
system to a particular<br>
version?<br>
<br>
Under normal conditions I'd do "make current"
Here I want exactly the<br>
same, but:<br>
-specify the version to install<br>
Making sure to:<br>
-preserve non-standard ./configure string used
during initial install<br>
-make sure conf directory is not overwritten
by stock config.<br>
-make sure modules.conf is not overwritten /
changed<br>
<br>
It should be simple...but want to avoid trial
and error. WiKi is<br>
somewhat confusing.<br>
<br>
Thank you,<br>
-Victor<br>
<br>
<br>
_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a moz-do-not-send="true"
href="mailto:consulting@freeswitch.org"
target="_blank">consulting@freeswitch.org</a><br>
<a moz-do-not-send="true"
href="http://www.freeswitchsolutions.com"
target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel
Communication Server<br>
<a moz-do-not-send="true"
href="http://www.cudatel.com"
target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a moz-do-not-send="true"
href="http://www.freeswitch.org"
target="_blank">http://www.freeswitch.org</a><br>
<a moz-do-not-send="true"
href="http://wiki.freeswitch.org"
target="_blank">http://wiki.freeswitch.org</a><br>
<a moz-do-not-send="true"
href="http://www.cluecon.com"
target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a moz-do-not-send="true"
href="mailto:FreeSWITCH-users@lists.freeswitch.org"
target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a moz-do-not-send="true"
href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users"
target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a moz-do-not-send="true"
href="http://lists.freeswitch.org/mailman/options/freeswitch-users"
target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a moz-do-not-send="true"
href="http://www.freeswitch.org"
target="_blank">http://www.freeswitch.org</a><br>
</blockquote>
</div>
<br>
<br clear="all">
<br>
-- <br>
Michael S Collins<br>
Twitter: @mercutioviz<br>
<a moz-do-not-send="true"
href="http://www.FreeSWITCH.org" target="_blank">http://www.FreeSWITCH.org</a><br>
<a moz-do-not-send="true"
href="http://www.ClueCon.com" target="_blank">http://www.ClueCon.com</a><br>
<a moz-do-not-send="true"
href="http://www.OSTAG.org" target="_blank">http://www.OSTAG.org</a><br>
<br>
<br>
<fieldset></fieldset>
<br>
<pre>_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
<a moz-do-not-send="true" href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a>
<a moz-do-not-send="true" href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server
<a moz-do-not-send="true" href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a>
Official FreeSWITCH Sites
<a moz-do-not-send="true" href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a>
<a moz-do-not-send="true" href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a>
<a moz-do-not-send="true" href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a>
FreeSWITCH-users mailing list
<a moz-do-not-send="true" href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a>
<a moz-do-not-send="true" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>
UNSUBSCRIBE:<a moz-do-not-send="true" href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
<a moz-do-not-send="true" href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a>
</pre>
</blockquote>
<br>
</div>
</div>
</div>
<br>
_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a moz-do-not-send="true"
href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a moz-do-not-send="true"
href="http://www.freeswitchsolutions.com"
target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication
Server<br>
<a moz-do-not-send="true" href="http://www.cudatel.com"
target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a moz-do-not-send="true" href="http://www.freeswitch.org"
target="_blank">http://www.freeswitch.org</a><br>
<a moz-do-not-send="true"
href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a moz-do-not-send="true" href="http://www.cluecon.com"
target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a moz-do-not-send="true"
href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a moz-do-not-send="true"
href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users"
target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a moz-do-not-send="true"
href="http://lists.freeswitch.org/mailman/options/freeswitch-users"
target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a moz-do-not-send="true" href="http://www.freeswitch.org"
target="_blank">http://www.freeswitch.org</a><br>
<br>
</blockquote>
</div>
<br>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
<a class="moz-txt-link-abbreviated" href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://www.freeswitchsolutions.com">http://www.freeswitchsolutions.com</a>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server
<a class="moz-txt-link-freetext" href="http://www.cudatel.com">http://www.cudatel.com</a>
Official FreeSWITCH Sites
<a class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://wiki.freeswitch.org">http://wiki.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://www.cluecon.com">http://www.cluecon.com</a>
FreeSWITCH-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>
UNSUBSCRIBE:<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
<a class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a>
</pre>
</blockquote>
<br>
</body>
</html>