jorgedlcruz / zimbra-automated-installation

GNU General Public License v2.0
24 stars 37 forks source link

Script fails in various ways #5

Open Polve opened 3 years ago

Polve commented 3 years ago

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?

nvtienanh commented 2 years ago

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

jorgedlcruz commented 2 years ago

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

Polve commented 2 years ago

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.