mike's picture

This is the error:

GPGError: GPG Failed, see log below:
===== Begin GnuPG log =====
gpg: fatal: can't create directory `/root/.gnupg': Not a directory
secmem usage: 0/0 bytes in 0/0 blocks of pool 0/32768
===== End GnuPG log =====

Traceback (most recent call last):
File "/usr/bin/tklbam-backup", line 366, in <module>
main()
File "/usr/bin/tklbam-backup", line 321, in main
b.run(opt_debug)
File "/usr/lib/tklbam/backup.py", line 237, in run
backup_command.run(passphrase, self.credentials, debug=debug)
File "/usr/lib/tklbam/duplicity.py", line 78, in run
raise Error("non-zero exitcode (%d) from backup command: %s" % (exitcode, str(self)))
duplicity.Error: non-zero exitcode (31) from backup command: duplicity --verbosity=5 --volsize=25 --full-if-older-than=1M --include=/TKLBAM --gpg-options=--cipher-algo=aes --include-filelist=/TKLBAM/fsdelta-olist --exclude=** --archive-dir=/var/cache/duplicity --s3-unencrypted-connection --allow-source-mismatch / s3://s3-eu-west-1.amazonaws.com/tklbam-jwgond7fulmlghbr

 

The backup works just fine on other servers, but on this one.. where i have installed iredmail .. it seems to throw an error.

Do you guys have any idea?

Forum: 
Tags: 
Jeremy Davis's picture

What does 

ls -la /root | grep gnupg

show? If there is a file or folder that is already called that, perhaps try renaming it? (using the mv command).

Add new comment