This website is deprecated, and remains online only for historic access to old issues and docs for historic versions of Virtualmin. It has been unmaintained for several years, and should not be relied on for up-to-date information. Please visit www.virtualmin.com instead.
Thanks Joe. I'm looking for something like apt-get update && apt-get upgrade but for scripts. virtualmin list-scripts --all-domains --multiline doesn't give me information about available upgrades, or does it?
Besides, the output of --multiline is non standard, e.g. not XML, csv or JSON, which makes it unnecessary harder to parse. Also the script clutters the output w/ warnings like
Subroutine script_wordpress_gpl redefined at /etc/webmin/virtual-server/latest-scripts/wordpress.pl line 298.
Hi did you find a solution to this? I also think this would be very handy if there is a way to update all say "Roundcube" installs to the latest version? When there are a lot of sites and virtual servers setup it can be hard to keep track of which phymyadmin installs or webmail portals etc are up to date. And if any are missed or not updated then it opens up security issues if older versions are vulnerable. Thanks for any help.
Absolutely!
Start by fetching the application ID (you can use --multiline, if you're scripting it and want to parse the output):
# virtualmin list-scripts --domain virtualmin.com
ID Description Version URL path
-------------------- -------------------- ---------- -------------------------
149812077929891 Drupal 7.56 /
Wil fetch the list of installed scripts, including their ID. And, then with the ID of the script you want to upgrade:
--
Check out the forum guidelines!
Thanks Joe. I'm looking for something like
apt-get update && apt-get upgrade
but for scripts.virtualmin list-scripts --all-domains --multiline
doesn't give me information about available upgrades, or does it?Besides, the output of
--multiline
is non standard, e.g. not XML, csv or JSON, which makes it unnecessary harder to parse. Also the script clutters the output w/ warnings likeHi did you find a solution to this? I also think this would be very handy if there is a way to update all say "Roundcube" installs to the latest version? When there are a lot of sites and virtual servers setup it can be hard to keep track of which phymyadmin installs or webmail portals etc are up to date. And if any are missed or not updated then it opens up security issues if older versions are vulnerable. Thanks for any help.
Hi sorry it isn't on the command line BUT i just found the upgrade all scripts section in Virtualmin so that will work nicely for me! Many thanks :)