Page 1 of 1

webdomain suspending bug on 0.9.8-16

Posted: Mon Jul 11, 2016 5:35 pm
by ang3lx
Hello,

i've tried to suspend site from webcp, but not work
i've tried too command line too with
v-suspend-web-domain usertosuspend domaintosuspend
but nothing

i've latest version of vestacp

PS. if i try to send command again, I've error:
Error: web towabridal.com is suspended

how can solve this problem?

Re: webdomain suspending bug

Posted: Mon Jul 11, 2016 5:51 pm
by ang3lx
I've tried on another server with vestacp (latest) and there is the same bug

Re: webdomain suspending bug

Posted: Mon Jul 11, 2016 10:48 pm
by joem
ang3lx wrote:I've tried on another server with vestacp (latest) and there is the same bug
/usr/local/vesta/bin/v-add-web-domain

Before

Code: Select all

# Adding web server config
Add

Code: Select all

# Defining variables for new vhost config
prepare_web_domain_values
/usr/local/vesta/func/domain.sh
Change

Code: Select all

            -e "s|%docroot%|$HOMEDIR/$user/web/$domain/public_html|g" \
            -e "s|%sdocroot%|$HOMEDIR/$user/web/$domain/public_html|g" \
To

Code: Select all

            -e "s|%docroot%|$docroot|g" \
            -e "s|%sdocroot%|$sdocroot|g" \
 

Re: webdomain suspending bug on 0.9.8-16

Posted: Tue Jul 12, 2016 12:15 am
by ang3lx
thanks joem

now suspending works again :)

hoping in a global fix in 0.9.8-17

Re: webdomain suspending bug on 0.9.8-16

Posted: Tue Jul 12, 2016 1:46 am
by joem
ang3lx wrote:thanks joem

now suspending works again :)

hoping in a global fix in 0.9.8-17

No problem, I will make a new pull request on github later.

Re: webdomain suspending bug on 0.9.8-16

Posted: Fri Jul 15, 2016 1:33 pm
by ang3lx
i've another bug..

when I add new domain, www. record is not created

server {
listen MYIP:80;
server_name afffaaf.it ; <---- there is a white space and not www.afffaaf.it
................

Re: webdomain suspending bug on 0.9.8-16

Posted: Tue Jul 19, 2016 2:00 am
by joem
ang3lx wrote:i've another bug..

when I add new domain, www. record is not created

server {
listen MYIP:80;
server_name afffaaf.it ; <---- there is a white space and not http://www.afffaaf.it
................
Apply this fix, https://github.com/serghey-rodin/vesta/ ... 4b8b1f80f9

Re: webdomain suspending bug

Posted: Thu Sep 01, 2016 5:52 pm
by Sanity
joem wrote:
ang3lx wrote:I've tried on another server with vestacp (latest) and there is the same bug
/usr/local/vesta/bin/v-add-web-domain

Before

Code: Select all

# Adding web server config
Add

Code: Select all

# Defining variables for new vhost config
prepare_web_domain_values
/usr/local/vesta/func/domain.sh
Change

Code: Select all

            -e "s|%docroot%|$HOMEDIR/$user/web/$domain/public_html|g" \
            -e "s|%sdocroot%|$HOMEDIR/$user/web/$domain/public_html|g" \
To

Code: Select all

            -e "s|%docroot%|$docroot|g" \
            -e "s|%sdocroot%|$sdocroot|g" \
 
Perfect!! thanks!

Re: webdomain suspending bug

Posted: Wed Nov 23, 2016 11:08 am
by djjoid
joem wrote:
ang3lx wrote:I've tried on another server with vestacp (latest) and there is the same bug
/usr/local/vesta/bin/v-add-web-domain

Before

Code: Select all

# Adding web server config
Add

Code: Select all

# Defining variables for new vhost config
prepare_web_domain_values
/usr/local/vesta/func/domain.sh
Change

Code: Select all

            -e "s|%docroot%|$HOMEDIR/$user/web/$domain/public_html|g" \
            -e "s|%sdocroot%|$HOMEDIR/$user/web/$domain/public_html|g" \
To

Code: Select all

            -e "s|%docroot%|$docroot|g" \
            -e "s|%sdocroot%|$sdocroot|g" \
 
does not work, all copied and pasted as written

Re: webdomain suspending bug on 0.9.8-16

Posted: Wed Dec 07, 2016 1:55 pm
by skurudo
Resolved.

Please update to latest version 0.9.8.17