Deja-dup repeatedly asks encryption password

9,791

Solution 1

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.

Solution 2

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.

Solution 3

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.

Share:
9,791

Related videos on Youtube

terakinizers
Author by

terakinizers

Ubuntu user since 7.10. Basically uses LTS ... 8.04, 10.04, 12.04 and now 14.04. I'll ask questions and answer your questions (if I can, both in technological and linguistic allowance). Hack it!

Updated on September 18, 2022

Comments

  • terakinizers
    terakinizers almost 2 years

    Folks,

    I have been in trouble with deja-dup, Ubuntu backup utility. It asks encryption password every time when back up starts. I entered every related passwords (server's one, client's one, and all things I think related), but it does not help. After entering encryption password, deja-dup works for some time and asks password again.

    I expected this symptom has been solved in 14.04, but unforatunately deja-dup in 14.04 has exactly the same case.

    Here is my environment of backup ...

    My laptop computer (ThinkPad X220) is scheduled to be backed up files under my home directory in every week. The destination of backup is my office computer (running Ubuntu 12.04). This backup is made using ssh connection (so, selection of backup style in deja-dup is "ssh").

    Help, suggestion and answers appreciated.

    • Admin
      Admin almost 10 years
      I'm seeing this as well. It looks like it gets to a specific file, prompts for the password and then starts over from the beginning. Excluding that specific file (or its folder) just means it finds a different file to loop back on.
    • Admin
      Admin over 5 years
      I had this problem, and this post helped: askubuntu.com/questions/1057627/…
  • Joerg
    Joerg almost 10 years
    You saved my day!
  • yildirimyigit
    yildirimyigit almost 10 years
    @CharlesGreen After entering encryption password, deja-dup works for some time and asks password again. The same thing was happening to me, too. Changing the path is a workaround as described here and here