Mailinabox does not backup days ago

Hi there,
my box doesen’e backedup . I have recently made an upgrade and things work well but when i check my backup status , i don’t have backup since many days.
As i try to run backup fom backup.py file i got an error
--------------------------------------------error
sudo management/backup.py
GPGError: GPG Failed, see log below:
===== Begin GnuPG log =====
gpg: Note: ‘–force-mdc’ is not considered an option
gpg: Note: ‘–symmetric’ is not considered an option
gpg: WARNING: no command supplied. Trying to guess what you mean …
usage: gpg [options] [filename]
===== End GnuPG log =====

Traceback (most recent call last):
File “/root/mailinabox/management/backup.py”, line 647, in
perform_backup(full_backup)
File “/root/mailinabox/management/backup.py”, line 318, in perform_backup
shell(‘check_call’, [
File “/root/mailinabox/management/utils.py”, line 126, in shell
ret = getattr(subprocess, method)(cmd_args, **kwargs)
File “/usr/lib/python3.10/subprocess.py”, line 369, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command ‘[’/usr/bin/duplicity’, ‘full’, ‘–verbosity’, ‘warning’, ‘–no-print-statistics’, ‘–archive-dir’, ‘/home/user-data/backup/cache’, ‘–exclude’, ‘/home/user-data/backup’, ‘–volsize’, ‘250’, ‘–gpg-options’, “‘–cipher-algo=AES256’”, ‘–allow-source-mismatch’, ‘/home/user-data’, ‘file:///home/user-data/backup/encrypted’]’ returned non-zero exit status 31.
root@mail:~/mailinabox# gpg --version
gpg (GnuPG) 2.2.27
libgcrypt 1.9.4
Copyright (C) 2021 Free Software Foundation, Inc.
License GNU GPL-3.0-or-later https://gnu.org/licenses/gpl.html
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Home: /root/.gnupg
Supported algorithms:
Pubkey: RSA, ELG, DSA, ECDH, ECDSA, EDDSA
Cipher: IDEA, 3DES, CAST5, BLOWFISH, AES, AES192, AES256, TWOFISH,
CAMELLIA128, CAMELLIA192, CAMELLIA256
Hash: SHA1, RIPEMD160, SHA256, SHA384, SHA512, SHA224
Compression: Uncompressed, ZIP, ZLIB, BZIP2
----------------end error------------
can you help me figure out please?
regards

Check this discussion:
https://discourse.mailinabox.email/t/backup-script-failing/10734/83

What version of duplicity do you have installed? You should be on 2.1.4:

me@mail:~$ apt show duplicity
Package: duplicity
Version: 2.1.4-ppa202310201613~ubuntu22.04.1

Here is the version
Package: duplicity
Version: 2.1.4-ppa202310201613~ubuntu22.04.1

This topic was automatically closed 40 days after the last reply. New replies are no longer allowed.