ec1060's picture

My install of TKL LAMP included Webmin 1.590

I did a manual install of Wordpress. (I know there is a pre-built VM for TKL Wordpress but I don't see any reason why I can't run WP on the basic LAMP VM. Plus, WP wasn't my original plan for this development server anyway)

I want to install the ProFTPD module in Webmin, so, I logged into Webmin, selected Webmin > Webmin Configuration > Webmin Modules. Next, I selected the option "Standard module from www.webmin.com" then selected ProFTPD from the list.

I get an error message "Warning - you are not running the latest Webmin version 1.630, so these modules will probably fail to install."

So, I figured I should update Webmin to 1.6 ... But, when I click on the "Upgrade Webmin" icon, I get an error message "Webmin and its modules are installed and upgraded via APT."

How do I go about upgrading Webmin from 1.59 to 1.6 so that I can install ProFTPD?

Forum: 
Jeremy Davis's picture

Try this:

apt-get update && apt-get install webmin webmin-proftpd

That will update Webmin (I think the current version in the repo is 1.620) and also install the FTP module you were after...

If you haven't already, you will also need to install ProFTPD itself... You can add 'proftpd-basic' to the end of the line above if you want.

Marco's picture

apt-get update && apt-get install webmin

This is what i'm trying to update to 1.650 but it wont update.

My Webmin version is 1.620 and when I try the above command it says 'webmin is already the newest version' which is weird since 1.650 is the newest version.

 

Any ideas?

Jeremy Davis's picture

When I wrote the above post it was following an updated package having been added to the TKL repos. I suspect that unless there are any major security bugs that probably won't get incremented to a newer version at this stage...

So you may either need to consider putting up with 1.62 or upgrade manually if you are hell bent of having the newer version.

Out of curiosity, what is your rationale for wanting to upgrade?

Octopixell's picture

Made an account so I can reply properly haha. 

Yes sorry for replying to an old thread like that but it seemed to sort of fit my problem. I see why it won't update then, too bad I guess. I wanted to update so I could install the Dovecot Webmin module through Webmin itself, which requires the most recent version or so it keeps telling me.

Thanks for your reply!

Jeremy Davis's picture

There is an upstream deb (Debian installer file) which you can download to install it. However it is an all-in-one type installer so will include lots of modules that will be irrelevant to your server (hence why TKL build their own with all the separate modules split into individual installers).

If you do go with the upstream version I'm not sure if the TKLBAM module will work with it (but you could always try I guess...). Regardless, make sure that you remove the existing Webmin first (and then try to reinstall the TKLBAM module once you have installed the new Webmin).

Nick Meisher's picture

Hi Jeremy,

I just installed turnkeylinux.org debian/nginx and webmin was working fine and then in command line i dit apt-get update and apt-get upgrade and webmin now is gone which was not something i intended to do. Do you know how i may resurect it? I have a low end box and dont want the useless webmin functionality that you described. 

Thanks in advance,

Nick

Jeremy Davis's picture

You could try to reinstall it like this:

apt-get install --reinstall webmin

And see if that fixes it... Hopefully...

Nick Meisher's picture

Hi Jeremy,

 

Thank you so much. Is there a way to do that to the entire install , to basically take it to the state it was originally? I don't have an image since all I need is to reinstall the OS itself before there are any changes that would warrant the creation of an image of the virtual server. Because when I try to install the image its not letting me.

 

Thanks in advance for your words of wisdom,

 

Nick

Jeremy Davis's picture

What do you mean when you say:

when I try to install the image its not letting me.

?

What platform are you running on? Bare metal? Some sort of VM?

Bottom line is that AFAIK there is no way to get it back to a 'clean start' without just starting again i.e. reinstalling...

User's picture

Good Day,

Next command gives me same version as  allredy installed (1.630).  

apt-get update && apt-get install webmin

Current one 1.680. 

Is it possible to upgradde it any other way?

 

Jeremy Davis's picture

But you could uninstall the TKL version, then install the upstream version. That has a few downsides though:

  • The upstream .deb package includes all the 'default' modules so you will end up with a ton of modules that are of no use to you. The TKL packages allow individual modules to be easily installed or uninstalled one-by-one with apt.
  • Adding and removing modules is nowhere near as easy. (See above).
  • You will not be able to use the TKLBAM module (it is only available for the current Webmin version as installed in TKL).
  • The default Webmin theme is IMO quite ugly. You can install other themes ok but it means a bit of extra mucking around...

Still, if you have a particular need to have a newer version then it is quite possible, and perhaps you do not mind the above downsides?

Alexandre Takacs's picture

I'm having a similar issue.

TKL webmin seems to be "stuck" to 1.63 whereas many modules need more recent version (1.69 typically for BIND management).

Is there any "clean" way to solve this ?


Jeremy Davis's picture

All the 'standard' modules are available via apt (from the TKL repo).

List them all like this:

apt-cache search webmin

If you're after a particular one, then search like this:

apt-cache search webmin | grep <search term>

Once you have found the one you want (which you hopefully will) then install like this:

apt-get update && apt-get install webmin-<module-name>
Alexandre Takacs's picture

ok - just in case someone has the same issue...

apt-get update && apt-get install webmin-bind8

Any reason for the TKL repo to stay so far behind official releases ?

 

Thanks !


Jeremy Davis's picture

But because there is only three of us and I spend lots of my time on the forums answering questions it's not possible! :)

We are always looking for more help though, and the more help we get, the more of the things we want to do we can get done!

aslylum's picture

Thanks for the tip Jeremy, did the trick for me.

apt-cache search webmin
apt-get update && apt-get install webmin-<module-name>
Jeremy Davis's picture

Glad it helped you out. :)
Webmin's picture

Hey Jeremy i can't install firewall on webmin Help me

Jeremy Davis's picture

We haven't yet updated the repo to the latest version but it should already be installed. If you're not using TurnKey Linux then look on the Webmin website and find the relevant install for your OS
Webmin's picture

How i setup turtlefirewall on webmin

Jeremy Davis's picture

I recommend that you just use the webmin firewall module...

TurtleFirewall is a GUI app, Webmin is a web based admin UI. They are not compatible.

freealx's picture

Hi guys,

I'm not really sure if that's the best way to go, but that's what I did in order to upgrade the Webmin to the last available version.

Added to the sources.list:

 deb http://download.webmin.com/download/repository sarge contrib
 deb http://webmin.mirror.somersettechsolutions.co.uk/repository sarge contrib


Added key for this repository:

 wget http://www.webmin.com/jcameron-key.asc
 apt-key add jcameron-key.asc

One CLI kick for Webmin upgrade:

 apt-get update && apt-get install --reinstall webmin
 service webmin start

Finally from the Webmin GUI I gave a try with the "Upgrade Webmin" button and it did "the magic" ;-)

The Webmin is v1.791 now...

Cheers!

Jeremy Davis's picture

Webmin v1.780 is available for TurnKey v14.x and a quick glance over the changelog for Webmin v1.791 suggests that there are not any significant changes unless you wish to use Webmin for Let's Encrypt SSL certs. Although perhaps I missed something?

Is there something specific that you were missing or that was changed in the later version? Or did you explicitly want the Let's Encrypt stuff? Or were you using an older version of TurnKey?

Also be aware, that when you next run apt-get upgrade it will most likely reinstall the old version of Webmin again. So you'll need to remember to go back into Webmin and manually "Upgrade Webmin" every time you run apt-get upgrade...

freealx's picture

However, the OS was upgraded and it's actually Debian 7.1 (wheezy).

I just tested the atp-get update/upgrade in upgrading few packages - the webmin was intact... still 1.791

To be honest no idea why I was asked to upgrade it - not my VM, just helping ;-)

Cheers!

Jeremy Davis's picture

Ah ok. IIRC Webmin is a much older version in our v13.x/Debian Wheezy repo.

Cool, well glad to hear that it sounds like it will stick at the newer version. A number of years ago we had issues with people doing the update like you said, but then getting thrown back to the repo version as soon as they ran apt-get upgrade... Something must have changed somewhere.

Thanks again and good luck with it! :)

Add new comment