You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
inside the vestacp backup.log. and since the tmp directory doesnt exist anymore, when sendmail is called, exim fails and doesnt send any mail:
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
exim: can't get the current working directory: No such file or directory
Is common linux warning if dir not exists then return warning and something not working, maybe good idea add some test to check if dir exists before do something.
its actually enough to just ad an "cd /backup" in front of every direct sendmail occasion from the console.
i changed it allready on my server, but those edits are not update-proof, as long as vesta not add those checks :)
Operating System (OS/VERSION):
debian 8
VestaCP Version:
latest, Vesta 0.9.8-17
Installed Software (what you got with the installer):
apache only, but rest is pretty default (exim, dovecot etc)
Steps to Reproduce:
open "v-back-user" shell script file and add:
before:
cat $BACKUP/$user.log |$SENDMAIL -s "$subj" $email $notify
then run a backup from the panel and you will see something like:
inside the vestacp backup.log. and since the tmp directory doesnt exist anymore, when sendmail is called, exim fails and doesnt send any mail:
Related Issues/Forum Threads:
https://forum.vestacp.com/viewtopic.php?f=41&t=13214
Other Notes:
there might be also other occasions, where this error is true, not only for the backup script
(cron, restore, etc..)
The text was updated successfully, but these errors were encountered: