23.05 Squid ERROR: loading file 9;/usr/local/etc/squid/errors/en/ERR_ZERO_SIZE_OBJECT': (2) No such file or directory
-
Hello Fellow Netgate community members,
Can someone please help? I have noticed errors being generated within the Squid Proxy however they are being pointed to the wrong subfolder. The one that has the error codes is /templates not /en.
-
-
@jonathanlee
cp -a /usr/local/etc/squid/errors/templates/. /usr/local/etc/squid/errors/en-uscp -a /usr/local/etc/squid/errors/templates/. /usr/local/etc/squid/errors/en
seemed to fix it
-
If you are now on 23.05 Release you should have a look once more again here? At my upgrade to the Release it installed also new pkg`s for SquidGuard. Perhaps this was fixing then
this problem here.Fingers crossed
EDIT:
less than a minute ago
Ah you was much faster! -
@dobby_ This is with the new version.
https://redmine.pfsense.org/issues/14406
I opened a redmine for it. I wonder if anyone else is missing the error code subfolder
-
@Dobby_ Is the pfSense-pkg-squid-0.4.46 pkg working for anyone? i have a system running 23.01 with the older squid pkg and it is working fine, but an identical config on a 23.05 system and squid is pretty much non-functional. it's pretty frustrating to be honest.
-
@Pete-wright it runs perfectly for me.
Fix:
Just copy over the English error templates into folders you create, after it's functional I can see the errors it runs fine. I am seeing traction on the Redmine also. But this is how I got my errors to go away,
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
-
@JonathanLee Thanks Jonathan!
-