OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Archive »
  • 16.7 Legacy Series »
  • [SOLVED] 16.7.8 update broke lightsquid
« previous next »
  • Print
Pages: [1]

Author Topic: [SOLVED] 16.7.8 update broke lightsquid  (Read 4333 times)

tillsense

  • Sr. Member
  • ****
  • Posts: 308
  • Karma: 48
    • View Profile
[SOLVED] 16.7.8 update broke lightsquid
« 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
« Last Edit: January 09, 2017, 05:28:35 am by franco »
Logged

tillsense

  • Sr. Member
  • ****
  • Posts: 308
  • Karma: 48
    • View Profile
Re: 16.7.8 update broke lightsquid
« Reply #1 on: January 08, 2017, 01:02:58 pm »
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 )
Code: [Select]
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
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 13624
  • Karma: 1173
    • View Profile
Re: 16.7.8 update broke lightsquid
« Reply #2 on: January 08, 2017, 01:49:44 pm »
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
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 13624
  • Karma: 1173
    • View Profile
Re: 16.7.8 update broke lightsquid
« Reply #3 on: January 08, 2017, 01:56:00 pm »
For now: https://github.com/opnsense/tools/commit/5aac96590
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 13624
  • Karma: 1173
    • View Profile
Re: 16.7.8 update broke lightsquid
« Reply #4 on: January 09, 2017, 05:28:15 am »
This seems like the proper way, I will push it upstream:

https://github.com/opnsense/ports/commit/10c0ac7d123


Cheers,
Franco
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 13624
  • Karma: 1173
    • View Profile
Re: [SOLVED] 16.7.8 update broke lightsquid
« Reply #5 on: January 09, 2017, 09:04:18 am »
Finally...done! https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=215900
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • Archive »
  • 16.7 Legacy Series »
  • [SOLVED] 16.7.8 update broke lightsquid
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2023 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2