Several web UI "Internal Server Error" after 158 beta

On the OpenVPN/ipsec screens I get 500 errors after this update. I use no ipsec connections but I use OpenVPN site-to-site links (all the links still work).

Relevant output from httpd.log:

Global symbol “@casubject” requires explicit package name (did you forget to declare “my @casubject”?) at /srv/web/ipfire/cgi-bin/ovpnmain.cgi line 1491.
Global symbol “@casubject” requires explicit package name (did you forget to declare “my @casubject”?) at /srv/web/ipfire/cgi-bin/ovpnmain.cgi line 1494.
syntax error at /srv/web/ipfire/cgi-bin/ovpnmain.cgi line 2520, near “”${General::swroot}/ovpn/openssl/ovpn.cnf)";"
Bareword “ovpn” not allowed while “strict subs” in use at /srv/web/ipfire/cgi-bin/ovpnmain.cgi line 1229.
Bareword “enable_blue” not allowed while “strict subs” in use at /srv/web/ipfire/cgi-bin/ovpnmain.cgi line 1229.
Execution of /srv/web/ipfire/cgi-bin/ovpnmain.cgi aborted due to compilation errors.
[Mon Jul 19 19:25:25.100934 2021] [cgid:error] [pid 15419:tid 138263536801344] [client redacted:56424] End of script output before headers: ovpnmain.cgi, referer: https://redacted:444/

Also:

[Mon Jul 19 18:38:40.087485 2021] [mpm_event:notice] [pid 15145:tid 126136869200896] AH00491: caught SIGTERM, shutting down
[Mon Jul 19 18:41:44.436370 2021] [ssl:warn] [pid 15415:tid 138263738573824] AH01909: vulkan.local:444:0 server certificate does NOT include an ID which matches the server name
[Mon Jul 19 18:41:44.438796 2021] [ssl:warn] [pid 15415:tid 138263738573824] AH01909: vulkan.local:444:1 server certificate does NOT include an ID which matches the server name
[Mon Jul 19 18:41:44.464181 2021] [ssl:warn] [pid 15416:tid 138263738573824] AH01909: vulkan.local:444:0 server certificate does NOT include an ID which matches the server name
[Mon Jul 19 18:41:44.468010 2021] [ssl:warn] [pid 15416:tid 138263738573824] AH01909: vulkan.local:444:1 server certificate does NOT include an ID which matches the server name
[Mon Jul 19 18:41:44.471843 2021] [mpm_event:notice] [pid 15416:tid 138263738573824] AH00489: Apache/2.4.48 (Unix) OpenSSL/1.1.1k configured – resuming normal operations
[Mon Jul 19 18:41:44.472093 2021] [core:notice] [pid 15416:tid 138263738573824] AH00094: Command line: ‘/usr/sbin/httpd’

Also:

Global symbol “@file” requires explicit package name (did you forget to declare “my @file”?) at /srv/web/ipfire/cgi-bin/vpnmain.cgi line 1263.
Execution of /srv/web/ipfire/cgi-bin/vpnmain.cgi aborted due to compilation errors.
[Mon Jul 19 19:29:50.208860 2021] [cgid:error] [pid 15419:tid 138263536801344] [client redacted:56445] End of script output before headers: vpnmain.cgi, referer: https://redacted:444/
Global symbol “@file” requires explicit package name (did you forget to declare “my @file”?) at /srv/web/ipfire/cgi-bin/vpnmain.cgi line 1263.
Execution of /srv/web/ipfire/cgi-bin/vpnmain.cgi aborted due to compilation errors.
[Mon Jul 19 19:32:37.820052 2021] [cgid:error] [pid 15419:tid 138263536801344] [client redacted:56464] End of script output before headers: vpnmain.cgi, referer: https://redacted:444/

Looking at commits, I updated vpnmain.cgi and ovpnmain.cgi to those posted 6 days ago and the errors went away. :slight_smile:

3 Likes