zimbra-automated-installation icon indicating copy to clipboard operation
zimbra-automated-installation copied to clipboard

Script fails in various ways

Open Polve opened this issue 3 years ago • 3 comments

Hello, I'm trying to use the script ZimbraEasyInstall.sh to install version 8.8.15 but it seems like the script is unable to guess the release anymore because they changed the page format (I suppose, expressely).

I then hardcoded the url https://files.zimbra.com/downloads/8.8.15_GA/zcs-8.8.15_GA_3869.UBUNTU18_64.20190918004220.tgz to the variable zimbra_url and tried to run in on a centos 7 server but the script fails with various errors:

./ZimbraEasyInstall.sh: line 611: '/root/installZimbra-keystrokes': File o directory non esistente
Installing Zimbra OSE Collaboration and injecting the configuration
./ZimbraEasyInstall.sh: line 613: /opt/zimbra/libexec/zmsetup.pl: File o directory non esistente
Restarting Zimbra Services
su: user zimbra does not exist

In which OS this script is supposed to run?

Do I need to clone the repo or just download the ZimbraEasyInstall.sh script?

Polve avatar Jul 28 '21 14:07 Polve

I created pull request #6 to fix the zimbra_url issue. And regarding error '/root/installZimbra-keystrokes' not exist, I think you should add --keystrokes /root/installZimbra-keystrokes --zimbrascript /root/installZimbraScript when running ZimbraEasyInstall.sh script

nvtienanh avatar Sep 11 '21 11:09 nvtienanh

Thanks, all added now, appreciated the continuation of this work

jorgedlcruz avatar Sep 11 '21 12:09 jorgedlcruz

Thanks for the fix, but the script still fails for a number of reasons.

What I can't find documented yet is in which kind of distribution this script is supposed to be executed.

Polve avatar Sep 21 '21 08:09 Polve