I've not tried it but thought I would do the upgrade in the following fashion ( of course on a test box ).

Do a backup of the MySQL database, and tar the /etc/asterisk directory. Do a full install of the new distribution, then shutdown asterisk, mv the new /etc/asterisk to say /etc/asterisk/old_conf, un tar the backed upped files. Then do a db restore from my backup.

Only things I can think of that could hamper this wold be DB structure changes, or new needed db data. Or same thing in the asterisk conf files. But I'm assuming that if this a minor bug fix I shouldn't run into any issues.

Any input on why this would not work cleanly would be appreciated.

Mike
David Fishburn wrote:
-----Original Message-----
From: David Fishburn [mailto:[EMAIL PROTECTED] Sent: Monday, January 30, 2006 10:17 PM
To: [email protected]
Subject: [asterix] [on-asterisk] Upgrading [EMAIL PROTECTED] 2.2 to [EMAIL 
PROTECTED] 2.4


[EMAIL PROTECTED] 2.2  CentOS
Installed from scratch using the ISO image.

With the release of 2.4 it sounds like I should upgrade (for bug fixes).
I have never done this before, so I just wanted to verify the process.

I found this posting
(http://forums.whirlpool.net.au/forum-replies-archive.cfm/4483
83.html):
*****
there is normally a non ISO version available. You normally just untar it and run the install. I can access the site at the moment, asteriskathome.SourceForge.net Just remember to backup your config in ./etc/asterisk directory. *****

So I downloaded the 48M tarball, but I wanted to verify with this group if it is really as simple as untarring and running make. I am quite a newbie to this, so I am not sure really what directory to untar into.
These simple command I suspect would do it:
make
make install

Will this overwrite my config files if I have done everything via the AMP interface? I am hoping it doesn't.

I attempted this last night, I was not successful.

This is what I did:

    scp asteriskathome-2.4.tar.gz [EMAIL PROTECTED]:/var/aah_load/.

    From the ReleaseNotes.txt file in the tarball:
       mkdir /var/aah_load
       cp asteriskathome-2.4.tar.gz /var/aah_load
       cd /var/aah_load

    Untar the file install file
       tar xvfz asteriskathome-2.4.tar.gz

    Install
       ./install.sh


So I followed those steps.  I did not shutdown Asterisk prior to running the
install.

Most steps completed successfully, but some steps failed like creating the
new MySQL database since it already existed.

Based on AMP, my configuration is still there and active, but I can't make
outgoing or incoming calls.


I will begin debugging it tonight, but I thought other people might be
interested in my results so far.
Can any suggest my "first" mistake, or variety of mistakes going through
this process?

TIA,
Dave


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





--
Mike Ashton

Quality Track Intl

Ph:     647-722-2092 x 251
Cell:   416-527-4995
Fax:    416-352-6043

QTI CONFIDENTIAL AND PROPRIETARY INFORMATION

The contents of this material are confidential and proprietary to Quality Track 
 International, Inc.
and may not be reproduced, disclosed, distributed or used without the express 
permission of an authorized representative of QTI.
Use for any purpose or in any manner other than that expressly authorized is 
prohibited.
If you have received this communication in error, please immediately delete it 
and all copies, and promptly notify the sender.



begin:vcard
fn:Mike Ashton
n:Ashton;Mike
org:Quality Track Intl
adr:;;63 Kenpark Ave;Brmpton;ON;L6Z 3L4;Canada
email;internet:[EMAIL PROTECTED]
title:CTO
tel;work:905-840-4995
tel;cell:416-527-4995
x-mozilla-html:FALSE
url:http://www.QualityTrack.com
version:2.1
end:vcard

Reply via email to