Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
23.7 Legacy Series
»
Squid error pages unavailable following update to 23.7.8
« previous
next »
Print
Pages: [
1
]
Author
Topic: Squid error pages unavailable following update to 23.7.8 (Read 893 times)
hhabroad
Newbie
Posts: 9
Karma: 0
Squid error pages unavailable following update to 23.7.8
«
on:
November 13, 2023, 03:48:00 pm »
Hello,
It appears that the OPNsense squid configuration templates need to be updated for the change in language file paths with the update to 23.7.8 when using Squid error pages. The template configures Squid to look for the error pages under /usr/local/share/squid-langpack/en-us which doesn't exist. The actual path is /usr/local/share/squid-langpack/en.
This error unfortunately causes Squid to fail to start. A workaround is to select the OPNsense error pages instead.
I'm not sure who would be responsible for adapting the template configuration following a modification by Squid package maintainers.
Thanks,
Ashley
Logged
franco
Administrator
Hero Member
Posts: 17607
Karma: 1603
Re: Squid error pages unavailable following update to 23.7.8
«
Reply #1 on:
November 13, 2023, 04:18:31 pm »
Hi Ashley,
Yes, the problem existed for a while but I wasn't aware they switched the language sub-directory for en-us to en? As you can see we only changed the language pack directory and I made the problem more visible in the template:
https://github.com/opnsense/core/commit/2495fb0dc4
Solving this requires some form of complexity either by forward-guessing the directory name, direct mapping of language directories to manually created symlinks or allowing to select the actual language directory in the GUI (has another challenge attached for implementational reasons).
Cheers,
Franco
Logged
franco
Administrator
Hero Member
Posts: 17607
Karma: 1603
Re: Squid error pages unavailable following update to 23.7.8
«
Reply #2 on:
November 13, 2023, 04:22:27 pm »
PS: Yeah they did, this stuff is impossible to keep track of:
https://github.com/opnsense/ports/commit/9ccba784e
-%%ETCDIR%%/errors/en-zw
-%%ETCDIR%%/errors/en-za
-%%ETCDIR%%/errors/en-us
-%%ETCDIR%%/errors/en-uk
-%%ETCDIR%%/errors/en-tt
-%%ETCDIR%%/errors/en-sg
-%%ETCDIR%%/errors/en-ph
-%%ETCDIR%%/errors/en-nz
-%%ETCDIR%%/errors/en-jm
-%%ETCDIR%%/errors/en-in
-%%ETCDIR%%/errors/en-ie
-%%ETCDIR%%/errors/en-gb
-%%ETCDIR%%/errors/en-cn
-%%ETCDIR%%/errors/en-ca
-%%ETCDIR%%/errors/en-bz
-%%ETCDIR%%/errors/en-au
All these symlinks(?) were removed and are not in the language pack.
Cheers,
Franco
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
23.7 Legacy Series
»
Squid error pages unavailable following update to 23.7.8