How to update FreePBX Distro:12 correctly?


(Zara Free) #1

Dear participants!

Help an inexperienced person update FreePBX correctly.

PBX Version: 14.0.16.4
PBX Distro: 12.7.6-1904-1.sng7
Asterisk Version: 13.27.1

can I use this command to upgrade to version 16: asterisk-version-switch

If I enter this command via SSH, I get the following information:
[root@amo ~]# asterisk-version-switch
Pick the Asterisk Version you would like to change to.
Press 1 and the Enter key for Asterisk 13 (LTS) (With Opus and G729 codecs)
Press 2 and the Enter key for Asterisk 15 (With Opus and G729 codecs)
Press 3 and the Enter key for Asterisk 16 (LTS) (With Opus and G729 codecs)
Press 9 and the Enter key to exit and not change your Asterisk Version

Thanks.


(Lorne Gaetz) #2

If you’re using the Distro, you can use the GUI to do all PBX and system updates:
https://wiki.freepbx.org/display/FPG/Updates

The way Asterisk updates work on the Distro, is that it will only update Asterisk minor versions, so if you are running Asterisk 13.21, you will get updated to 13.22, but not to 14. In order to change Asterisk major versions, you must use the asterisk-version-switch
https://wiki.freepbx.org/display/PPS/Changing+Major+Asterisk+Versions+on+the+Fly

To answer your question, yes. You use asterisk-version-switch to change the asterisk major version to 16.


(Zara Free) #3

Whoa!
How strange, I have not seen such a list here.

But the mistake still remains.


(Itzik) #4

I assume your PBX wasn’t updated in a while.

Run the below:

asterisk-version-switch

Select the version of asterisk you wish to change to.

fwconsole reload
fwconsole restart

Then update the PBX

fwconsole ma upgradeall
fwconsole chown
fwconsole reload
yum update -y
reboot

(Zara Free) #5

Ok, I’ll do it today .

P.S.:The main thing is not to make problems.


(Zara Free) #6

PBX Version: 14.0.16.4
PBX Distro:12.7.8-2012-1.sng7
Asterisk Version:16.15.1

Hello!
Yesterday everything went fine, now it is with me.
Is it worth updating further? since Asterisk was updated, but how to update the PBX, it remained the same.

Thanks.


(system) closed #7

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