SYSTEM INFORMATION | |
---|---|
OS type and version | Redhat Enterprise Linux 8.8 |
Webmin version | 2.013 |
Usermin version | 2.001 |
Virtualmin version | 7.7 |
Theme version | 20.13 |
Package updates | 2 package updates are available |
I think of myself as being in the middle of the pack, not a beginner and certainly not the biggest user β we have been using Virtualmin for 5-7 years and today have about 15 RedHat servers (RHEL 7 and 8) running 50+ websites all in a VMware/vSphere environment.
today I came across something I cannot figure out !! I donβt know if I have messed up, or found a bug. And I am not sure how to diagnose it. There are two issues I have identified so far as I upgrade to VM 7.7-3 and webmin 2.013 (plus added php 8.1 and 8.2 from REMI repos using cmd line YUM commands)
- while the cmd line command
virtualmin check-config
works fine and runs to completion, the GUI button, Virtualmin β System Settings β Re-Check Configuration β¦ never finishes when clicked. Nothing of interest shows up in /var/webmin/miniserv.error
- when choosing any domain, then going to Server Configuration and clicking PHP Options, I do not get what I expect but instead
ERROR β MISSING CONTENT-TYPE HEADER
in red on the right hand half of the screen.
I tried to reduce this to a simple test CGI file such as:
#!/usr/bin/perl
# rename_form.cgi
# Display server rename form
require './virtual-server-lib.pl';
&ui_print_header("Verne -- entering rename_form.cgi");
(not sure in the forum how to better format the above code)
I wanted to reduce the code to determine what function or subroutine might be having an issue β¦ and with just the above five lines put into edit_phpmode.cgi
in /usr/libexec/webmin/virtual-server/
the PHP Options button still fails and gives the above error β but I can take the same five lines and put them into rename_form.cgi
and when executing that by clicking on Change Domain Name, it works β that is, I get the line
Verne β entering rename_form.cgi
displayed on my screen. Whenever I get the error, /var/webmin/miniserv.error
contains
[18/Oct/2023:16:04:22 -0400] [129.71.34.60] /virtual-server/edit_phpmode.cgi : Missing Content-Type Header
[18/Oct/2023:16:04:23 -0400] [129.71.34.60] /service-worker.js : File not found
I would love to know if its possible to turn on debug someplace to get more details. Again I am at a loss as to what I could have done in upgrading Virtualmin from 6.16 to 7.7-3 and webmin (from the proper software.virtualmin.com repo ) from 1.973 to 2.013.
I have done things like a global GREP on edit_phpmode
to see if miniserv.pl or other code would treat edit_phpmode.cgi
differently than rename_form.cgi
and could not find anything useful.
I might give up and back up the few domains (virtual servers) on this Linux box, and then totally erase/remove webmin and wbm-virtual-server, and re-install and then restore my saved virtual servers.
advice is welcome !!
p.s. not sure if my Re-Check Configuration issue should be in a different topic