Move FreePBX 14 deployement to new FreePBX 15 VM


(Kevin) #1

Here’s what I would like to accomplish, but I want to make sure I don’t have any missteps. Please advise on whether this plan is viable or not. Thanks in advance for any help! I have right at 24 extensions (20 Sangoma deskphones, 3 ATAs, and one softphone) in this deployment.

  1. Perform a backup of the FreePBX 14 deployment using the “Full Backup” template
  2. Spin up a new FreePBX 15 with Asterisk 16 VM using the official .ISO
  3. Perform an OS (yum update) and a full module upgrade (fwconsole ma upgradeall) on the new FreePBX 15 system
  4. De-Activate the FreePBX 14 system
  5. Activate the FreePBX 15 system using the same deployment ID
  6. Restore the backup to the FreePBX 15 system
  7. Set static IP address if necessary on the new system

I may very well have the deactivate and activate in the wrong position in the steps above. Again, I just want to make sure this process goes as smooth as possible, and I don’t miss anything. Also, another curious question. If I create the network adapter on the new virtual machine to match the MAC address of the old VM, will I even have to worry about the de-activate/activate process?

Thanks again,

Kevin


(Itzik) #2

Why not just upgrading the current machine to v15?


(Kevin) #3

Well, I would assume the latest FreePBX 15 .ISO from Sangoma includes a newer build of CentOS (newer kernel) and newer version of PHP. So, I thought if I’m going through this process, I may as well start off on a newer, “better,” foundation.

Please correct me if I’m wrong…

-Kevin


(Jared Busch) #4

You are. SNG7 is the OS, no matter if it is FreePBX 14 or 15.


(Kevin) #5

I was surprised to find that you are correct! I compared to a version 15 deployment that I already had running, and here’s what I found:

FreePBX 14:
Linux: Derived from Red Hat Enterprise Linux 7.5-0.11 (Source)
Kernel: 3.10.0-957.21.3.el7.x86_64
PHP: PHP 5.6.40 (cli) (built: Jan 22 2019 23:51:52)
Copyright © 1997-2016 The PHP Group
Zend Engine v2.6.0, Copyright © 1998-2016 Zend Technologies
with Zend Guard Loader v3.3, Copyright © 1998-2014, by Zend Technologies
with Zend OPcache v7.0.4-dev, Copyright © 1999-2015, by Zend Technologies

FreePBX 15:
Linux: Derived from Red Hat Enterprise Linux 7.5-0.11 (Source)
Kernel: 3.10.0-957.21.3.el7.x86_64
PHP: PHP 5.6.40 (cli) (built: Jan 22 2019 23:51:52)
Copyright © 1997-2016 The PHP Group
Zend Engine v2.6.0, Copyright © 1998-2016 Zend Technologies
with Zend Guard Loader v3.3, Copyright © 1998-2014, by Zend Technologies
with Zend OPcache v7.0.4-dev, Copyright © 1999-2015, by Zend Technologies


(Kevin) #6

So, based on that information, I did the following to perform an in-place upgrade… This information was pieced together from numerous sources, so maybe it will be helpful to someone else.

  1. fwconsole ma downloadinstall http://mirror1.freepbx.org/modules/packages/versionupgrade/versionupgrade-14.0.11.tgz (this appears to be the newest version available for download)
  2. fwconsole versionupgrade --check
  3. fwconsole chown
  4. fwconsole reload
  5. fwconsole versionupgrade --check
  6. fwconsole versionupgrade --upgrade
  7. reboot

Then I switched from Asterisk 13 to 16 using:
7) asterisk-version-switch (and chose option 3 and enter to switch to Asterisk version 16)
8) reboot

Please let me know if this looks like I did everything correctly.

Thanks again!

-Kevin


(Jared Busch) #7

That’s more or less the process.


(system) closed #8

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.