Deja Dup keeps asking for password

Bug #883742 reported by Keith Drummond
46
This bug affects 11 people
Affects Status Importance Assigned to Milestone
deja-dup (Ubuntu)
Confirmed
Low
Unassigned

Bug Description

Ubuntu 11.10

The last 2 days whenever an automatic backup runs it asks me for my password, which I input. The GUI then says 'preparing backup', before asking for the password again. The password I am inputting is correct, so I am not sure why the backup is not running

ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: deja-dup 20.1-0ubuntu0.1
ProcVersionSignature: Ubuntu 3.0.0-13.21-generic 3.0.6
Uname: Linux 3.0.0-13-generic x86_64
ApportVersion: 1.23-0ubuntu4
Architecture: amd64
Date: Sun Oct 30 06:11:29 2011
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Release amd64 (20111012)
SourcePackage: deja-dup
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Keith Drummond (kd353) wrote :
Revision history for this message
Michael Terry (mterry) wrote :

Can you upload the file /tmp/deja-dup.log after running the following?

DEJA_DUP_DEBUG=1 deja-dup --backup | tail -n 1000 > /tmp/deja-dup.log

Changed in deja-dup (Ubuntu):
status: New → Incomplete
Revision history for this message
Keith Drummond (kd353) wrote :

As a workaround I have removed the old backup folder and now have Deja Dup pointing to a different folder. The first backup was a full backup and everything went fine. With the previous settings I had changed the option of 'saving 6 months' to just saving the last 3 months. It was after that the error occurred and I could no longer make a backup.

The terminal command seems to have run a backup with no problems to the new directory. I had to remove the old one to make space in my backup location, and 6 months worth of backups. Sorry that I can not provide any further details now.

Revision history for this message
Sjon (sjons) wrote :
Download full text (3.5 KiB)

This happens to me also, started to occur after installing/setting up gpg for email.
Did the log thing as suggested, parts that are probably relevant (slightly adjusted/anonimized):

DUPLICITY: INFO 1
DUPLICITY: . Args: /usr/bin/duplicity --include=/include-folder --exclude=/exclude-folder --exclude=** --gio --volsize=25 / smb://user@host/path --verbosity=9 --gpg-options=--no-use-agent --archive-dir=/home/user/.cache/deja-dup --log-fd=23

DUPLICITY: INFO 1
DUPLICITY: . Linux hostname 3.0.0-13-generic #21-Ubuntu SMP Mon Oct 17 20:18:51 UTC 2011 x86_64 x86_64

DUPLICITY: INFO 1
DUPLICITY: . /usr/bin/python 2.7.2+ (default, Oct 4 2011, 20:06:09)
DUPLICITY: . [GCC 4.6.1]

DUPLICITY: INFO 1
DUPLICITY: . GPG error detail: Traceback (most recent call last):
DUPLICITY: . File "/usr/bin/duplicity", line 1359, in <module>
DUPLICITY: . with_tempdir(main)
DUPLICITY: . File "/usr/bin/duplicity", line 1342, in with_tempdir
DUPLICITY: . fn()
DUPLICITY: . File "/usr/bin/duplicity", line 1218, in main
DUPLICITY: . sync_archive(decrypt)
DUPLICITY: . File "/usr/bin/duplicity", line 1040, in sync_archive
DUPLICITY: . copy_to_local(fn)
DUPLICITY: . File "/usr/bin/duplicity", line 987, in copy_to_local
DUPLICITY: . gpg.GzipWriteFile(src_iter, tdp.name, size=sys.maxint)
DUPLICITY: . File "/usr/lib/python2.7/dist-packages/duplicity/gpg.py", line 346, in GzipWriteFile
DUPLICITY: . new_block = block_iter.next(min(128*1024, bytes_to_go))
DUPLICITY: . File "/usr/bin/duplicity", line 970, in next
DUPLICITY: . self.fileobj.close()
DUPLICITY: . File "/usr/lib/python2.7/dist-packages/duplicity/dup_temp.py", line 214, in close
DUPLICITY: . assert not self.fileobj.close()
DUPLICITY: . File "/usr/lib/python2.7/dist-packages/duplicity/gpg.py", line 213, in close
DUPLICITY: . self.gpg_failed()
DUPLICITY: . File "/usr/lib/python2.7/dist-packages/duplicity/gpg.py", line 180, in gpg_failed
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: block_filter 0x185ce00: read error (size=14688,a->size=14688)
DUPLICITY: . gpg: packet(6) with unknown version 72
DUPLICITY: . gpg: [don't know]: invalid packet (ctb=51)
DUPLICITY: . gpg: mdc_packet with invalid encoding
DUPLICITY: . gpg: decryption failed: invalid packet
DUPLICITY: . gpg: [don't know]: invalid packet (ctb=4a)
DUPLICITY: . gpg: block_filter: pending bytes!
DUPLICITY: . ===== End GnuPG log =====
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: block_filter 0x185ce00: read error (size=14688,a->size=14688)
DUPLICITY: . gpg: packet(6) with unknown version 72
DUPLICITY: . gpg: [don't know]: invalid packet (ctb=51)
DUPLICITY: . gpg: mdc_packet with invalid encoding
DUPLICITY: . gpg: decryption failed: invalid packet
DUPLICITY: . gpg: [don't know]: invalid packet (ctb=4a)
DUPLICITY: . gpg: block_filter: pending byte...

Read more...

Changed in deja-dup (Ubuntu):
status: Incomplete → New
Changed in deja-dup (Ubuntu):
importance: Undecided → Low
Revision history for this message
Amos Blanton (lightnin9) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in deja-dup (Ubuntu):
status: New → Confirmed
Revision history for this message
Naël (nathanael-naeri) wrote :

Not a duplicate of #840393/#681002 because the GPG error is different (not "Bad CA certificate").

However it looks like it's the same as the one reported by Mathias Binke in #989750.

Revision history for this message
Naël (nathanael-naeri) wrote :

Also, same signs of full backups succeeding, so probably same bug as #989750 indeed

https://bugs.launchpad.net/ubuntu/+source/deja-dup/+bug/989750

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.