Bug #14406
closedSquid Proxy version 0.4.46 Missing Error subfolder and files for "en" or "en-usa" and all other languages.
0%
Description
After 23.05 update and new Squid version 0.4.46 installed errors started showing,
"ERROR: loading file 9;/usr/local/etc/squid/errors/en/ERR_ZERO_SIZE_OBJECT': (2) No such file or directory"
and many others the path /usr/local/squid/errors/templates is the only sub folder listed with error code.
It seems Headers Handling, Language and Other Customizations settings for languages is not loading the error codes into the required subfolder. System is functional however no errors are listed
Fix:
cp -a /usr/local/etc/squid/errors/templates/. /usr/local/etc/squid/errors/en-us
cp -a /usr/local/etc/squid/errors/templates/. /usr/local/etc/squid/errors/en
seems to resolve this however for other languages there is no error codes anylonger.
Files
Updated by Jonathan Lee over 1 year ago
Path I have taken to correct:
1. full remove and reinstall of Squid and Squidguard package error returned
2. copied templates into new subfolder en and en-usa
Updated by Chris W over 1 year ago
- File Screenshot from 2023-06-03 16-04-00.png Screenshot from 2023-06-03 16-04-00.png added
- Status changed from New to Confirmed
- Affected Version deleted (
All) - Affected Architecture All added
- Affected Architecture deleted (
SG-2100)
Can confirm on both a fresh installation of 23.05 with Squid 0.4.46, and one which was upgraded from 23.01 with Squid previously on version 0.4.45_10. Plus 23.01 is unaffected. It looks like only the Cache Table under Services > Squid Proxy Server > Real Time is affected, and irrespective of the language set in System > General Setup.
Updated by Jonathan Lee over 1 year ago
Thank you for taking the time to look into this
Updated by Marcos M over 1 year ago
The issue is likely caused by https://redmine.pfsense.org/issues/13776
Updated by Jonathan Lee over 1 year ago
Hi Marcos, I wanted to confirm that this issue was not present until inplace upgrade to 23.05
Updated by Pete Wright over 1 year ago
Jonathan Lee wrote in #note-5:
Hi Marcos, I wanted to confirm that this issue was not present until inplace upgrade to 23.05
I can confirm that this is the case on my end. I have two systems, one 23.01 which does not exhibit this error. The system running 23.05 does have the error. My temporary workaround is to create a symlink of /usr/local/etc/squid/errors/templates pointing to /usr/local/etc/squid/errors/en. this silenced the error.
i am seeing a new error in regards to "ERROR: Directive 'dns_v4_first' is obsolete." but that is most likely unrelated to this specific issue.
Updated by Jonathan Lee over 1 year ago
@Pete Wright thanks for confirming this issue.
Updated by Eric Reiss over 1 year ago
Jonathan Lee and Pete Wright I wanted to confirm that I had not seen this thread and had performed similar steps to correct the missing Error codes file and I see the dns_v4_first obsolete messages too.
New install on 23.01 upgraded to 23.05 and clean/new install of Squid 0.4.46.
Updated by K Puleston over 1 year ago
Hello,
I wanted to add an issue I am experiencing with Squid plugin version 0.4.46.
I am not sure if this issue arose once I upgraded PfSense 2.7.0 and installed the latest compatible Squid version, or if it was a prevalent issue back on PfSense 2.6.0. I was browsing through my Real Time logs in Squid Proxy and noticed in the "Squid Cache Table" section that I am getting the following errors.
Updated by Jonathan Lee about 1 year ago
https://bugs.squid-cache.org/show_bug.cgi?id=5296
Bugzilla Squid ticket now open for more Squid support visibility.
Updated by Jonathan Lee about 1 year ago
"2Amos Jeffries 2023-08-29 18:26:02 UTC
AFAICT "0.4.46" is the version number of the pfsense plugin used to integrate with Squid.
This sounds like a problem we had with the release packaging of Squid 6.1. The translation templates did not get included in the release tarball. That was resolved by the 6.2 release.
As a workaround if upgrade is not possible, one can manually install the Squid translation templates bundle (http://www.squid-cache.org/Versions/langpack/)."
Confirmed issue
Updated by Marcos M about 1 year ago
- Status changed from Confirmed to Feedback
I tested this on 23.09 dev snapshots and I'm not able to replicate the issue. The files are in the directory:
For reference, the latest upstream port version of squid is 5.9 which is what the pfSense package uses.
Updated by Jonathan Lee 11 months ago
ln -s /usr/local/etc/squid/errors/templates /usr/local/etc/squid/en
This command fixes the problem.
Link the file to the one it wants to use create a linker
Updated by Jonathan Lee 11 months ago
Correction
ln -s /usr/local/etc/squid/errors/templates /usr/local/etc/squid/errors/en-us
and
ln -s /usr/local/etc/squid/errors/templates /usr/local/etc/squid/errors/en
Updated by Steve Wheeler 11 months ago
- Status changed from Feedback to Resolved
This is fixed in 23.09.1. The language folders are present:
[23.09.1-RELEASE][admin@6100.stevew.lan]/root: ls /usr/local/etc/squid/errors/ COPYRIGHT ar-qa de en-in es-co es-us fr-fr ja oc sl sv-fi zh-hans-sg TRANSLATORS ar-sa de-at en-jm es-cr es-uy fr-lu ja-jp pl sl-si sv-se zh-hant af ar-sy de-ch en-nz es-cu es-ve fr-mc ka pl-pl spq templates zh-hant-hk ar ar-tn de-de en-ph es-do es-xl he ka-ge pt sr th zh-hant-mo ar-ae ar-ye de-li en-sg es-ec et he-il ko pt-br sr-cyrl th-th zh-hant-tw ar-bh az de-lu en-tt es-es et-ee hu ko-kp pt-bz sr-cyrl-cs tr zh-hk ar-dz az-az el en-uk es-gt fa hu-hu ko-kr pt-pt sr-cyrl-me tr-tr zh-mo ar-eg bg el-gr en-us es-hn fa-fa hy lt pt-xl sr-cyrl-rs uk zh-sg ar-iq bg-bg en en-za es-mx fa-ir hy-am lt-lt ro sr-latn uk-ua zh-tw ar-jo ca en-au en-zw es-ni fi hy-armn lv ro-md sr-latn-cs uz ar-kw ca-es en-bz es es-pa fi-fi id lv-lv ro-ro sr-latn-me vi ar-lb cs en-ca es-ar es-pe fr id-id ms ru sr-latn-rs vi-vn ar-ly cs-cz en-cn es-bo es-pr fr-be it ms-my ru-ru sr-rs zh-cn ar-ma da en-gb es-bz es-py fr-ca it-ch nl sk sr-sp zh-hans ar-om da-dk en-ie es-cl es-sv fr-ch it-it nl-nl sk-sk sv zh-hans-cn
Updated by Jonathan Lee 5 months ago
This issue is still present in Squid 6.6
ln -s /usr/local/etc/squid/errors/templates /usr/local/etc/squid/errors/en-us
Fixes it
pfSense 24.03
Squid Package 0.4.47 The languages folder is still missing