Squid error pages are missing after upgrade from 5.7 to 5.8 in OpnSense 23.1.4

Started by hhabroad, March 22, 2023, 11:29:57 AM

Previous topic - Next topic
Hello,

I've noticed while applying OpnSense upgrades yesterday and today that the Squid update from 5.7 to 5.8 on the two OpnSense firewalls that I've upgraded causes the error pages to disappear.  The Squid service then refuses to start.  As a workarround, I've simply copied the errors directory from another OpnSense firewall, which allows the Squid service to start correctly.  I'm uncertain why the error pages seem to be deleted during the update, but this could be painful for those that do not have another firewall available.

Ashley Smith

Hi,

Looking at https://github.com/freebsd/freebsd-ports/commit/4a29b00051e9 this doesn't give much clue as to why. Templates seem to be there, but no more translations? I couldn't get much from the squid changelog on what we should do.


Cheers,
Franco


Hi,

I'm using the Squid error pages on both firewalls.  I did try switching to the OPNsense error pages and reinstalling the package, both actions didn't make any changes.

When I looked in the /usr/local/etc/squid/errors directory, only the COPYRIGHT and TRANSLATORS files existed, plus the local and templates directories.  All of the other localization directories and symlinks were gone.

Ashley

Hi again,

I just looked at the github link and it does seem as though all localization files and symlinks were deleted from the pkg-plist...  The problem is likely with the squid package and its maintainers.

Ashley

According to https://www.mail-archive.com/squid-users@lists.squid-cache.org/msg24492.html it looks like an accident. however, it is not clear whether the files will be returned in the next release or whether it will now have to be downloaded separately

Hi,

Ok, thanks for the information.  It's good to know that in the link provided they provide a link to the Squid langpack download.  For those wishing to find this link a bit faster, the link provided for the langpack is http://www.squid-cache.org/Versions/langpack/.

Ashley