Error after upgrading freepbx 15 to 16

Yes, the same error

Undefined variable: pkglist
File:/var/www/html/admin/libraries/Builtin/SystemUpdates.php:435

This looks like a bug, I assume this is the FreePBX Distro install? If so, you can do a System update without the GUI by running

yum update

Can you please open a ticket for the error message https://issues.freepbx.org/

Yes, it was a clean install of Freepbx (downloaded from https://www.freepbx.org/downloads/)

And I do an upgrade on the GUI, 15 to 16

I have already opened a ticket on: https://issues.freepbx.org/browse/FREEPBX-22971?filter=-2

i hope you can help me to solve the problem

Thanks you

Of course, i can access by SSH:

yum update
Loaded plugins: fastestmirror, versionlock
Repository sng-sng7php74 is listed more than once in the configuration
Loading mirror speeds from cached hostfile
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-sng7php74 | 3.4 kB 00:00
sng-updates | 2.9 kB 00:00
No packages marked for update

I am having the same issue. Tried everything as well and I cannot find anything that works. I will let you know if I figure something out.

Thanks for your message. I hope we can find a solution

Any idea?

Make your Backup for Trunks, Extensions, IVR etc… and Re-install from scratch for a new ISO FreePBX.

If the ONLY issue here is that you must do system updates with the CLI, then a reinstall is premature. Lets wait until FREEPBX-22971 gets developer attention.

1 Like

Ok, i will wait! Thanks you very much in advance

Issue basic as possible:
grep sng-sng7php74 /etc/yum.repos.d/*
/etc/yum.repos.d/Sangoma-Base.repo:[sng-sng7php74]
/etc/yum.repos.d/Sangoma-PHP74.repo:[sng-sng7php74]

simply need remove sng-sng7php74 from /etc/yum.repos.d/Sangoma-Base.repo. Profit.

4 Likes

deleteing /dev/shm/yumwrapper/ got rid of the pkglst error for me, and removing /etc/yum.repos.d/Sangoma-Base.repo:[sng-sng7php74] got rid of the duplicate problem.

2 Likes

Thanks you very much!!

It was the solution!

Thanks you very much @GogglesPisano! The answer of @dragoangel was exactly that i needed but your answer is more complete , i had deleted /dev/shm/yumwrapper/ previously to this ticket

So your answer can be also the solution.

Thanks you very much to @GogglesPisano and @dragoangel for their help and their time!

well I though everyone know that after changes in repo they need to do yum clean all :slight_smile:, I don’t drop any data from /dev/shm/yumwrapper/ manually.

1 Like

Not everyone :sweat_smile:

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