I can't install Vesta
I can't install Vesta
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
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
-
- Posts: 3
- Joined: Mon Jun 22, 2015 11:34 am
Re: I can't install Vesta
There's an error in the install script for RHEL:
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:
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.
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
I edited the script so it says:
Code: Select all
wget $CHOST/$VERSION/dovecot-new.tar.gz -O /etc/dovecot.tar.gz
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.
Last edited by endreottem on Mon Jun 22, 2015 12:23 pm, edited 1 time in total.
-
- Posts: 3
- Joined: Mon Jun 22, 2015 11:34 am
Re: I can't install Vesta
Forgot to mention that you should only replace the first occurence, so that:
instead looks like this:
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:
Code: Select all
wget $CHOST/$VERSION/dovecot.tar.gz -O /etc/dovecot.tar.gz
Code: Select all
wget $CHOST/$VERSION/dovecot-new.tar.gz -O /etc/dovecot.tar.gz
After editing the file, just run the script again:
Code: Select all
bash vst-install-rhel.sh --force