Upgrade from Freepbx15

I am trying to upgrade my FreePBX 15.0.37.9 ‘VoIP Server’ to the latest version as I found out that the installed version is EOL and modules are no longer updated. I looked around for instructions but I am running into dead ends.

Most instructions start with a command “yum upgrade -y”. That already ends with “No packages marked for update”. Looking around a bit, I found that this might be due to cached values for the repositories, and suggested to use “yum clean all”. After that, and “yum upgrade”, I see that 6 files are downloaded,

yum upgrade:

Loaded plugins: fastestmirror, versionlock
Determining fastest mirrors
sng-base | 3.6 kB 00:00
sng-epel | 2.9 kB 00:00
sng-extras | 2.9 kB 00:00
sng-pkgs | 3.4 kB 00:00
sng-updates | 2.9 kB 00:00
(1/6): sng-base/7-8.2003.3.el7.sangoma/x86_64/group_gz | 153 kB 00:00
(2/6): sng-extras/7-8.2003.3.el7.sangoma/x86_64/primary_db | 206 kB 00:00
(3/6): sng-pkgs/7-8.2003.3.el7.sangoma/x86_64/primary_db | 1.5 MB 00:00
(4/6): sng-base/7-8.2003.3.el7.sangoma/x86_64/primary_db | 6.1 MB 00:01
(5/6): sng-updates/7-8.2003.3.el7.sangoma/x86_64/primary_d | 4.5 MB 00:01
(6/6): sng-epel/7-8.2003.3.el7.sangoma/x86_64/primary_db | 7.3 MB 00:02
No packages marked for update

So, first questions:

Can I upgrade the system to Freepbx16, or do I need to go to freepbx17 (or even 18)?

The system is running on Centos7. Do I need to change the OS?

Do I need to perhaps upgrade Asterisk first (it is running on Asterisk16 now)

What do I need to do to point the system to the correct repository?

Any help would be appreciated. Thanks.

Are you running the distro? You can upgrade to 16 in place but 17 will require a new install and a backup/restore.

https://sangomakb.atlassian.net/wiki/spaces/FP/pages/13205629/FreePBX+PBXact+16+Version+Upgrade+Module

Make sure you have a good backup. Things to be aware of for a successful FreePBX 15 to 16 upgrade

I found a link in the forum that helped me to finish the ugrade. The trick was to have the ssytem run a check first:

fwconsole versionupgrade --check

This came back with a warning that I could not upgrade before I had removed a few modules. After I removed the flagged modules this command seems to have done the upgrade:

fwconsole versionupgrade --upgrade (maybe --install)

So, I am now running V16.0.40.11, and it looks like everything transferred over (extensions, VM, IVR, etc.). Big sigh of relief …

Open question:

Teh dashboard tells me now that 3 modules are vulnerable and should be updated. That includes at least one of the modules that I had to remove first. When I now look in the Module manager, that module is not listed. How do I update an unlisted module?

As for the hint to have a backup: Very important. I usually clone the drive before I do some serious surgery and test the clone. That way I can simply swap the drive and are back where I started…

fwconsole ma upgradeall

Thanks. tried that. CLI response was:

No repos specified, using: [commercial,extended,standard] from last GUI settings

Up to date.

Updating Hooks…Done

This is what the dashboard says:

endpoint (Cur v. 15.0.27.26) should be upgraded to v. 16.0.86 to fix security issues: SEC-2023-001
restapps (Cur v. 15.0.19.4) should be upgraded to v. 16.0.35 to fix security issues: SEC-2023-001, SEC-2021-013
pms (Cur v. 15.0.2.38) should be upgraded to v. 16.0.18 to fix security issues: SEC-2022-001

I am not even sure if I need these modules. All of them seem to be commercial modules, and I don’t think we use any (except the fax module).

Please uninstall modules if you do not require either by module admin ui or by cli i.e. fwconsole ma remove

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