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


(Sentinel) #1

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:


(Jared Busch) #2

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

(Sentinel) #3

Thanks for the tips!

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


(Jared Busch) #4

Probably related


(Shahin Nazir) #5

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 )


(Sentinel) #6

fwconsole ma refreshsignatures, same result


(Shahin Nazir) #7

check your PBX DNS servers. Add 8.8.8.8


(Sentinel) #8

yep. Same issue


(Shahin Nazir) #9

Share me screenshot if you can pls.


(Shahin Nazir) #10

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


(Sentinel) #11

yes that works, just no cli commands above as stated


(Sentinel) #12

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