Another duplicity instance is already running with this archive directory - how to fix it?

Hi,

I am running duplicity backup and I never had problem. But, now I get this:

Another duplicity instance is already running with this archive directory

My fix is to reboot Ubuntu desktop. Can it be fixed without reboot?

No need to reboot your Ubuntu Linux desktop.

How to fix another duplicity instance is already running with this archive directory error on Linux

  1. Open the terminal application
  2. List all duplicity and deja-dup process using the ps:
ps aux | grep -E -i 'deja-dup|duplicity' | grep -v grep
  1. Note down the Process ID (PID).
  2. Then, kill them using the kill command:
kill pid1 pid2 pid3
kill 148325  168642  185656
  1. Try again.
  2. You can now backup.
  3. No need to reboot the system to use duplicity.

Linux sysadmin blog - Linux/Unix Howtos and Tutorials - Linux bash shell scripting wiki