Usermin 2.550 login from the Virtualmin Edit Users page stopped working

SYSTEM INFORMATION
OS type and version Rocky Linux 10.2
Webmin version 2.651
Usermin version 2.550
Virtualmin version 8.1.0 GPL
Theme version 26.50.2
Apache version 2.4.63
Package updates All installed packages are up to date

Hi Ilia, that looks a lot of work.

I updated and when I try to login to Usermin from user details area I get this.

David

I see the Same on my system also

Me too.

Stop and restart the usermin service using systemctl.

sudo systemctl restart usermin

makes no difference, restarted both webmin & usermin

Oh, that’s a different issue than I thought y’all were talking about. I can reproduce it, but directly logging into Usermin works fine. I don’t know why it’s saving anything when just linking you to Usermin, obviously a bug. We’ll need to wait until Ilia wakes up to tackle it, as I’m about to hit the sack, too.

We remodeled several things in the systemd unit files for Webmin and Usermin (to fix a bug, and to simplify it and make it more like a regular old system unit rather than one that wraps an old init style startup where we manage the process fork ourselves). I assume there’s something that’s assuming the old behavior (but, again, I think it’s a bug that we’re even trying to write something when logging into Usermin).

Thanks all, I found the issue..

It was introduced by the recent Usermin systemd service change. Virtualmin was still using an old handoff path that briefly stopped/started Usermin and then reloaded it via the PID file.

With the new systemd/no-fork service model, that exposed a timing race where the PID file might not be available yet.

@Jamie, I fixed it in Virtualmin here:

@Le_Gallois, @jimr1, @stefan1959 You can apply that patch now, or wait for the next Virtualmin 8.2.0 release:

webmin patch https://github.com/virtualmin/virtualmin-gpl/commit/6ffcb87

Great news, any time-line on the release, no problem to stop seeing bills arrive in my mail box for a while.

David

Yep that fixed it.

So this fault isn’t a big enough problem for a quick fix release?

In fairness, ilia does need to sleep :slight_smile: , I am sure he is looking at it. I still have not worked out what timezone he is in.

He’s in eest (gmt +3)

Do you want a quick broken release or a working one? Quick and good are sometimes possible too, but usually they’re mutually exclusive. It’s easy to introduce much worse problems while hastily trying to solve another.

hello. i am new user can you tell me step by step the way to fixit ? thanks a lot

Yes, sure. It’s simple.

  1. Login via SSH to your server
  2. Run the following command:
    webmin patch https://github.com/virtualmin/virtualmin-gpl/commit/6ffcb87
    

I am happy to wait till a release fixes it entirely, as Joe has pointed out a direct Usermin login at :20000 is fine. I can understand other peoples frustration I guess if they have users where this problem causes problems, if it does even. I am really quite liking UM.

It’s a bit like a underatted rock band like Budgie or Toto :smiling_face_with_sunglasses:

David

For a newbie maybe not that simple Ilia.

Next question maybe, ‘login to SSH?’

Linux is famous for this …

David

Did you see what Ilia and the team did in that release, phenominal …

David

Patch works to resolve issue :+1:

If havent ssh way only terminal ?