Page 1 of 1

Backup error

Posted: Wed Mar 29, 2017 9:15 pm
by JHOSMAN
Hello.

I run and says, this problem is only with the account "resco"

Code: Select all

 /usr/local/vesta/bin/v-backup-user resco
-- SYSTEM --
2017-03-29 16:09:54 resco.conf
2017-03-29 16:09:54 stats.log
2017-03-29 16:09:54 history.log
2017-03-29 16:09:54 pam


-- WEB --
2017-03-29 16:09:54 primarydomain.co
2017-03-29 16:10:00 secondarydomain.co
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
How to fix?

Re: Backup error

Posted: Thu Mar 30, 2017 8:42 am
by skurudo
What's in your template directory?

Code: Select all

ls -la /usr/local/vesta/data/templates/web/nginx/

Re: Backup error

Posted: Thu Mar 30, 2017 2:14 pm
by JHOSMAN
Says:

Code: Select all

[root@cloud ~]# ls -la /usr/local/vesta/data/templates/web/nginx/
total 48
drwxr-xr-x 3 backup backup 4096 Nov 23 07:32 .
drwxr-xr-x 9 backup backup 4096 Jun 23  2016 ..
-rwxr-xr-x 1 backup backup  230 Jun 27  2016 caching.sh
-rwxrwxr-x 1 backup backup 1342 Nov 23 07:32 caching.stpl
-rwxrwxr-x 1 backup backup 1246 Nov 23 07:32 caching.tpl
-rwxrwxr-x 1 backup backup 1074 Nov 23 07:32 default.stpl
-rwxrwxr-x 1 backup backup  966 Nov 23 07:32 default.tpl
-rwxr-xr-x 1 backup backup  131 Jun 27  2016 hosting.sh
-rwxrwxr-x 1 backup backup 1125 Nov 23 07:32 hosting.stpl
-rwxrwxr-x 1 backup backup 1017 Nov 23 07:32 hosting.tpl
drwxr-xr-x 2 backup backup 4096 Nov 23 07:32 php-fpm
-rwxr-xr-x 1 backup backup  189 Jun 27  2016 proxy_ip.tpl

Re: Backup error

Posted: Fri Jan 05, 2018 10:55 am
by jimmyeao
I also have this error, the backup seems to be stuck in an infinite loop never ending with the same error.

Re: Backup error

Posted: Fri Jan 05, 2018 12:33 pm
by jimmyeao
Have resolved this. One of my domains had proxy support deselected. I re-enable this and backups went through fine