manually upgrade virtualmin

28 posts / 0 new
Last post
#1 Tue, 04/25/2017 - 09:15
pieterG

manually upgrade virtualmin

As there is no armhf version of the install.sh script for Virtualmin and installing it on a RPi3 I used this instruction:

https://geekanddummy.com/how-to-raspberry-pi-tutorial-part-3-web-file-ho...

It looks outdated but it works.

Now I noticed I do not receive any updates to virtuamin. There is no distribution source for armhf debian jessie. So that explains.

Of course I like to stay tuned with new versions.

Can I manually upgrade virtualmin by just installing the latest version over current version without losing configurations and data?

Tx,

Tue, 04/25/2017 - 09:29
andreychek

Howdy,

Hmm, it's been a little while since I've done a manual Virtualmin install, but if you go into Webmin -> Webmin Configuration -> Upgrade Webmin -> Upgrade Modules, does it offer to upgrade the Virtualmin module there for you?

-Eric

Tue, 04/25/2017 - 10:44
pieterG

Hi Eric,

Apparently no. Though http://software.virtualmin.com/gpl/wbm/ shows the wbm.gz to be available for 5.07

Tx

Tue, 04/25/2017 - 11:15
unborn
unborn's picture

hi all - guys can you tell the upgrading from to? the os you using and configs you are using...

Configuring/troubleshooting Debian servers is always great fun

Wed, 04/26/2017 - 10:50
pieterG

debian (raspbian) linux 8 webmin 1.831 virtualmin 5.04 (as wbm install)

configs is not the point as config is to remain.. I need an updated virtualmin.

Sat, 04/29/2017 - 06:24 (Reply to #5)
unborn
unborn's picture

on my end (also deb jessie) it all worked with apt update && apt upgrade -y- do you get any error msgs in terminal?

Configuring/troubleshooting Debian servers is always great fun

Fri, 04/28/2017 - 07:46
carla1mac

can this upgrade be done on windows platform?also since i m looking for a new web hosting for my website http://www.writemyessayfast.org so do you think vitualmin can be a good choice in my case?

Sat, 04/29/2017 - 06:25 (Reply to #7)
unborn
unborn's picture

hi, yes it can.. just download putty, log into your server as root and do apt update && apt upgrade -y commands and you should be fine once its finished.

Configuring/troubleshooting Debian servers is always great fun

Mon, 05/01/2017 - 02:25
pieterG

@unborn

As you can read in the start of this thread there is no distribution source for armhf platform (raspbian). That is why virtualmin has been installed as wbm module.

apt would only be nice if there was a source.

Do read the question first.

Mon, 05/01/2017 - 04:26 (Reply to #9)
unborn
unborn's picture

@pieterG

Hi, I am on debian jessie 64bit and commands works for me just as they should, however I installed virtualmin with install.sh script provided by virtualmin.com downloads. I assumed if it works on standard debian installation, it would also worked on rp install, perhaps I was wrong but it was worth for try - I did read your question whole, but never mind.

Configuring/troubleshooting Debian servers is always great fun

Mon, 05/01/2017 - 06:24
pieterG

@unborn... let me explain. A raspberry pi3 has an armhf architecture. Though 64 bit there is no (working) 64 bit OS thus the raspbian (linux 8) is 32 bit. There is no "install.sh" available for armhf acrhitecture. So virtualmin is to be installed as wbm module after installing webmin first. There is no distribution source for armhf architecture for virtualmin. Hence no "apt"

It seems as webmin module virtualmin is only available as downloadable package. Not updatable through webmin module config. So knowing the above, can it be upgraded and keep the current settings by installing a more recent version over an old version?

Tue, 05/02/2017 - 08:50 (Reply to #11)
unborn
unborn's picture

@pieterG thank you for your update - well it seems to me that I learn from you and not you from me - which I like! Well - to be honest with you I am against to use anything 32bit on servers.. last time I did try that I was on debian 5 or 6 and it did gave me some issues - anomalies which I now understand why...

perhaps its limit of rps or something. I am very sorry for it. Regards the version over and old version question - my best bet would be to open the issue ticket to virtualmin.com guys and as them directly - they do build it so perhaps there is very small chance to build something for low power like rps...

rps are good for some stuff but not for everything.. my personal opinion is ssh reverse connection (sort of vpn) or rsync backups or git repos, but otherwise - I see them very well useless, but that is just my opinion. Also you have an option to ask on official prs irc channels about your issue - I think they will be much more smarter there then me or anyone else here..

Configuring/troubleshooting Debian servers is always great fun

Tue, 05/02/2017 - 09:18
pieterG

Of course I would like to see 64 bit... in this case it would not make any difference as there also is no 64bit armhf distro on virtualmin.

Anyway for home and small business solutions a Raspberry Pi is a versatile little thing for under $40,-. At that price considering it a useless device is showing ignorance for what it can do. Any low end x86-64/amd64 device will cost you about 3 to 4 times as much.

As this is not an issue but a question, posting it in the issue tracker is not appropriate. Irc channel may be an option.

Thu, 05/04/2017 - 05:23 (Reply to #13)
unborn
unborn's picture

Hi, well I forgot to mention that while you on debian (I know rps debian is not pure debian and cannot be safely said it works as normal debian) perhaps you could try to enable virtualmin updates in your sources list and see if it works. Did you try that option already? IRC on some rps channel would be good.

BTW: just side note, I use rps for remote support - replacement for team-viewer (yeah with some funny configuration its fast and very safe and totally doable) and some rsync features but other then that, sorry. 7 years old laptop with 4gigs of ram would cost around £70 to £100 but as server like features - rps cannot be even comparable. Its not my ignorance, its years (more then decade) in ICT and knowing your best options what you can squeeze out from THAT and THAT hardware. rps are good for some stuff no doubt about that, but have its own limits.

Configuring/troubleshooting Debian servers is always great fun

Thu, 05/04/2017 - 07:20 (Reply to #14)
pieterG

Rpi3's. Yes they do have limits.. but they do fit in a closet next to my meter and fuses... laptops tend to grow to big for that. Also old second hand laptops and computers are not my favorite. The ones I had all broke down... in the end you understand why the previous owner wanted to get rid of it. And for me one of the things I am fond off is the ease of use and versatility... have your images ready and write them to a micro sd. Insert and plug it in... there you go... You can create a farm of servers at the speed you can write images to a micro sd.

As said before, setting up the Virtualmin updates in the sources list isn't working as there is no armhf package available.

Though I have an obsolete 10" netbook atom n570 running debian as I have 2 docker containers running on it that require amd64 architecture. (though the RAM on that tiny old one isn't really sufficient for a 64bit environment. It does that job allright. (and even fast too). I may move that to a UP board. Unfortunately they sell around $140,- though I saw cheap Chinese Z83xx below $90,- too. That becomes more interesting.. I have a 2in1 with a Z83xx and that performs pretty well (compared to old laptops ;) ) But my aim is to stay below $50,- per physical server/machine.

BTW I don't want to stress this n570 with more than the two dockers.

You'd be amazed... I am running some web based monitoring tools, nextcloud with spreed webrtc and collabora CODE together with a bunch of development sites. From a closet in our hallway. Accessible from anywhere. On various (sub) domains.

Thu, 05/04/2017 - 07:37 (Reply to #15)
unborn
unborn's picture

ah now I understand :) man why did you no say docker earlier? I would suggest you to not use docker at all.. if you fellow sysops - you would know why. I am afraid that you are alone on this. - never run server as docker - docker have its own security issues - sorry. Docker is fine for some - low end apps but not fine for running a server on it - thats just bad

  • regards what I can do with rps - Ive been there and we dont need to discuss that any more (I was hoping that this is behind us already - so no comment on this)...if you have docker specified issue please go ahead and open issue ticket - docker is really bad regards the security.. - I mean in my final words - please ask the docker maintainer to solve your issue or ask virtualmin guys to provide the solution to your issue - as it is not virtualmin fail also keep watching about the security. ....man just google it out.

PS - if you think you do amazing stuff with rps - you should try some 10 years older hardware - it will take your rps into the massive shame - regards what you can do with it - no fights from my side - im just realistic about this one..

Anyway - I do not support docker and I would not recommend rps 32bit for server it self unless its pure one use purpose like vpn or rsync - they are not capable to run nothings more - my pure opinion tested by years...good luck with your rp and docker - etc..

Configuring/troubleshooting Debian servers is always great fun

Thu, 05/04/2017 - 08:55 (Reply to #16)
pieterG

the n570 is running the dockers.. as the stuff inside the dockers just is provided no other usefull way. I have no questions on that

So no dockers on the rpi3 that is running plain 32bit rasp/debian with webmin and virtualmin (old) that is what my question is about.

Thu, 05/04/2017 - 09:20 (Reply to #17)
unborn
unborn's picture
  • as I said - its really pointless to reply.. please ask virtualmin.com guys or prs docker channel out there - please also consider safety of docker it self - nothing to do with virtualmin.com it self.

Configuring/troubleshooting Debian servers is always great fun

Thu, 05/04/2017 - 09:43 (Reply to #18)
pieterG

Now please do read... there is NO docker issue. there is NO docker is NOT running on the rpi3

....

Fri, 05/05/2017 - 06:01 (Reply to #19)
unborn
unborn's picture

ah sorry for time taking - been a bit bussy out there... well - I would still suggest at best bet out there virtualmin guys or some rpis irc.. I assume that you are running server directly - to be honest those mods they made for prs removing issue to creating another one - im out of it...I simply stick to pure debian.. sorry about that man.

Configuring/troubleshooting Debian servers is always great fun

Tue, 05/02/2017 - 16:02
Diabolico
Diabolico's picture

If you need Raspberry Pi for home (lan) server for whatever reason then you dont even need a control panel but if you insist Webmin can do the job. If you mean home/small business as hosting from home or your local ISP then you are doing it wrong. Plus you can now rent a dedicated server with C2750 (8/8) and SSD for less than 20$/month (what is cheaper than 2 pizzas) in case you need a server for hosting. This CPU is enough to server one Wordpress website or even e-commerce (e.g. Woocommerce) with low/medium traffic, or in case of low traffic even more than one website.

- I often come to the conclusion that my brain has too many tabs open. -
Failing at desktop publishing & graphic design since 1994.

Tue, 05/02/2017 - 16:57
pieterG

@diabolico If you don't know any background but just need to rant.... if you do have an answer to the question do tell, else stay out of this thread...

Tue, 05/02/2017 - 20:13
Diabolico
Diabolico's picture

I dont like your attitude toward @unborn especially as he is/was trying to help you. No one here knows everything but at least there are few people who are active on this forum and they do their best to help others. Statement from my previous post stay as a fact regardless if you like it or not. But you could tell us for what you intend to use that Raspberry Pi, so maybe someone could give you better advice than you got until now.

- I often come to the conclusion that my brain has too many tabs open. -
Failing at desktop publishing & graphic design since 1994.

Wed, 05/03/2017 - 02:51
pieterG

@diabolico, you get the reaction you triggered yourself.... reading back nothing I wrote @unborn was wrong or in contempt.

The question simply is can virtualmin be updated by installing a more recent virtualmin wbm module over the old one preserving all settings and configuration. I also explained why and all of a sudden I have to defend myself for using a raspberry pi3?

I get personal opinions on the use of a Rpi, 32 vs 64... even an advice to rent a server at 12x$20,- a month? To run Wordpress? For a years worth of that advice I can buy a pi and an external 4TB disk or several pi's and build me a server stack (for which webmin and virtualmin also can come in very handy) And no I will not run Wordpress... ever. Your Pizza's are way too expensive by the way...

A control panel is to be available for admins that need to setup accounts, hosts and such. Not devs that know how too commandline and vi/nano their way through a system. You'd be amazed how well a pi can perform as a private cloud/web solution with webmin/virtualmin together with the appropriate web apps.

again.. it is webmin on a Rpi3 which is armhf architecture yes that is 64bit but there is no (proper) 64bit OS available yet which in general would not make sense anyway as it has only 2GB memory so running raspbian/debian linux 8 install.sh is not available for armhf architecture therefore virtualmin installed as wbm there also is no armhf source for virtualmin on http://software.virtualmin.com/gpl/ only amd64 and i386 packages.

and still would like to know how to upgrade manually

Wed, 05/03/2017 - 03:21
volk

I second Diabolico advice here to go with Webmin. Why did you install Virtualmin on a Raspberry Pi? I don’t think you plan to run all services like Apache, MySQL, Postfix and provide services for multiple users from that right? It's a valid question when you ask for help for an unsupported device. So it's normal that people will be curious at least.

I assume you did it because you want an administrator interface. In that case, Webmin is exactly what you want. And yes, you can also run websites and everything else. Just think Webmin as single tenant (you are the admin) and simple visual Linux interface. Virtualmin is more designed towards providing services to other users (staff, customers, etc.) in a multi-tenant environment. Said this, Virtualmin is NOT supported on that device or OS so I don’t think any advice you receive here is official, support or will even work, it may be just a test if anything else. And Virtualmin can and probably will get more intensive in the future with services, so it will require even more computing resources.

This is what I would do:

  1. Do a full backup. Or at least for your config files & data.

  2. Install the latest module just like you installed it initially.

  3. Check configs, if there are still there, great, else go to 4.

  4. Restore only config files.

There is absolutely no reason why this should not work. You are just overwriting the files with the latest ones, and you keep the config files separated. I do not think the installation will delete data (like your sites) in any way (but it could...).

Now I assume you were playing when you said to run a private/cloud solution from a Raspberry Pi. It's like saying you are going to run a website from your phone, actually, an Android phone is just as powerful if not multiple times more powerful, yet you don't see people running racks of Android systems as servers. Why? They are mobile chips towards single users, servers require multi-threading and running process in parallel + other instructions, think Xeon chips here. Of course, it will work. Just don’t tell anyone here your website because they will be able to crash it by just hitting the reload button a couple of times in their browsers :)

Thu, 05/04/2017 - 09:56
pieterG

@Volk, people being curious is an ok thing. But challenging what I have without proper reading on the topic and never come anywhere close to a solution is another...

Anyway the amount of concurrent users hitting the machine doesn't exceed my needs in any.

Your proposal (1, 2, 3 and 4) is the first sensible reaction to my question. I thought if this: As an RPI is a nifty little thing easy enough to take out the micro SD and clone it. Insert the clone and perform the update on that. When it works it is ok, when it doesn't reinsert the original and find another way...

I ran out of spare micro SD's... need to go to the shops and hopefully find me some identical ones...

Fri, 05/05/2017 - 06:16 (Reply to #26)
unborn
unborn's picture

@pieterG

...this is bollox utterly - virtalmin is and was released as gpl (which you are currently using it) meas if you not happy with anything - you can do your own changes - you are very much free to do so! (its opensource end of the day) - the point is please do respect all other devs like me or volk or diabolico on this issue - just be normal, nice to us. Volk-ov and diabolico him self (and me) did try to help you out however - he gave out the glue you need it same as me..

I've been using debian my self for years ago.. since debian 5. on my desktops and on servers since debian 6. - to be honest with you, please search help on rps irc channels as debian channel will not support you at all. - I did already told you those limitations. Docker here and there or not - rps are modified and you should ask devs why and whats modified.. you should always ask for help with the creator of the system.. if program does not work for you, you should ask the creator of the os to help you - or at least for source code so you would be able to make it working for you as you wanted.... I guess this is wrong place to asking with your behaviour to other well respected devops and sysops out here. - for me this is closed.

Configuring/troubleshooting Debian servers is always great fun

Topic locked