-
Type:
Bug
-
Status: Resolved
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 16.0.21
-
Fix Version/s: 16.0.21
-
Component/s: Framework - Module Admin
-
Labels:None
-
Sprint:Sprint 72, Sprint 73
-
ToDo:
-
Distro:FreePBX Distro
-
Module Fix Version:
FreePBX 16.0.19.5
Whoops\\Exception\\ErrorException
message: "Undefined variable: pkglist
file: /var/www/html/admin/libraries/Builtin/SystemUpdates.php:435
Process:
1. Go Admin > Module Admin > System Updates
2. Click Check Online
3. Show error "Undefined variable: pkglist"
4. Refresh page (F5) shows error:
Exception thrown with message "Failed to process the yum command. Please follow below steps to resolve the error - 1) SSH to PBX Linux terminal as root user 2) rm -rf /dev/shm/yumwrapper/* 3) Now again try to check/update the system packages from the UI. Exit code 1 - See FreePBX log for more info."
Stacktrace:
#4 Exception in /var/www/html/admin/libraries/Builtin/SystemUpdates.php:442
#3 FreePBX\Builtin\SystemUpdates:getInstalledRpmVersions in /var/www/html/admin/libraries/Builtin/SystemUpdates.php:383
#2 FreePBX\Builtin\SystemUpdates:parseUpdates in /var/www/html/admin/libraries/Builtin/SystemUpdates.php:330
#1 FreePBX\Builtin\SystemUpdates:getPendingUpdates in /var/www/html/admin/page.modules.php:1132
#0 include in /var/www/html/admin/config.php:477
5. In SSH run:
# rm -rf /dev/shm/yumwrapper/*
6. Pressing F5 key reloads the page correctly.
7. System Updates: No updates currently required! (this is not true since if there are pending updates)
8. In SSH run:
# yum update
......
Dependencias resueltas
===============================================================================================================================================================================================================
Package Arquitectura Versión Repositorio Tamaño
===============================================================================================================================================================================================================
Actualizando:
asterisk16 x86_64 16.25.0-1.sng7 sng-pkgs 5.2 k
asterisk16-addons x86_64 16.25.0-1.sng7 sng-pkgs 4.2 k
asterisk16-addons-bluetooth x86_64 16.25.0-1.sng7 sng-pkgs 38 k
asterisk16-addons-core x86_64 16.25.0-1.sng7 sng-pkgs 27 k
asterisk16-addons-mysql x86_64 16.25.0-1.sng7 sng-pkgs 39 k
asterisk16-addons-ooh323 x86_64 16.25.0-1.sng7 sng-pkgs 343 k
asterisk16-core x86_64 16.25.0-1.sng7 sng-pkgs 4.9 M
asterisk16-curl x86_64 16.25.0-1.sng7 sng-pkgs 23 k
asterisk16-dahdi x86_64 16.25.0-1.sng7 sng-pkgs 289 k
asterisk16-doc x86_64 16.25.0-1.sng7 sng-pkgs 14 k
asterisk16-odbc x86_64 16.25.0-1.sng7 sng-pkgs 65 k
asterisk16-ogg x86_64 16.25.0-1.sng7 sng-pkgs 10 k
asterisk16-resample x86_64 16.25.0-1.sng7 sng-pkgs 16 k
asterisk16-snmp x86_64 16.25.0-1.sng7 sng-pkgs 15 k
asterisk16-voicemail x86_64 16.25.0-1.sng7 sng-pkgs 85 k
Resumen de la transacción
===============================================================================================================================================================================================================
Actualizar 15 Paquetes