Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section General Discussion
  • Search

I can't install Vesta

General questions about VestaCP
Post Reply
  • Print view
Advanced search
3 posts • Page 1 of 1
Flash
Posts: 1
Joined: Mon Jun 22, 2015 11:27 am

I can't install Vesta
  • Quote

Post by Flash » Mon Jun 22, 2015 11:36 am

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
Top

endreottem
Posts: 3
Joined: Mon Jun 22, 2015 11:34 am

Re: I can't install Vesta
  • Quote

Post by endreottem » Mon Jun 22, 2015 12:01 pm

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.
Last edited by endreottem on Mon Jun 22, 2015 12:23 pm, edited 1 time in total.
Top

endreottem
Posts: 3
Joined: Mon Jun 22, 2015 11:34 am

Re: I can't install Vesta
  • Quote

Post by endreottem » Mon Jun 22, 2015 12:10 pm

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:

Code: Select all

bash vst-install-rhel.sh --force
Top


Post Reply
  • Print view

3 posts • Page 1 of 1

Return to “General Discussion”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

cron

Login  •  Register

I forgot my password