Deja-dup repeatedly asks encryption password

If you run Deja-Dup from a terminal, you may be able to get more info on the problem:

export DEJA_DUP_DEBUG=1
deja-dup --backup

In my particular case, it turned out that there was a stale lock file preventing GnuPG from working at all. Deleting ~/.gnupg/gnupg_spawn_agent_sentinel.lock solved the issue for me.


I had a similar problem with deja-dup running on Ubuntu 14.04. I found that these directories in my home folder were owned by root.

  • .dbus
  • .gnupg
  • .gvfs
  • .rnd

After I changed the ownership of those directories and their contents to me, deja-dup was able to create an encrypted backup of my home directory.


I also faced this annoying problem and it is still an open bug (here is the report)

Changing the path/name of the backup folder solved the issue for me.