Page 1 of 1
I can't install Vesta
Posted: Mon Jun 22, 2015 11:36 am
by Flash
In new VPS i entered:
yum upgrade
curl -O
http://vestacp.com/pub/vst-install.sh
bash vst-install.sh --force
but installation doesn't finish:
chown: cannot access `/etc/dovecot': No such file or directory
Adding user dovecot to group mail
Error: dovecot start failed
Re: I can't install Vesta
Posted: Mon Jun 22, 2015 12:01 pm
by endreottem
There's an error in the install script for RHEL:
Code: Select all
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 the 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:
Code: Select all
wget $CHOST/$VERSION/dovecot-new.tar.gz -O /etc/dovecot.tar.gz
Now the installation finishes without any errors. Just search the file vst-install-rhel.sh for dovecot.tar.gz and replace it with dovecot-new.tar.gz. Then start the installation again. :)
I guess Vesta 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: I can't install Vesta
Posted: Mon Jun 22, 2015 12:10 pm
by endreottem
Forgot to mention that you should only replace the first occurence, so that:
Code: Select all
wget $CHOST/$VERSION/dovecot.tar.gz -O /etc/dovecot.tar.gz
instead looks like this:
Code: Select all
wget $CHOST/$VERSION/dovecot-new.tar.gz -O /etc/dovecot.tar.gz
That way, you're downloading dovecot-new.tar.gz, but it's saved as dovecot.tar.gz.
After editing the file, just run the script again: