Upgrading from TrixBox 2.6.2.3 to FreePBX 2.11 distro

I would like to upgrade from TrixBox 2.6.2.3 (CentOs 5.10, Asterisk 1.4.22-4, FreePBX 2.3.1.7) to the FreePBX-5.211.65-8-i386-Full-1394596981.iso. Does the following process seem reasonable? Is there an issue with going from Asterisk 1.4 to 1.8?

  1. On my backup PBX restore from backup TrixBox 2.6.2.3 and current FreePBX backup from production PBX.
  2. Upgrade FreePBX on backup PBX.
    cd /usr/src/
    wget http://mirror.freepbx.org/freepbx-2.11.0.25.tgz
    tar zxvf freepbx-2.11.0.25.tgz
    cd freepbx-2.11.0.25
    ./install_amp --force-version=2.3.1.7
  3. Update all modules on Backup PBX
  4. Create new FreePBX backup on backup PBX
  5. Install FreePBX-5.211.65-8-i386-Full-1394596981.iso on new disk
  6. Restore from FreePBX backup

Best regards.
Jim Ronald

Honestly I would not do it. The potential for bad things is huge. It is a better idea to do it by hand. Backup and restore should only be done to/from the same version.

You could always do it to see if it works but if things go south I wouldn’t invest in troubleshooting I would do a wipe and go to the by hand method.

–force-version is only for certain database elements. If files have changed and the database is unexpected you won’t be able to do what you want to do and will end up with a ton of fatal errors

I have done this, and it is really only warranted if you have an extensive configuration that would be very difficult to copy.

trixbox 2.6 is FreePBX 2.7 so you can install a distro, drop the db’s. Delete /var/lib/asterisk/bin and the admin webroot, install the 2.7 tarball (don’t forget to recreate the DB) then steop through the upgrades 2.7>2.8>2.9>2.10>2.11 then you can take a backup and restore to a fresh distro.

It is very labor intensive, modules break along the way so you need to be familiar with module_admin to deal with issues as they arise.

Don’t foreget to choose Asterisk 1.8