deja-dup asks for passphrase over and over again when doing incremental backup, never completes
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Déjà Dup |
Expired
|
Undecided
|
Unassigned |
Bug Description
I’ve been doing backups with deja-dup to an external HDD for several years without any issue. Yesterday though, after manually triggering a backup, deja-dup kept on asking me my passphrase over and over again, after which it would start the "analysis" phase again. The backup would never actually start.
I re-ran deja-dup from a terminal, and got the following output:
DUPLICITY: INFO 1
DUPLICITY: . GPG error detail: Traceback (most recent call last):
DUPLICITY: . File "/usr/bin/
DUPLICITY: . with_tempdir(main)
DUPLICITY: . File "/usr/bin/
DUPLICITY: . fn()
DUPLICITY: . File "/usr/bin/
DUPLICITY: . do_backup(action)
DUPLICITY: . File "/usr/bin/
DUPLICITY: . sync_archive(
DUPLICITY: . File "/usr/bin/
DUPLICITY: . copy_to_local(fn)
DUPLICITY: . File "/usr/bin/
DUPLICITY: . gpg.GzipWriteFi
DUPLICITY: . File "/usr/lib/
DUPLICITY: . new_block = block_iter.next()
DUPLICITY: . File "/usr/bin/
DUPLICITY: . self.fileobj.
DUPLICITY: . File "/usr/lib/
DUPLICITY: . assert not self.fileobj.
DUPLICITY: . File "/usr/lib/
DUPLICITY: . self.gpg_failed()
DUPLICITY: . File "/usr/lib/
DUPLICITY: . raise GPGError(msg)
DUPLICITY: . GPGError: GPG Failed, see log below:
DUPLICITY: . ===== Begin GnuPG log =====
DUPLICITY: . gpg: CAST5 encrypted data
DUPLICITY: . gpg: encrypted with 1 passphrase
DUPLICITY: . gpg: WARNING: encrypted message has been manipulated!
DUPLICITY: . ===== End GnuPG log =====
DUPLICITY: .
DUPLICITY: .
DUPLICITY: ERROR 31 GPGError
DUPLICITY: . GPGError: GPG Failed, see log below:
DUPLICITY: . ===== Begin GnuPG log =====
DUPLICITY: . gpg: CAST5 encrypted data
DUPLICITY: . gpg: encrypted with 1 passphrase
DUPLICITY: . gpg: WARNING: encrypted message has been manipulated!
DUPLICITY: . ===== End GnuPG log =====
DUPLICITY: .
After poking at different things (including entirely deleting ~/.cache/deja-dup), I tried backing up to a new folder on the same external HDD, and the backup completed successfully (obviously it had to do a completely new backup, which took longer).
So it looks like the previous backup was somehow corrupted, though I have no idea how that happened.
In any case, deja-dup should detect that error condition and display a useful error message, instead of asking for the passphrase over and over again.
ProblemType: Bug
DistroRelease: Ubuntu 15.10
Package: deja-dup 34.0-1ubuntu3
ProcVersionSign
Uname: Linux 4.2.0-25-generic x86_64
ApportVersion: 2.19.1-0ubuntu5
Architecture: amd64
CurrentDesktop: Unity
Date: Mon Feb 1 10:58:22 2016
EcryptfsInUse: Yes
InstallationDate: Installed on 2013-11-12 (810 days ago)
InstallationMedia: Ubuntu 13.10 "Saucy Salamander" - Release amd64 (20131016.1)
SourcePackage: deja-dup
UpgradeStatus: Upgraded to wily on 2015-11-01 (91 days ago)
Other users have reported that Déjà Dup repeatedly prompts for the passphrase over a GPG error (although not necessarily the same as yours) during incremental backups, and only successfully completes full backups. See the following bug report and add duplicate status if appropriate.
https:/ /bugs.launchpad .net/ubuntu/ +source/ deja-dup/ +bug/989750