CLI command to upgrade ms and msfe?

Discuss the ConfigServer MailScanner Front-End script
Post Reply
MACscr
Junior Member
Posts: 46
Joined: 12 Jan 2007, 20:43

CLI command to upgrade ms and msfe?

Post by MACscr »

I have many servers running ms and msfe. Is there a list of cli commands i can use to upgrade them verus having to do it through whm? Would really help me automate the process.
Sarah
Moderator
Posts: 934
Joined: 09 Dec 2006, 22:49

Post by Sarah »

Upgrading MailScanner can be done with these commands:

wget http://www.configserver.com/free/msinstall.tar.gz
tar -xzf msinstall.tar.gz
cd msinstall/
sh install.sh

Upgrading MSFE can be done with the sequence of commands here:
http://www.configserver.com/cp/msfeinstaller.html

Obviously, you should test the process before trying to automate it.

Regards,
Sarah
MACscr
Junior Member
Posts: 46
Joined: 12 Jan 2007, 20:43

Post by MACscr »

So you still show in the directions that i need to go within each server to do the Submit Changes part. I am trying to avoid that as well. I need something that can be done completely from cli.
MACscr
Junior Member
Posts: 46
Joined: 12 Jan 2007, 20:43

Post by MACscr »

Sarah or Chirpy, i would really like a response to my last question. Thanks!
chirpy
Moderator
Posts: 3537
Joined: 09 Dec 2006, 18:13

Post by chirpy »

You have to either click to upgrade via the UI on each server or upgrade from the root shell as Sarah has mentioned.
MACscr
Junior Member
Posts: 46
Joined: 12 Jan 2007, 20:43

Post by MACscr »

chirpy wrote:You have to either click to upgrade via the UI on each server or upgrade from the root shell as Sarah has mentioned.

wget http://www.configserver.com/free/msfeinstaller.tgz
tar -xzf msfeinstaller.tgz
perl msfeinstaller.pl
rm -fv msfeinstaller.*

You must now go into WHM > Addons > ConfigServer MailScanner FE > MailScanner Front-End > and click Change
And as mentioned above, those instructions show that you have to go into the gui and click on "Submit Changes".

Which completely defeats the purpose of the cli commands and takes away the ability to automate the upgrades.
Sarah
Moderator
Posts: 934
Joined: 09 Dec 2006, 22:49

Post by Sarah »

You should only need to go into the WHM interface and click Change the first time you install the MailScanner Front-End.

Regards,
Sarah
Post Reply