I would like to upgrade from TrixBox 184.108.40.206 (CentOs 5.10, Asterisk 1.4.22-4, FreePBX 220.127.116.11) 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?
- On my backup PBX restore from backup TrixBox 18.104.22.168 and current FreePBX backup from production PBX.
- Upgrade FreePBX on backup PBX.
tar zxvf freepbx-22.214.171.124.tgz
- Update all modules on Backup PBX
- Create new FreePBX backup on backup PBX
- Install FreePBX-5.211.65-8-i386-Full-1394596981.iso on new disk
- Restore from FreePBX backup
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