From the project
Updated Webmin packages in TurnKey testing repository
[Update: 2021-02-12] Updated Webmin packages which include Webmin v1.970 (plus the previously mentioned tweak to the MySQL module) have been pushed to the "main" TurnKey repo. So enabling the TurnKey testing repo is no longer required (I've edited the post to hopefully make that clear).
[Update: 2020-11-06] Updated Webmin packages which include Webmin v1.960; plus a tweak to the MySQL module.
I'm happy to announce new Webmin packages are available in the TurnKey buster-testing repository. Whilst we have done some testing and they should work fine, I'd really love to have some other testers install them and report back! :)
New Webmin v1.955 v1.960 v1.970 packages for TurnKey v16.x
I have just built new TurnKey Webmin v1.955 v1.960 v1.970 packages and uploaded them to the TurnKey buster-testingbuster (main) repository. I also intend to upload them to main TurnKey buster repository too; but I'd really like to hear from at least a couple of other users to confirm our internal testing results.
These new Webmin packages primarily achieve 2 3 ends:
- Firstly the Webmin update provides an improved service file which should make the Webmin service more reliable on TurnKey; particularly on LXC containers. Closes bug #1480.
- They also provide a newer version of Webmin; namely the current
v1.955v1.960v1.970. The changes since v1.941 (the default version in TurnKey Linux v16.0) are not super significant and don't contain any security updates but I figured that I may as well update Webmin whilst providing the above noted bugfix(es). The full list of changes can be viewed on the Webmin website but changes since the previous packages include:- Improved support for user and permission management in newer MySQL / MariaDB versions. [2020-10-30]
- Updated Authentic theme (bugfixes and improvements).
- Support for Postfix SNI certificate maps.
- Caching for LDAP and MySQL connections for Webmin users.
- Optional automatically generated translations for all languages, and switched all encodings to UTF-8
- Removed several noisy messages from the error log.
- Many, many small/minor bugfixes and features.
How to update to the new "testing" packages
Please note that these instructions only apply to v16.x users. It may be possible to install these newer packages on previous versions of TurnKey, but we advise that you either migrate your data or upgrade your instance.
These instructions assume that you are logged in as root. If that's not the case, please run this command first:
sudo su
Then enable the TurnKey buster-testing repository and update the package lists:
mv /etc/apt/sources.list.d/turnkey-testing.list.disabled /etc/apt/sources.list.d/turnkey-testing.list apt update
apt update
You can now view the upgradeable packages like this:
apt list --upgradable
This will list all the packages on your system which are upgradable (not just Webmin). To collect just the installed (and upgradeable) Webmin packages, run this:
webmin_pkgs=$(apt list --upgradable 2>/dev/null | grep ^webmin | cut -d/ -f1)
You can double check the list of packages like this:
echo "$webmin_pkgs"
My test machine returns this:
webmin-apache webmin-authentic-theme webmin-custom webmin-fail2ban webmin-fdisk webmin-filemin webmin-firewall webmin-lvm webmin-mount webmin-net webmin-passwd webmin-postfix webmin-raid webmin-shell webmin-software webmin-sshd webmin-syslog webmin-updown webmin-useradmin webmin
Assuming that yours looks somewhat similar, you can save this list of packages (just in case you want to rollback) like this:
echo "$webmin_pkgs" > ~/webmin_pkgs.txt
Then upgrade the packages:
apt upgrade $webmin_pkgs
If it all looks good, then you can approve the change by hitting 'y'. If you want to upgrade all the upgradeable packages on your server, you can instead use a similar command, but omit the '$webmin_pkgs' bit - i.e. 'apt upgrade'.
Once the upgrade has completed, you should be all good and if you browse to port 12321 on HTTPS you should be greeted by the latest Webmin UI. You can double check on the "Dashboard". It should display: "Webmin version - 1.955" & "Authentic theme version - 19.54" "Webmin version - 1.960" & "Authentic theme version - 19.61" "Webmin version - 1.970" & "Authentic theme version - 19.71" (or similar - I don't have the exact version in front of me).
Troubleshooting
If for some reason it's not running, please try restarting 'webmin.service' and 'stunnel4@webmin.service' like this:
systemctl restart webmin.service stunnel4@webmin.service
If you continue to have issues, please post back and provide the output of the following commands:
systemctl status webmin.service stunnel4@webmin.service
Worst case scenario; rollback
If things really aren't working and you want to rollback to the previous version, then this should work:
apt install $(cat ~/webmin_pkgs.txt | sed "s|$|=1.941-turnkey+2+g51d4dbf|")
Disable TurnKey buster-testing repo again
Disabling the TurnKey buster-testing repository again is super simple; just rename the file again:
mv /etc/apt/sources.list.d/turnkey-testing.list /etc/apt/sources.list.d/turnkey-testing.list.disabled
Regardless of your experience, please post feedback
Hopefully your testing goes as well as mine did and everything "just works" with the new version. But regardless, please let me know. You can post a comment below or get hold of me via other channels.
Thanks for posting back to confirm my suspicion! :)