Ich habe ein Problem mit deja-dup
. Wenn ich versuche, ein Backup auf einem meiner Server zu erstellen, startet es das Backup für +- 10 Sekunden und fragt dann immer wieder nach meinem Verschlüsselungspasswort.
Was ich bisher gemacht habe:
delete ~/.cache/deja-dup/
- lösche das Verzeichnis, in das ich auf meinem Server hochgeladen habe, und erstelle ein neues
Und ich habe versucht, das Problem zu debuggen:
export DEJA_DUP_DEBUG=1
deja-dup --backup
Deja-dup beginnt mit dem Scannen und sagt dann, dass es das erste Backup erstellt, woraufhin das Debug-Protokoll sagt:
DUPLICITY: INFO 1
DUPLICITY: . GPG error detail: Traceback (most recent call last):
DUPLICITY: . File "/usr/bin/duplicity", line 1532, in <module>
DUPLICITY: . with_tempdir(main)
DUPLICITY: . File "/usr/bin/duplicity", line 1526, in with_tempdir
DUPLICITY: . fn()
DUPLICITY: . File "/usr/bin/duplicity", line 1380, in main
DUPLICITY: . do_backup(action)
DUPLICITY: . File "/usr/bin/duplicity", line 1496, in do_backup
DUPLICITY: . full_backup(col_stats)
DUPLICITY: . File "/usr/bin/duplicity", line 567, in full_backup
DUPLICITY: . globals.backend)
DUPLICITY: . File "/usr/bin/duplicity", line 425, in write_multivol
DUPLICITY: . at_end = gpg.GPGWriteFile(tarblock_iter, tdp.name, globals.gpg_profile, globals.volsize)
DUPLICITY: . File "/usr/lib/python2.7/dist-packages/duplicity/gpg.py", line 356, in GPGWriteFile
DUPLICITY: . file.close()
DUPLICITY: . File "/usr/lib/python2.7/dist-packages/duplicity/gpg.py", line 241, in close
DUPLICITY: . self.gpg_failed()
DUPLICITY: . File "/usr/lib/python2.7/dist-packages/duplicity/gpg.py", line 226, in gpg_failed
DUPLICITY: . raise GPGError(msg)
DUPLICITY: . GPGError: GPG Failed, see log below:
DUPLICITY: . ===== Begin GnuPG log =====
DUPLICITY: . gpg: keyblock resource `/etc/pacman.d/gnupg/pubring.gpg': file open error
DUPLICITY: . ===== End GnuPG log =====
DUPLICITY: .
DUPLICITY: .
DUPLICITY: ERROR 31 GPGError
DUPLICITY: . GPGError: GPG Failed, see log below:
DUPLICITY: . ===== Begin GnuPG log =====
DUPLICITY: . gpg: keyblock resource `/etc/pacman.d/gnupg/pubring.gpg': file open error
DUPLICITY: . ===== End GnuPG log =====
DUPLICITY: .
Soweit ich weiß, macht es Sinn, dass Duplizität /etc/pacman.d/gnupg/pubring.gpg
nicht öffnen kann da ich arch nicht laufe.
Irgendjemand irgendwelche Vorschläge, warum Doppelzüngigkeit /
deja-dup versucht, /etc/pacman.d/
zu öffnen anstatt meinen Standard-GPG-Schlüsselbund zu verwenden?
Akzeptierte Antwort:
Das Problem wurde gerade behoben, aus irgendeinem Grund gab es in meiner ~/.gnupg/gpg.conf eine Zeile „keyring /etc/pacman.d/gnupg/pubring.gpg“
Was ich auskommentiert habe und jetzt funktioniert es.