The pfSense Store

Author Topic: installed package widgets not showing updates  (Read 383 times)

0 Members and 1 Guest are viewing this topic.

Offline grandrivers

  • Sr. Member
  • ****
  • Posts: 566
  • Karma: +13/-2
    • View Profile
installed package widgets not showing updates
« on: October 25, 2017, 08:50:17 pm »
installed package widgets not showing updates  works under packages though
pfsense 2.4 super micro A1SRM-2558F
C2558 8gig ECC  60gig SSD
tripple Wan dual pppoe

Offline AhnHEL

  • Hero Member
  • *****
  • Posts: 636
  • Karma: +18/-0
  • It is what it is.
    • View Profile
Re: installed package widgets not showing updates
« Reply #1 on: October 27, 2017, 03:35:58 pm »
+1 Seeing this as well.
AhnHEL (Angel)
NYC

2 pfSense sites: 2.4.2 (amd64)
Dell 755 SFF E6550 @ 2.3Ghz, 4GB RAM, 100/30 Mbps, Intel X3959
Dell 7010 SFF i5-3570 @ 3.4Ghz, 8GB RAM, 940/880 Mbps, Intel X3959
OpenVPN (Road Warrior), pfBlockerNG, Gaming


Offline Steve_B

  • Global Moderator
  • Sr. Member
  • *****
  • Posts: 390
  • Karma: +110/-0
    • View Profile
Re: installed package widgets not showing updates
« Reply #2 on: October 30, 2017, 08:53:29 am »
The widget is intended to show available updates when the dashboard page is first loaded. Please refresh the page to see if updates displayed on the package manager page now appear on the dashboard.

Offline grandrivers

  • Sr. Member
  • ****
  • Posts: 566
  • Karma: +13/-2
    • View Profile
Re: installed package widgets not showing updates
« Reply #3 on: October 30, 2017, 12:14:48 pm »
NO NO tried a shift reload and still not on dash board but if i go to packages it shows snort and pfblocker need updates
pfsense 2.4 super micro A1SRM-2558F
C2558 8gig ECC  60gig SSD
tripple Wan dual pppoe

Offline grandrivers

  • Sr. Member
  • ****
  • Posts: 566
  • Karma: +13/-2
    • View Profile
Re: installed package widgets not showing updates
« Reply #4 on: October 30, 2017, 12:16:11 pm »
this is on  2.4.2.a.20171030.0525
been afraid to update since have 2 pppoe connections and wife works from home
pfsense 2.4 super micro A1SRM-2558F
C2558 8gig ECC  60gig SSD
tripple Wan dual pppoe

Online PiBa

  • Hero Member
  • *****
  • Posts: 733
  • Karma: +123/-1
  • PiBa-NL(on IRC)
    • View Profile
Re: installed package widgets not showing updates
« Reply #5 on: October 30, 2017, 12:36:57 pm »
It was a 'optimization' it seems, but maybe needs a different approach?: https://github.com/pfsense/pfsense/commit/cc28e9b1d39eaf64e28702b963dde7a6132a4691

If changing the code below then it shows updates, otherwise it doesn't..:
Code: [Select]
src/usr/local/www/widgets/widgets/installed_packages.widget.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/usr/local/www/widgets/widgets/installed_packages.widget.php b/src/usr/local/www/widgets/widgets/installed_packages.widget.php
index 692d3d4..2cab220 100644
--- a/src/usr/local/www/widgets/widgets/installed_packages.widget.php
+++ b/src/usr/local/www/widgets/widgets/installed_packages.widget.php
@@ -35,7 +35,7 @@ require_once("/usr/local/www/widgets/include/installed_packages.inc");
 require_once("pkg-utils.inc");
 
 function get_pkg_stats() {
- $package_list = get_pkg_info('all', true, true);
+ $package_list = get_pkg_info('all', false, true);
  $installed_packages = array_filter($package_list, function($v) {
  return (isset($v['installed']) || isset($v['broken']));
  });

Offline Steve_B

  • Global Moderator
  • Sr. Member
  • *****
  • Posts: 390
  • Karma: +110/-0
    • View Profile
Re: installed package widgets not showing updates
« Reply #6 on: October 30, 2017, 01:31:24 pm »
Thanks PiBa. I'l investigate and fix ASAP.

https://redmine.pfsense.org/issues/8035
« Last Edit: October 31, 2017, 07:08:25 am by Steve_B »

Offline Steve_B

  • Global Moderator
  • Sr. Member
  • *****
  • Posts: 390
  • Karma: +110/-0
    • View Profile
Re: installed package widgets not showing updates
« Reply #7 on: October 31, 2017, 09:52:18 am »
Fixed in the next snapshot.