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

Backup error with nginx support disabled

General questions about VestaCP
Post Reply
  • Print view
Advanced search
1 post • Page 1 of 1
deadbeef
Posts: 13
Joined: Thu Feb 16, 2017 9:00 pm

Os: CentOS 6x
Web: apache + nginx
Backup error with nginx support disabled
  • Quote

Post by deadbeef » Thu Mar 08, 2018 3:38 pm

Hello. I'm running VestaCP with Apache as webserver and nginx as caching proxy. Everything was just fine until I disabled nginx support for one of my sites. After that backups are not created. I looked through the logs and obviously this is what it's all about:

Code: Select all

backup.log
2018-03-08 18:27:01

-- WEB --
2018-03-08 18:25:01 xxx.yyy.ru
2018-03-08 18:26:07 zzz.yyy.ru
2018-03-08 18:26:07 nnn.yyy.ru
grep: /usr/local/vesta/data/templates/web/nginx/.stpl: No such file or directory
wc: /usr/local/vesta/data/templates/web/nginx/.stpl: No such file or directory
Error: can't parse template /usr/local/vesta/data/templates/web/nginx/.stpl
Looks like with nginx disabled backup script is trying to process nginx template with empty name instead of ignoring it and backup failes. Right after I enabled nginx proxy for that website backup was created without any problem. It would be really nice if you could point to the script where I should make a fix, I don't really want to go too deep =)
Top


Post Reply
  • Print view
1 post • 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
 

 

Login  •  Register

I forgot my password