Re-Check Configuration never finishes

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

breaking this issue into its own post from my other post https://forum.virtualmin.com/t/error-missing-content-type-header-for-php-options/

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. I am upgrading 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); when I do the cmd line command

virtualmin check-config

it works fine and runs to completion, but the GUI button, Virtualmin – System Settings – Re-Check Configuration … never finishes when clicked. Nothing of interest shows up in /var/webmin/miniserv.error

I have cloned my production server over to a test copy … as over the years I have tinkered by manually editing various config files, perhaps causing my own issues (most of my edits have been to successfully get Virtualmin to work in our SELinux environment).

More detail – when clicking the Re-Check Configuration button, on the right panel (Framed Theme) I do get the header

Checking Configuration

displayed but nothing after that – as many will know, typically, and on my other servers, text starts scrolling immediately when clicking the button :smile:

in tinkering with this for a long long time, I have come up with a really ugly patch; in the file check.cgi the original code is:

print virtual_server::warning_messages();

I have replaced that with some code that I think does the same thing that I stole from index.cgi:

my $lerr_check_cgi = &warning_messages();
print $lerr_check_cgi;

now the Re-Check Configuration button does what I expected :smile:

Again I have a number of other servers that work just fine, not sure what is special or different about this one.

I have almost no real perl background so don’t really know what’s going on here.

While I would love not to have a special version of check.cgi, and to know why this is happening, since I do have a workaround its possible this topic can be closed; of course I welcome any comments and suggestions !!

I just tried this on a devel build of Virtualmin 7.9 on my single troublesome server, and with check.cgi (I believe) not being updated for 7.9, I am experiencing the same issue.

Adding my workaround above allows Re-Check Configuration to work.

I have no idea how to figure out what’s wrong, if anything, with my RedHat server :frowning_face:

OR – if this is a bug

or something to do with Framed Theme ?
I think most folk are now using “Authentic Theme v21.09” which I believe is the default.
or has it something to do with

darn darn DARN !!! Authentic Theme does work !!! Switching back to Framed Theme has it hanging. Bummer.

now I don’t know if I should log a github issue against check.cgi or against Framed Theme :smile:

Or is it specific to Red Hat Linux.

All these different balls to juggle :sob:

Could you provide a screenshot of how does it look (hang) in Gray Theme?

Jamie just fixed it on Github https://github.com/virtualmin/virtualmin-gpl/issues/736 – and I verified that paper edit fixes my server !!

Still need a screenshot?

The beauty of open source software.

Nope, it’s fine.

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.