Hi,
i moved my MIAB installation to a new VPS. After that i didn´t got any errors but now i was wondering why mail in a box isn´t backuping anymore. My last Backup is from 21. Dec. 2017.
So to figure out whats the problem i ran sudo management/backup.py from the command line and got this error:
GPGError: GPG Failed, see log below:
===== Begin GnuPG log =====
gpg: AES256 encrypted data
gpg: encrypted with 1 passphrase
gpg: decryption failed: bad key
===== End GnuPG log =====
Traceback (most recent call last):
File "management/backup.py", line 578, in <module>
perform_backup(full_backup)
File "management/backup.py", line 299, in perform_backup
get_env(env))
File "/home/config/mailinabox/management/utils.py", line 123, in shell
ret = getattr(subprocess, method)(cmd_args, **kwargs)
File "/usr/lib/python3.4/subprocess.py", line 561, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['/usr/bin/duplicity', 'incr', '--verbosity', 'warning', '--no-print-statistics', '--archive-dir', '/home/user-data/backup/cache', '--exclude', '/home/user-data/backup', '--volsize', '250', '--gpg-options', '--cipher-algo=AES256', '/home/user-data', 'rsync://user@mybackupserver.com/media/Storage_sdb1/http_backup/mail-in-a-box/', '--allow-source-mismatch', "--ssh-options='-i /root/.ssh/id_rsa_miab'", '--rsync-options=-e "/usr/bin/ssh -oStrictHostKeyChecking=no -oBatchMode=yes -p 22 -i /root/.ssh/id_rsa_miab"']' returned non-zero exit status 31
Does that mean my secret_key.txt is wrong?