Bug in install script for RHEL
Posted: Mon Jun 22, 2015 12:06 pm
I tried to install VestaCP on CentOS 6, but the installation failed.
Seems that there's an error in the install script for RHEL:
wget $CHOST/$VERSION/dovecot.tar.gz -O /etc/dovecot.tar.gz
cd /etc/
rm -rf dovecot
tar -xzf dovecot.tar.gz
rm -f dovecot.tar.gz
chown -R root:root /etc/dovecot
The file http://c.vestacp.com/0.9.8/rhel/dovecot.tar.gz only contains dovecot.conf. On your server there's also a file named dovecot-new.tar.gz which seems to contain the correct files. As a result, the installation fails.
I edited the script so it says:
wget $CHOST/$VERSION/dovecot-new.tar.gz -O /etc/dovecot.tar.gz
Now the installation finishes without any errors. You should either rename dovecot-new.tar.gz to dovecot.tar.gz on your server (preferrably) or edit the script to fetch dovecot-new.tar.gz instead.
Seems that there's an error in the install script for RHEL:
wget $CHOST/$VERSION/dovecot.tar.gz -O /etc/dovecot.tar.gz
cd /etc/
rm -rf dovecot
tar -xzf dovecot.tar.gz
rm -f dovecot.tar.gz
chown -R root:root /etc/dovecot
The file http://c.vestacp.com/0.9.8/rhel/dovecot.tar.gz only contains dovecot.conf. On your server there's also a file named dovecot-new.tar.gz which seems to contain the correct files. As a result, the installation fails.
I edited the script so it says:
wget $CHOST/$VERSION/dovecot-new.tar.gz -O /etc/dovecot.tar.gz
Now the installation finishes without any errors. You should either rename dovecot-new.tar.gz to dovecot.tar.gz on your server (preferrably) or edit the script to fetch dovecot-new.tar.gz instead.