Squid 0.4.38 And Dashboard Issues



  • Hi all,

    I just upgraded Squid from 0.4.37 to 0.4.38 and upon doing so I basically lost the ability to modify widgets in the dashboard (i.e. I can't remove or add any widgets, or modify them).  Furthermore, the traffic graphics widget no longer works at all (i.e. the graphs are completely blank (they work fine when going to the Traffic Graphics section under Status menu).  I tried restarting php-fpm, also tried to restart the web-configurator.  Even rebooted the system.  Nothing helped.  If I remove the squid package completely everything goes back to normal and works fine.  Could there have been a bug introduced accidentally between 0.4.37 and 0.4.38?  Thanks in advance for your help.



  • So after doing a bit more research I see that some work was done recently on the widget refresh mechanism in the package:

    https://github.com/pfsense/FreeBSD-ports/commits/devel/www/pfSense-pkg-squid

    It looks like the changes that were made have caused my Dashboard widgets to stop working properly.  Is a forum post like this ok or do I need to report this possible bug somewhere else as well?

    Thanks again.



  • @tman222:

    So after doing a bit more research I see that some work was done recently on the widget refresh mechanism in the package:

    https://github.com/pfsense/FreeBSD-ports/commits/devel/www/pfSense-pkg-squid

    It looks like the changes that were made have caused my Dashboard widgets to stop working properly.  Is a forum post like this ok or do I need to report this possible bug somewhere else as well?

    Thanks again.

    I have the same issue, how can I returned to previous version?



  • just wait for a patch…



  • Quick Update:

    I figured out today the problem can be narrowed to the Squid Antivirus Statistics Widget.  When I have it enabled, I experience the problems described above.  With the widget disabled everything in the dashboard appears to work fine.

    Should I open a bug report on this or do the package developers also check this forum?

    Thanks again for your help.



  • Getting the same results….

    How to disable widget, if dashboard if non functional... respectfully. >:(


  • Banned

    To fix the dashboard/widget on 2.3.4 from shell:

    cd /root
    fetch https://github.com/pfsense/FreeBSD-ports/commit/87f5da9d6b9225df0f22a0c17827034c2bd82f74.patch
    patch -R /usr/local/www/widgets/widgets/squid_antivirus_status.widget.php /root/87f5da9d6b9225df0f22a0c17827034c2bd82f74.patch
    rm /root/87f5da9d6b9225df0f22a0c17827034c2bd82f74.patch
    

    For 2.3.4 users: Do NOT upgrade to 0.4.38 version, there are NO changes whatsoever except for the broken widget change that was only intended for 2.4.



  • @doktornotor:

    To fix the dashboard/widget on 2.3.4 from shell:

    cd /root
    fetch https://github.com/pfsense/FreeBSD-ports/commit/87f5da9d6b9225df0f22a0c17827034c2bd82f74.patch
    patch -R /usr/local/www/widgets/widgets/squid_antivirus_status.widget.php /root/87f5da9d6b9225df0f22a0c17827034c2bd82f74.patch
    rm /root/87f5da9d6b9225df0f22a0c17827034c2bd82f74.patch
    

    For 2.3.4 users: Do NOT upgrade to 0.4.38 version, there are NO changes whatsoever except for the broken widget change that was only intended for 2.4.

    yeah, it works!


  • Banned

    Fixed in 0.4.39



  • @doktornotor:

    Fixed in 0.4.39

    Thank you so much for the quick fix!  Everything is working just fine again.  When I logged on to update I actually saw 0.4.40 as the version to upgrade to.  What changes were made between 0.4.39 and 0.4.40?

    Thanks in advance.


  • Banned

    @tman222:

    What changes were made between 0.4.39 and 0.4.40?

    Nothing except for the widget.