Page 1 of 1

v-backup-user error getcwd() on --SUMMARY--

Posted: Thu Jul 27, 2017 7:28 am
by juslintek
Using Ubuntu 16.04 x64 on AWS.

The backup is created, but probably to form full summary or send a report files are not accessible.

Code: Select all

-- SUMMARY --
2017-07-27 07:19:55 Local: /backup/admin.2017-07-27.tar
2017-07-27 07:19:55 Size: 882 Mb
2017-07-27 07:19:55 Runtime: 1 minute
sh: 0: getcwd() failed: No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
sh: 0: getcwd() failed: No such file or directory
Some feedback from verbose mode of script:

Code: Select all

bash -x /usr/local/vesta/bin/v-backup-user admin yes

Code: Select all

+ /usr/local/vesta/web/inc/mail-wrapper.php -s 'admin → backup has been completed' admin@domain_name_replaced.com yes
sh: 0: getcwd() failed: No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
sh: 0: getcwd() failed: No such file or directory
+ rm /backup/admin.log

Re: v-backup-user error getcwd() on --SUMMARY--

Posted: Thu Jul 27, 2017 11:33 am
by skurudo