I am installing this on my desktop Kubuntu LTS 24.04 to test going from Almalinux to Ubuntu. This is the second install, the first time it did this, but a reboot fixed it, but not this time.
This install is behind a NAT, and not accessible from the outside, so I have to use my local IP to access web apps installed, but I can access this via a domain that points to my external IP, but this only works on ports 100000, as I opened it up, but ports 80, and 443, and only work inside the NAT.
I had this working, so the NAT should not be an issue, but I have to mention it, as it might affect the install, which had no issues installing both times. Well besides the license server being down, I waited for it to get back up before trying again.
I could uninstall and reinstall it, but I wanted to find out if you want to check this out, and see what is up, as I would not want this to happen on the production server, as I am planing to change from Alma to Ubuntu, and this is why I am testing this out first.
This runs fine: virtualmin check-config, this is a new install, so there are no domains, as I cannot get past the login this time.
sudo cat /etc/webmin/miniserv.users
root:x:0
# changing it did not help
root:x::::::::0:0:::
This shows it is using root, and I can log into root from a terminal, as it will not allow me to log into the desktop with root.
I should point out that I have tested this on Ubuntu 24.04, then upgraded to KDE, and it worked fine, and the last two times, I used Kubuntu, and it worked fine. This issue happens every time I install it on Ubuntu or Kubuntu, only a reboot will normally resolve this. I know you do not support Kubuntu, but this is my desktop, on the server I will use Ubuntu, as it has no desktop, it is a VPS account. I see no difference in the base install, only the desktop changes to KDE, and I did test this in both, and did read on their site that this was the case.
I wanted to point out the things that are different in my environment, as this is a development, and not a production environment.
I read a lot of post about this issues logging in, but not like this, as this is repeatable. I installed this on my VPS, without rebooting, so this step means there is something wrong.
I downloaded the latest install each time, in case it changed.
I am testing this migration from Almalinux to Ubuntu because the last OS change did not go well, and I want to avoid that this time, and this is something that I would not want to happen on a production machine, but that is in production environment, so this might not be an issue there, but it here, only I cannot find others with the same issue, or at least it appeared that way to me.
My hardware is about 7 years old now, but the SSD is new. This is an AMD Thread Ripper with 16 cores, on an Asus motherboard, and it runs fine, all test pass.
This was a fresh install, did this 5 times this week, working on another project, that makes changes to the OS, that does not affect PHP, but all that testing happens after I install Virtualmin, the only thing I do first is update and reboot, so that is what call fresh. This is my test machine, but this week, all I am working on is testing the install, restore, and operation of the installation on Ubuntu, so I do not do any other testing that can affect that. I tell you this in case you want me to reinstall the OS, as I said, this is very repeatable. I can try other OSs, even the official Ubuntu, as that was the first time I noticed this, as all my test was in Almalinux or Rocky. I am moving to Ubuntu for newer software versions, and to have PHP in the repo, without having to add others.
Having removed php81 on Almalinux, not understanding it was the default php version, which caused issues, that I did resolve, it works now, but that was not the issue, it turned out to be the database, which was updated, twice not far apart, but that fixed it, but now I see a bottleneck, and need a new version, and I do want to mess with upgrading the SQL, as that might cause issues, so I want to change to Ubuntu for this reason, plus I get php 8.3.
I only try it 3 times, but have exceeded that this time, but not time wise, as fail2ban has no entries, as ssh ports are locked down, no one can access this behind this NAT, so I never get any bans, unlike the production server.
I have had skin cancer for years, and every year I have to go through aggressive treatments, and I am also on Chemo for something else, so my mind is not all there, so let me explain my steps.
- Install Ubuntu or Kubuntu, as it does mater, as long as it LTS 24.04.
- Update and reboot.
- Install Virtualmin Licenced.
- Log in, this always fails.
- Reboot and login again, this works 4 or of 5 times.
The first login always fails, and I did check that it is root. I am sure if I reinstalled this, it work after a reboot, but this getting old, and I need to know how to fix this.
I should not have to change my password unless it has changed, and this root, it uses the same password, this is my desktop behind a NAT, so if you cannot duplicate this, it is the NAT. If that is the case, I need a work a round.
I have PTSD, so the NAT in lockdown, so I do not trigger it, and why I have a VPS. I only open the ports I need, and block those I do not, so to replicate this, close ports 80, 443, shh, ftp. I only enable the ports Virtualmin needs for a development environment.
Years back we got the development licence, we have 11 virtual’s on a 50 license, which under is my partners account, as I pay for the VPS, and maintain the sites. I always test things here, before I make the change there, so I do not trigger it. I never had this issue before Ubuntu, which I tested, and went with Almalinux instead, as I was still having to support 7.4, which led to me removing all php but 8.2, in one command.
My wife and I are both medically retired Air Force, back in the 80’s, then the Gulf War, Kuwait, Koria, and back again, only not the same person, in war few understood the reason, which was slavery, the source of my PTSD. The war gave me the gift that keeps on giving, cancer from DU. I have issues, get upset and make mistakes, so I need to test things before I do them on a production machine.
I delete the default php81 on Almalinux because I did on my test machine to fix and issue, but it turned out to be a mistake that caused me a lot of upset, as it was a pain to get working a a production machine, the two are not the same, and I am sure this is my issue.
Ubuntu (Kubuntu) LTS 24.04
Usermin version |2.102|
Webmin version |2.202 |
Virtualmin version |7.20.2 Pro|
Thanks