Bug#659009: duplicity: GnuPG passphrase error after failed backup session

February 07th, 2012 - 07:20 am ET by Daniel Andersson | Report spam
Package: duplicity
Version: 0.6.17-3
Severity: important
Tags: upstream

After a failed backup session, duplicity cannot resume the volume creation.
Including full output below:

"""
Using archive dir: /root/.cache/duplicity/5936c826cbdd64d3c3ed18979d8520fe
Using backup name: 5936c826cbdd64d3c3ed18979d8520fe
Import of duplicity.backends.imapbackend Succeeded
Import of duplicity.backends.rsyncbackend Succeeded
Import of duplicity.backends.u1backend Succeeded
Import of duplicity.backends.cloudfilesbackend Succeeded
Import of duplicity.backends.tahoebackend Succeeded
Import of duplicity.backends.giobackend Succeeded
Import of duplicity.backends.ftpsbackend Succeeded
Import of duplicity.backends.sshbackend Succeeded
Import of duplicity.backends.botobackend Failed: No module named py
Import of duplicity.backends.localbackend Succeeded
Import of duplicity.backends.ftpbackend Succeeded
Import of duplicity.backends.webdavbackend Succeeded
Import of duplicity.backends.hsibackend Succeeded
Import of duplicity.backends.gdocsbackend Succeeded
Reading globbing filelist /home/daniel/.duplicity-backup/exclude/_home_daniel
Main action: full
=duplicity 0.6.17 (November 25, 2011)
Args: /usr/bin/duplicity --encrypt-key ABCDEFGH --sign-key ABCDEFGH -v5
globbing-filelist=/home/daniel/.duplicity-backup/exclude/_home_daniel
/home/daniel scp://daniel@my.backup.server:1022/backup/home/daniel
Linux d-f05 3.1.0-1-686-pae #1 SMP Tue Nov 29 19:01:56 UTC 2011 i686
/usr/bin/python 2.7.2+ (default, Jan 20 2012, 23:05:38)
[GCC 4.6.2]
=Using temporary directory /media/5-2000/tmp/duplicity-tmp/duplicity-O5k2Gl-
tempdir
Temp has 54671953920 available, backup will use approx 60293120.
Local and Remote metadata are synchronized, no sync needed.
Added incremental Backupset (start_time: Tue Jan 31 13:14:44 2012 / end_time:
Tue Jan 31 23:05:58 2012)
Added incremental Backupset (start_time: Tue Jan 31 23:05:58 2012 / end_time:
Wed Feb 1 14:22:00 2012)
Added incremental Backupset (start_time: Wed Feb 1 14:22:00 2012 / end_time:
Tue Feb 7 12:06:00 2012)
Last full backup left a partial set, restarting.
Last full backup date: Tue Feb 7 12:10:03 2012
RESTART: Volumes 408 to 409 failed to upload before termination.
Restarting backup at volume 408.
GPG error detail: Traceback (most recent call last):
File "/usr/bin/duplicity", line 1388, in <module>
with_tempdir(main)
File "/usr/bin/duplicity", line 1381, in with_tempdir
fn()
File "/usr/bin/duplicity", line 1351, in main
full_backup(col_stats)
File "/usr/bin/duplicity", line 500, in full_backup
globals.backend)
File "/usr/bin/duplicity", line 338, in write_multivol
validate_encryption_settings(globals.restart.last_backup, mf)
File "/usr/bin/duplicity", line 326, in validate_encryption_settings
fileobj.close()
File "/usr/lib/python2.7/dist-packages/duplicity/dup_temp.py", line 222, in
close
assert not self.fileobj.close()
File "/usr/lib/python2.7/dist-packages/duplicity/gpg.py", line 239, in close
self.gpg_failed()
File "/usr/lib/python2.7/dist-packages/duplicity/gpg.py", line 206, in
gpg_failed
raise GPGError, msg
GPGError: GPG Failed, see log below:
== Begin GnuPG log =gpg: encrypted with 2048-bit RSA key, ID ABCDEFGH, created 2011-05-20
"Daniel Andersson <my@hidden.email>"
gpg: public key decryption failed: bad passphrase
gpg: decryption failed: secret key not available
gpg: WARNING: unsafe ownership on homedir `/home/daniel/.gnupg'
== End GnuPG log ="""

I haven't been able to solve this without simply starting a new backup tree at
the remote site.



Debian Release: wheezy/sid
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 3.1.0-1-686-pae (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=sv_SE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages duplicity depends on:
ii libc6 2.13-26
ii librsync1 0.9.7-8
ii python 2.7.2-10
ii python-gnupginterface 0.3.2-9.1
ii python2.7 2.7.2-13

Versions of packages duplicity recommends:
ii python-paramiko 1.7.7.1-2
ii rsync 3.0.9-1

Versions of packages duplicity suggests:
pn lftp 4.3.4-1
pn ncftp 2:3.2.5-1
pn python-boto <none>
pn python-cloudfiles <none>
pn python-gdata <none>
pn python-pexpect 2.3-1
pn tahoe-lafs <none>




To UNSUBSCRIBE, email to debian-bugs-dist-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
email Follow the discussionReplies 2 repliesReplies Make a reply

Similar topics

Replies

#1 A A
February 17th, 2012 - 08:40 pm ET | Report spam
On Tue, Feb 14, 2012 at 2:54 AM, Alexander Zangerl wrote:
On Tue, 07 Feb 2012 13:09:44 +0100, Daniel Andersson writes:
do you have a passphrase on that sign+enc key, or is the PASSPHRASE
environment variable set?



PASSPHRASE is set.

/Daniel



To UNSUBSCRIBE, email to
with a subject of "unsubscribe". Trouble? Contact
Replies Reply to this message
#2 A A
March 05th, 2012 - 06:50 am ET | Report spam
On Sat, Feb 18, 2012 at 12:41 AM, A A wrote:
On Tue, Feb 14, 2012 at 2:54 AM, Alexander Zangerl wrote:
On Tue, 07 Feb 2012 13:09:44 +0100, Daniel Andersson writes:
do you have a passphrase on that sign+enc key, or is the PASSPHRASE
environment variable set?



PASSPHRASE is set.

/Daniel



I forwarded the bug upstream:
<https://bugs.launchpad.net/duplicit...46988>.

/Daniel



To UNSUBSCRIBE, email to
with a subject of "unsubscribe". Trouble? Contact
email Follow the discussion Replies Reply to this message
Help Create a new topicReplies Make a reply
Search Make your own search