Im trying to upgrade my installation to in turn have security patches, new features and be able to access Mariadb on the web interface, since upgrading to the last version(of MariaDB) broke the plugin.
I did my installation with the setup.sh script back in the day and im running a server version of ubuntu, so no GUIs for the system itself.
I saw on the docs and forums that i should have a “Upgrade Webmin” plugin under Webmin Configuration, but i dont. I looked to see if i can just install it but could not find anything. I found the “update-from-repo.sh” on the GH repo but that gave me another problem: “Webmin detected … Error: the current dir does not contain a valid webmin or usermin installation, aborting …”
Even though i am in the dir(i think, i might be wrong)
Am I indeed in the wrong dir? Is there another way i can just upgrade my system? I am also running Virtualmin which (if i recall correctly) i installed after webmin.
You should not. If you installed Webmin as part of Virtualmin, you should update Webmin from the Virtualmin repositories. (We hide that option in Webmin because you shouldn’t use it if you’re using Virtualmin.)
You definitely should not do that.
Stop, back up.
How did you install Virtualmin? Did you use our install script? If so, you should always upgrade using the system package manager, apt in your case.
If you installed using the Virtualmin install script (which is the recommended and documented way to install it) and you don’t see available updates (2.105 is the current version in the Virtualmin repos), it means you’ve disabled the Virtualmin repository in your apt configuration.
Maybe you upgraded your OS from an earlier version, which automatically disables third-party repositories. You should re-enable them.
W: http://software.virtualmin.com/vm/6/gpl/apt/dists/virtualmin-focal/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.
W: http://software.virtualmin.com/vm/6/gpl/apt/dists/virtualmin-universal/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.
The Virtualmin 7 repos won’t have this warning (the Virtualmin 6 repos predate this change in apt), but there’s no reason to change repos. You won’t get anything new or different from the Virtualmin 7 repos. The /vm/6 repos will be maintained until some time after Virtualmin 8 is released.