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

webdomain suspending bug on 0.9.8-16

General questions about VestaCP
Locked
  • Print view
Advanced search
10 posts • Page 1 of 1
ang3lx
Posts: 12
Joined: Sun Nov 02, 2014 12:20 am

webdomain suspending bug on 0.9.8-16

Post by ang3lx » Mon Jul 11, 2016 5:35 pm

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?
Last edited by ang3lx on Mon Jul 11, 2016 7:17 pm, edited 1 time in total.
Top

ang3lx
Posts: 12
Joined: Sun Nov 02, 2014 12:20 am

Re: webdomain suspending bug

Post by ang3lx » Mon Jul 11, 2016 5:51 pm

I've tried on another server with vestacp (latest) and there is the same bug
Top

joem
Posts: 378
Joined: Thu Nov 13, 2014 8:33 am

Os: CentOS 6x
Web: nginx + php-fpm
Re: webdomain suspending bug

Post by joem » Mon Jul 11, 2016 10:48 pm

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" \
 
Top

ang3lx
Posts: 12
Joined: Sun Nov 02, 2014 12:20 am

Re: webdomain suspending bug on 0.9.8-16

Post by ang3lx » Tue Jul 12, 2016 12:15 am

thanks joem

now suspending works again :)

hoping in a global fix in 0.9.8-17
Top

joem
Posts: 378
Joined: Thu Nov 13, 2014 8:33 am

Os: CentOS 6x
Web: nginx + php-fpm
Re: webdomain suspending bug on 0.9.8-16

Post by joem » Tue Jul 12, 2016 1:46 am

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

ang3lx
Posts: 12
Joined: Sun Nov 02, 2014 12:20 am

Re: webdomain suspending bug on 0.9.8-16

Post by ang3lx » Fri Jul 15, 2016 1:33 pm

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

joem
Posts: 378
Joined: Thu Nov 13, 2014 8:33 am

Os: CentOS 6x
Web: nginx + php-fpm
Re: webdomain suspending bug on 0.9.8-16

Post by joem » Tue Jul 19, 2016 2:00 am

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
Top

Sanity
Posts: 167
Joined: Tue Apr 08, 2014 9:10 am
Contact:
Contact Sanity
Website

Os: Ubuntu 15x
Web: apache + nginx
Re: webdomain suspending bug

Post by Sanity » Thu Sep 01, 2016 5:52 pm

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

djjoid
Posts: 9
Joined: Thu Dec 10, 2015 10:00 am

Re: webdomain suspending bug

Post by djjoid » Wed Nov 23, 2016 11:08 am

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
Top

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

Re: webdomain suspending bug on 0.9.8-16

Post by skurudo » Wed Dec 07, 2016 1:55 pm

Resolved.

Please update to latest version 0.9.8.17
Top


Locked
  • Print view

10 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