Ubuntu – Deja-dup repeatedly asks encryption password

12.0414.04deja-dupduplicity

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.

Best Answer

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.