OPNsense Forum
Archive => 16.7 Legacy Series => Topic started by: tillsense on November 17, 2016, 06:41:54 pm
-
nginx 500 internal server error on /ligtsquid/index.cgi
i see that all files in lightsquid directory become the update date and system log tell lightsquid-1.8_4 reinstall ok
cheers till
-
Ok,
the Module p5-CGI is needed for the lightsquid web interface. Should be configured as a dependency at lightsquid?
(e.g. amd64 / 17.1 )
pkg add -f http://pkg.freebsd.org/freebsd:11:x86:64/latest/All/p5-CGI.pm-3.63_1,1.txz
cheers till
------------------------------------------
OPNsense 17.1.b_97-amd64
FreeBSD 11.0-RELEASE-p6
OpenSSL 1.0.2j 26 Sep 2016
-
Uh, this is a fun one:
http://perlhacks.com/2015/12/long-death-cgi-pm/
16.7.7 used Perl 5.20, 16.7.8 updated to 5.24 removing CGI in the process.
I'm not sure what the FreeBSD practice is here, lightsquid in FreeBSD has the same issue, but never received a runtime fix since.
Cheers,
Franco
-
For now: https://github.com/opnsense/tools/commit/5aac96590
-
This seems like the proper way, I will push it upstream:
https://github.com/opnsense/ports/commit/10c0ac7d123
Cheers,
Franco
-
Finally...done! https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=215900