Bug #14406
closedSquid Proxy version 0.4.46 Missing Error subfolder and files for "en" or "en-usa" and all other languages.
Added by Jonathan Lee over 1 year ago. Updated 5 months ago.
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
Screenshot 2023-05-22 at 4.33.22 PM.png (705 KB) Screenshot 2023-05-22 at 4.33.22 PM.png | Error Codes | Jonathan Lee, 05/23/2023 12:40 AM | |
Screenshot 2023-05-22 at 4.35.37 PM.png (227 KB) Screenshot 2023-05-22 at 4.35.37 PM.png | Error codes for the Subfolder are missing other languages and en and en-usa errors | Jonathan Lee, 05/23/2023 12:41 AM | |
Screenshot 2023-05-22 at 4.38.42 PM.png (444 KB) Screenshot 2023-05-22 at 4.38.42 PM.png | Error codes that squid is looking for seem to be listed under templates path | Jonathan Lee, 05/23/2023 12:42 AM | |
Screenshot from 2023-06-03 16-04-00.png (101 KB) Screenshot from 2023-06-03 16-04-00.png | Chris W, 06/03/2023 10:23 PM | ||
clipboard-202307132053-7gpql.png (902 KB) clipboard-202307132053-7gpql.png | K Puleston, 07/13/2023 07:53 PM |
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:
ls -lha /usr/local/etc/squid/errors/ total 488 drwxr-xr-x 49 squid proxy 176B Aug 29 15:35 . drwxr-xr-x 4 squid proxy 19B Aug 31 11:57 .. -rw-r--r-- 1 squid proxy 2.2K Aug 21 01:11 COPYRIGHT -rw-r--r-- 1 squid proxy 4.0K Aug 21 01:11 TRANSLATORS drwxr-xr-x 2 squid proxy 45B Aug 29 15:35 af drwxr-xr-x 2 squid proxy 45B Aug 29 15:35 ar lrwxr-xr-x 1 root wheel 2B Aug 21 01:11 ar-ae -> ar lrwxr-xr-x 1 root wheel 2B Aug 21 01:11 ar-bh -> ar lrwxr-xr-x 1 root wheel 2B Aug 21 01:11 ar-dz -> ar lrwxr-xr-x 1 root wheel 2B Aug 21 01:11 ar-eg -> ar lrwxr-xr-x 1 root wheel 2B Aug 21 01:11 ar-iq -> ar lrwxr-xr-x 1 root wheel 2B Aug 21 01:11 ar-jo -> ar lrwxr-xr-x 1 root wheel 2B Aug 21 01:11 ar-kw -> ar lrwxr-xr-x 1 root wheel 2B Aug 21 01:11 ar-lb -> ar lrwxr-xr-x 1 root wheel 2B Aug 21 01:11 ar-ly -> ar lrwxr-xr-x 1 root wheel 2B Aug 21 01:11 ar-ma -> ar lrwxr-xr-x 1 root wheel 2B Aug 21 01:11 ar-om -> ar lrwxr-xr-x 1 root wheel 2B Aug 21 01:11 ar-qa -> ar lrwxr-xr-x 1 root wheel 2B Aug 21 01:11 ar-sa -> ar lrwxr-xr-x 1 root wheel 2B Aug 21 01:11 ar-sy -> ar lrwxr-xr-x 1 root wheel 2B Aug 21 01:11 ar-tn -> ar lrwxr-xr-x 1 root wheel 2B Aug 21 01:11 ar-ye -> ar drwxr-xr-x 2 squid proxy 45B Aug 29 15:35 az lrwxr-xr-x 1 root wheel 2B Aug 21 01:11 az-az -> az drwxr-xr-x 2 squid proxy 45B Aug 29 15:35 bg lrwxr-xr-x 1 root wheel 2B Aug 21 01:11 bg-bg -> bg drwxr-xr-x 2 squid proxy 45B Aug 29 15:35 ca lrwxr-xr-x 1 root wheel 2B Aug 21 01:11 ca-es -> ca drwxr-xr-x 2 squid proxy 45B Aug 29 15:35 cs lrwxr-xr-x 1 root wheel 2B Aug 21 01:11 cs-cz -> cs drwxr-xr-x 2 squid proxy 45B Aug 29 15:35 da lrwxr-xr-x 1 root wheel 2B Aug 21 01:11 da-dk -> da drwxr-xr-x 2 squid proxy 45B Aug 29 15:35 de lrwxr-xr-x 1 root wheel 2B Aug 21 01:11 de-at -> de lrwxr-xr-x 1 root wheel 2B Aug 21 01:11 de-ch -> de lrwxr-xr-x 1 root wheel 2B Aug 21 01:11 de-de -> de lrwxr-xr-x 1 root wheel 2B Aug 21 01:11 de-li -> de lrwxr-xr-x 1 root wheel 2B Aug 21 01:11 de-lu -> de drwxr-xr-x 2 squid proxy 45B Aug 29 15:35 el lrwxr-xr-x 1 root wheel 2B Aug 21 01:11 el-gr -> el drwxr-xr-x 2 squid proxy 45B Aug 29 15:35 en lrwxr-xr-x 1 root wheel 2B Aug 21 01:11 en-au -> en lrwxr-xr-x 1 root wheel 2B Aug 21 01:11 en-bz -> en lrwxr-xr-x 1 root wheel 2B Aug 21 01:11 en-ca -> en lrwxr-xr-x 1 root wheel 2B Aug 21 01:11 en-cn -> en lrwxr-xr-x 1 root wheel 2B Aug 21 01:11 en-gb -> en lrwxr-xr-x 1 root wheel 2B Aug 21 01:11 en-ie -> en lrwxr-xr-x 1 root wheel 2B Aug 21 01:11 en-in -> en lrwxr-xr-x 1 root wheel 2B Aug 21 01:11 en-jm -> en lrwxr-xr-x 1 root wheel 2B Aug 21 01:11 en-nz -> en lrwxr-xr-x 1 root wheel 2B Aug 21 01:11 en-ph -> en lrwxr-xr-x 1 root wheel 2B Aug 21 01:11 en-sg -> en lrwxr-xr-x 1 root wheel 2B Aug 21 01:11 en-tt -> en lrwxr-xr-x 1 root wheel 2B Aug 21 01:11 en-uk -> en lrwxr-xr-x 1 root wheel 2B Aug 21 01:11 en-us -> en lrwxr-xr-x 1 root wheel 2B Aug 21 01:11 en-za -> en lrwxr-xr-x 1 root wheel 2B Aug 21 01:11 en-zw -> en drwxr-xr-x 2 squid proxy 45B Aug 29 15:35 es lrwxr-xr-x 1 root wheel 2B Aug 21 01:11 es-ar -> es lrwxr-xr-x 1 root wheel 2B Aug 21 01:11 es-bo -> es lrwxr-xr-x 1 root wheel 5B Aug 21 01:11 es-bz -> es-mx lrwxr-xr-x 1 root wheel 2B Aug 21 01:11 es-cl -> es lrwxr-xr-x 1 root wheel 2B Aug 21 01:11 es-co -> es lrwxr-xr-x 1 root wheel 5B Aug 21 01:11 es-cr -> es-mx lrwxr-xr-x 1 root wheel 2B Aug 21 01:11 es-cu -> es lrwxr-xr-x 1 root wheel 2B Aug 21 01:11 es-do -> es lrwxr-xr-x 1 root wheel 2B Aug 21 01:11 es-ec -> es lrwxr-xr-x 1 root wheel 2B Aug 21 01:11 es-es -> es lrwxr-xr-x 1 root wheel 5B Aug 21 01:11 es-gt -> es-mx lrwxr-xr-x 1 root wheel 5B Aug 21 01:11 es-hn -> es-mx drwxr-xr-x 2 squid proxy 45B Aug 29 15:35 es-mx lrwxr-xr-x 1 root wheel 5B Aug 21 01:11 es-ni -> es-mx lrwxr-xr-x 1 root wheel 5B Aug 21 01:11 es-pa -> es-mx lrwxr-xr-x 1 root wheel 2B Aug 21 01:11 es-pe -> es lrwxr-xr-x 1 root wheel 2B Aug 21 01:11 es-pr -> es lrwxr-xr-x 1 root wheel 2B Aug 21 01:11 es-py -> es lrwxr-xr-x 1 root wheel 5B Aug 21 01:11 es-sv -> es-mx lrwxr-xr-x 1 root wheel 2B Aug 21 01:11 es-us -> es lrwxr-xr-x 1 root wheel 2B Aug 21 01:11 es-uy -> es lrwxr-xr-x 1 root wheel 2B Aug 21 01:11 es-ve -> es lrwxr-xr-x 1 root wheel 2B Aug 21 01:11 es-xl -> es drwxr-xr-x 2 squid proxy 45B Aug 29 15:35 et lrwxr-xr-x 1 root wheel 2B Aug 21 01:11 et-ee -> et drwxr-xr-x 2 squid proxy 45B Aug 29 15:35 fa lrwxr-xr-x 1 root wheel 2B Aug 21 01:11 fa-fa -> fa lrwxr-xr-x 1 root wheel 2B Aug 21 01:11 fa-ir -> fa drwxr-xr-x 2 squid proxy 45B Aug 29 15:35 fi lrwxr-xr-x 1 root wheel 2B Aug 21 01:11 fi-fi -> fi drwxr-xr-x 2 squid proxy 45B Aug 29 15:35 fr lrwxr-xr-x 1 root wheel 2B Aug 21 01:11 fr-be -> fr lrwxr-xr-x 1 root wheel 2B Aug 21 01:11 fr-ca -> fr lrwxr-xr-x 1 root wheel 2B Aug 21 01:11 fr-ch -> fr lrwxr-xr-x 1 root wheel 2B Aug 21 01:11 fr-fr -> fr lrwxr-xr-x 1 root wheel 2B Aug 21 01:11 fr-lu -> fr lrwxr-xr-x 1 root wheel 2B Aug 21 01:11 fr-mc -> fr drwxr-xr-x 2 squid proxy 45B Aug 29 15:35 he lrwxr-xr-x 1 root wheel 2B Aug 21 01:11 he-il -> he drwxr-xr-x 2 squid proxy 45B Aug 29 15:35 hu lrwxr-xr-x 1 root wheel 2B Aug 21 01:11 hu-hu -> hu drwxr-xr-x 2 squid proxy 45B Aug 29 15:35 hy lrwxr-xr-x 1 root wheel 2B Aug 21 01:11 hy-am -> hy lrwxr-xr-x 1 root wheel 2B Aug 21 01:11 hy-armn -> hy drwxr-xr-x 2 squid proxy 45B Aug 29 15:35 id lrwxr-xr-x 1 root wheel 2B Aug 21 01:11 id-id -> id drwxr-xr-x 2 squid proxy 45B Aug 29 15:35 it lrwxr-xr-x 1 root wheel 2B Aug 21 01:11 it-ch -> it lrwxr-xr-x 1 root wheel 2B Aug 21 01:11 it-it -> it drwxr-xr-x 2 squid proxy 45B Aug 29 15:35 ja lrwxr-xr-x 1 root wheel 2B Aug 21 01:11 ja-jp -> ja drwxr-xr-x 2 squid proxy 45B Aug 29 15:35 ka lrwxr-xr-x 1 root wheel 2B Aug 21 01:11 ka-ge -> ka drwxr-xr-x 2 squid proxy 45B Aug 29 15:35 ko lrwxr-xr-x 1 root wheel 2B Aug 21 01:11 ko-kp -> ko lrwxr-xr-x 1 root wheel 2B Aug 21 01:11 ko-kr -> ko drwxr-xr-x 2 squid proxy 45B Aug 29 15:35 lt lrwxr-xr-x 1 root wheel 2B Aug 21 01:11 lt-lt -> lt drwxr-xr-x 2 squid proxy 45B Aug 29 15:35 lv lrwxr-xr-x 1 root wheel 2B Aug 21 01:11 lv-lv -> lv drwxr-xr-x 2 squid proxy 45B Aug 29 15:35 ms lrwxr-xr-x 1 root wheel 2B Aug 21 01:11 ms-my -> ms drwxr-xr-x 2 squid proxy 45B Aug 29 15:35 nl lrwxr-xr-x 1 root wheel 2B Aug 21 01:11 nl-nl -> nl drwxr-xr-x 2 squid proxy 45B Aug 29 15:35 oc drwxr-xr-x 2 squid proxy 45B Aug 29 15:35 pl lrwxr-xr-x 1 root wheel 2B Aug 21 01:11 pl-pl -> pl drwxr-xr-x 2 squid proxy 45B Aug 29 15:35 pt drwxr-xr-x 2 squid proxy 45B Aug 29 15:35 pt-br lrwxr-xr-x 1 root wheel 5B Aug 21 01:11 pt-bz -> pt-br lrwxr-xr-x 1 root wheel 2B Aug 21 01:11 pt-pt -> pt lrwxr-xr-x 1 root wheel 5B Aug 21 01:11 pt-xl -> pt-br drwxr-xr-x 2 squid proxy 45B Aug 29 15:35 ro lrwxr-xr-x 1 root wheel 2B Aug 21 01:11 ro-md -> ro lrwxr-xr-x 1 root wheel 2B Aug 21 01:11 ro-ro -> ro drwxr-xr-x 2 squid proxy 45B Aug 29 15:35 ru lrwxr-xr-x 1 root wheel 2B Aug 21 01:11 ru-ru -> ru drwxr-xr-x 2 squid proxy 45B Aug 29 15:35 sk lrwxr-xr-x 1 root wheel 2B Aug 21 01:11 sk-sk -> sk drwxr-xr-x 2 squid proxy 45B Aug 29 15:35 sl lrwxr-xr-x 1 root wheel 2B Aug 21 01:11 sl-si -> sl lrwxr-xr-x 1 root wheel 2B Aug 21 01:11 spq -> es lrwxr-xr-x 1 root wheel 7B Aug 21 01:11 sr -> sr-latn drwxr-xr-x 2 squid proxy 45B Aug 29 15:35 sr-cyrl lrwxr-xr-x 1 root wheel 7B Aug 21 01:11 sr-cyrl-cs -> sr-cyrl lrwxr-xr-x 1 root wheel 7B Aug 21 01:11 sr-cyrl-me -> sr-cyrl lrwxr-xr-x 1 root wheel 7B Aug 21 01:11 sr-cyrl-rs -> sr-cyrl drwxr-xr-x 2 squid proxy 45B Aug 29 15:35 sr-latn lrwxr-xr-x 1 root wheel 7B Aug 21 01:11 sr-latn-cs -> sr-latn lrwxr-xr-x 1 root wheel 7B Aug 21 01:11 sr-latn-me -> sr-latn lrwxr-xr-x 1 root wheel 7B Aug 21 01:11 sr-latn-rs -> sr-latn lrwxr-xr-x 1 root wheel 7B Aug 21 01:11 sr-rs -> sr-cyrl lrwxr-xr-x 1 root wheel 7B Aug 21 01:11 sr-sp -> sr-latn drwxr-xr-x 2 squid proxy 45B Aug 29 15:35 sv lrwxr-xr-x 1 root wheel 2B Aug 21 01:11 sv-fi -> sv lrwxr-xr-x 1 root wheel 2B Aug 21 01:11 sv-se -> sv drwxr-xr-x 2 squid proxy 45B Aug 29 15:35 templates drwxr-xr-x 2 squid proxy 45B Aug 29 15:35 th lrwxr-xr-x 1 root wheel 2B Aug 21 01:11 th-th -> th drwxr-xr-x 2 squid proxy 45B Aug 29 15:35 tr lrwxr-xr-x 1 root wheel 2B Aug 21 01:11 tr-tr -> tr drwxr-xr-x 2 squid proxy 45B Aug 29 15:35 uk lrwxr-xr-x 1 root wheel 2B Aug 21 01:11 uk-ua -> uk drwxr-xr-x 2 squid proxy 45B Aug 29 15:35 uz drwxr-xr-x 2 squid proxy 45B Aug 29 15:35 vi lrwxr-xr-x 1 root wheel 2B Aug 21 01:11 vi-vn -> vi lrwxr-xr-x 1 root wheel 7B Aug 21 01:11 zh-cn -> zh-hans drwxr-xr-x 2 squid proxy 45B Aug 29 15:35 zh-hans lrwxr-xr-x 1 root wheel 7B Aug 21 01:11 zh-hans-cn -> zh-hans lrwxr-xr-x 1 root wheel 7B Aug 21 01:11 zh-hans-sg -> zh-hans drwxr-xr-x 2 squid proxy 45B Aug 29 15:35 zh-hant lrwxr-xr-x 1 root wheel 7B Aug 21 01:11 zh-hant-hk -> zh-hant lrwxr-xr-x 1 root wheel 7B Aug 21 01:11 zh-hant-mo -> zh-hant lrwxr-xr-x 1 root wheel 7B Aug 21 01:11 zh-hant-tw -> zh-hant lrwxr-xr-x 1 root wheel 7B Aug 21 01:11 zh-hk -> zh-hant lrwxr-xr-x 1 root wheel 7B Aug 21 01:11 zh-mo -> zh-hant lrwxr-xr-x 1 root wheel 7B Aug 21 01:11 zh-sg -> zh-hans lrwxr-xr-x 1 root wheel 7B Aug 21 01:11 zh-tw -> zh-hant
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