Bug in install script for RHEL
-
- Posts: 3
- Joined: Mon Jun 22, 2015 11:34 am
Bug in install script for RHEL
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.
Re: Bug in install script for RHEL
This is because it changes to
wget $CHOST/$VERSION/$release/dovecot.tar.gz -O /etc/dovecot.tar.gz
to support CentOS7
wget $CHOST/$VERSION/$release/dovecot.tar.gz -O /etc/dovecot.tar.gz
to support CentOS7
Re: Bug in install script for RHEL
But lol, it still can't be bootstrapped on CentOS7.
Re: Bug in install script for RHEL
It can! The right install script just isn't there.
I modified mine to work: https://github.com/nobodypb/vesta/blob/ ... ll-rhel.sh
I modified mine to work: https://github.com/nobodypb/vesta/blob/ ... ll-rhel.sh
Re: Bug in install script for RHEL
That not official one, right?nobodypb wrote:It can! The right install script just isn't there.
I modified mine to work: https://github.com/nobodypb/vesta/blob/ ... ll-rhel.sh
Re: Bug in install script for RHEL
Yep, it's forked version, not official.kDas wrote:That not official one, right?
Re: Bug in install script for RHEL
Well, will wait for yours one :)skurudo wrote:Yep, it's forked version, not official.kDas wrote:That not official one, right?
Re: Bug in install script for RHEL
Yep, better do that.
Mine is just for experimental purposes, because I have CentOS7 servers, wanted to configure them and the official install-script isn't done/tested yet.
Mine is just for experimental purposes, because I have CentOS7 servers, wanted to configure them and the official install-script isn't done/tested yet.