How to: Upgrade from Freepbx 14 to 15 from Command Line

These are the steps we use to upgrade. Using CLI makes things much easier and smoother in my opinion. No uploading modules, etc. Currently 14.0.12 is the current upgrade tool version as of 11/24/2020.

Step 1 - Run all Updates on Freepbx 14 Prior to upgrade

fwconsole ma refreshsignatures
yum update
fwconsole ma updateall

Check for proper permissions
fwconsole chown
Download upgrade Tool
fwconsole ma downloadinstall http://mirror1.freepbx.org/modules/packages/versionupgrade/versionupgrade-14.0.12.tgz
Run Version Check to ensure you are good to upgrade :wink:
fwconsole versionupgrade --check
Should come back and say “you may proceed to upgrade”
Run upgrade
fwconsole reload && fwconsole chown && fwconsole versionupgrade --upgrade && reboot
Last but not least, run and check updates again for Freepbx15
fwconsole ma updateall
Then run Fwconsole reload
Check Gui when complete. Happy Holidays :slight_smile:

3 Likes

This is the only way to do it IMO.

You don’t have to pull it by URL. All I do is this.

fwconsole ma downloadinstall versionupgrade

My full process:

yum upgrade -y
fwconsole ma upgradeall
fwconsole chown
fwconsole reload
reboot
fwconsole ma downloadinstall versionupgrade
fwconsole reload
fwconsole versionupgrade --check
fwconsole versionupgrade --upgrade
fwconsole chown
fwconsole reload
reboot
fwconsole ma upgradeall
fwconsole chown
fwconsole reload
reboot
2 Likes

Thanks for the tips!

fwconsole ma downloadinstall versionupgrade gives me “Retrieve module XML was Empty”

Probably related

fwconsole ma refreshsignatures

Should be fix broken or old signatures on your PBX.

Also try to add some Public DNS servers ( 1.1.1.1 / 8.8.8.8 / 208.67.222.222 )

fwconsole ma refreshsignatures, same result

check your PBX DNS servers. Add 8.8.8.8

yep. Same issue

Share me screenshot if you can pls.

Have you tried to follow FreeBSD update wiki page ? Pls check it
https://wiki.freepbx.org/display/FOP/Upgrade+to+FreePBX+15

yes that works, just no cli commands above as stated

Gui works fine. I just prefer CLI, much faster :wink:

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