Major yum update of old elastix system

Discussion in 'General' started by tom@intersoft.net.au, Dec 7, 2009.

  1. tom@intersoft.net.au

    Joined:
    Jun 26, 2008
    Messages:
    32
    Likes Received:
    0
    Hi,

    I have an elastix system which we need to update, currently it is:

    Elastix 1.0-17
    Asterisk 1.4.19
    Zaptel 1.4.9.2
    FreePBX 2.3.1.5

    ...Clearly this is quite old, so I thought I'd ask if there was anything extra I needed to do before hitting it with a yum update? Should it be a smooth process or is it likely to break everything?

    The other complication is that I don't normally have physical access to the machine so it will all be done through SSH...
     
  2. dicko

    Joined:
    Oct 24, 2008
    Messages:
    4,099
    Likes Received:
    0
    Indeed it's old:

    I suggest that you be very careful and incremental, I don't think that the Elastix Backup/restore process will survive this trauma, but:

    Make bootable Iso image (I like Mondo) just in case

    Backup the FreePBX configs in unembedded,

    Update as far as possible the FreePBX,

    Backit up again,

    Download and install FreePBX 2.5.latest,

    Backit up again,

    Update the FreePBX to latest (not 2.6)

    Backit up again

    Install the contributed bulkdids and bulk extension modules for FreePBX,
    and use them.


    Now go for broke,


    yum update

    see if it still works,

    backit up again

    If you updated kernel* then probably reboot.



    enable the extras addons and maybe betas repos in /etc/yum.repos.d/elastix.repo

    yum update

    backit up again

    If you updated kernel* then probably reboot.


    check that /etc/yum.repos.d/elastix.repo
    is referring to:

    baseurl=http://repo.elastix.org/elastix/1/*/$basearch/

    and the repos you are happy with are enabled. . .

    If you updated kernel* then probably reboot.


    backit up again.

    (I hope you are getting my drift, just go carefully and incrementally, when it breaks revert)

    If you are not too invested in the Elastix addons and you haven't done too much "clever shit", just do the FreePBX update to latest, and backup off system, then on a crash test dummy sytem reinstall and FreePBX restore the configuration from that backup add back any "clever shit" manually, put in service and if that works. . . .

    (I find that this process is often quicker, if you have zaptel hardware then you will need to reconfigure it to dahdi hardware conventionality.)
     

Share This Page