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 RHEL/CentOS
  • Search

Bug in install script for RHEL

RHEL/CentOS related topics
Post Reply
  • Print view
Advanced search
8 posts • Page 1 of 1
endreottem
Posts: 3
Joined: Mon Jun 22, 2015 11:34 am

Bug in install script for RHEL
  • Quote

Post by endreottem » 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.
Top

nobodypb
Posts: 9
Joined: Fri Jun 26, 2015 6:12 am

Re: Bug in install script for RHEL
  • Quote

Post by nobodypb » Mon Jun 29, 2015 5:35 pm

This is because it changes to
wget $CHOST/$VERSION/$release/dovecot.tar.gz -O /etc/dovecot.tar.gz
to support CentOS7
Top

kDas
Posts: 15
Joined: Sun Dec 02, 2012 11:01 am

Re: Bug in install script for RHEL
  • Quote

Post by kDas » Mon Jun 29, 2015 6:18 pm

But lol, it still can't be bootstrapped on CentOS7.
Top

nobodypb
Posts: 9
Joined: Fri Jun 26, 2015 6:12 am

Re: Bug in install script for RHEL
  • Quote

Post by nobodypb » Mon Jun 29, 2015 9:12 pm

It can! The right install script just isn't there.
I modified mine to work: https://github.com/nobodypb/vesta/blob/ ... ll-rhel.sh
Top

kDas
Posts: 15
Joined: Sun Dec 02, 2012 11:01 am

Re: Bug in install script for RHEL
  • Quote

Post by kDas » Tue Jun 30, 2015 12:16 pm

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
That not official one, right?
Top

skurudo
VestaCP Team
Posts: 8099
Joined: Fri Dec 26, 2014 2:23 pm
Contact:
Contact skurudo
Website Facebook Google+ Skype
Twitter

Re: Bug in install script for RHEL
  • Quote

Post by skurudo » Tue Jun 30, 2015 12:53 pm

kDas wrote:That not official one, right?
Yep, it's forked version, not official.
Top

kDas
Posts: 15
Joined: Sun Dec 02, 2012 11:01 am

Re: Bug in install script for RHEL
  • Quote

Post by kDas » Tue Jun 30, 2015 1:23 pm

skurudo wrote:
kDas wrote:That not official one, right?
Yep, it's forked version, not official.
Well, will wait for yours one :)
Top

nobodypb
Posts: 9
Joined: Fri Jun 26, 2015 6:12 am

Re: Bug in install script for RHEL
  • Quote

Post by nobodypb » Tue Jun 30, 2015 1:36 pm

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.
Top


Post Reply
  • Print view

8 posts • Page 1 of 1

Return to “RHEL/CentOS”



  • 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
 

 

Login  •  Register

I forgot my password