OPNsense Forum

Archive => 23.1 Legacy Series => Topic started by: hhabroad on March 22, 2023, 11:29:57 AM

Title: Squid error pages are missing after upgrade from 5.7 to 5.8 in OpnSense 23.1.4
Post by: hhabroad on March 22, 2023, 11:29:57 AM
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
Title: Re: Squid error pages are missing after upgrade from 5.7 to 5.8 in OpnSense 23.1.4
Post by: franco on March 22, 2023, 11:36:27 AM
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
Title: Re: Squid error pages are missing after upgrade from 5.7 to 5.8 in OpnSense 23.1.4
Post by: franco on March 22, 2023, 11:39:11 AM
PS: What "User error pages" setting are you using?
Title: Re: Squid error pages are missing after upgrade from 5.7 to 5.8 in OpnSense 23.1.4
Post by: hhabroad on March 22, 2023, 01:49:52 PM
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
Title: Re: Squid error pages are missing after upgrade from 5.7 to 5.8 in OpnSense 23.1.4
Post by: hhabroad on March 22, 2023, 01:53:09 PM
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
Title: Re: Squid error pages are missing after upgrade from 5.7 to 5.8 in OpnSense 23.1.4
Post by: Fright on March 22, 2023, 03:50:16 PM
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
Title: Re: Squid error pages are missing after upgrade from 5.7 to 5.8 in OpnSense 23.1.4
Post by: hhabroad on March 22, 2023, 04:20:31 PM
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