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

Questions regarding the Command Line Interface
CLI
juslintek
Posts: 9
Joined: Mon Jun 20, 2016 5:55 pm

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

Postby juslintek » Thu Jul 27, 2017 7:28 am

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

skurudo
VestaCP Team
Posts: 7798
Joined: Fri Dec 26, 2014 2:23 pm
Location: Moscow
Contact:

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

Postby skurudo » Thu Jul 27, 2017 11:33 am

-> DigitalOcean competition - please, support us
-> fix for phpmyadmin - nice and sweet now


Return to “CLI”



Who is online

Users browsing this forum: No registered users and 1 guest

cron