Permanent "Another duplicity instance is already running"

Bug #1837201 reported by Eoghan Murray
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Duplicity
New
Undecided
Unassigned

Bug Description

For many weeks now my duplicity instance (started via deja-dup) has been failing with
"Another duplicity instance is already running with this archive directory"

My storage location is on a network which is automatically mounted

I checked the folder for the presence of a lockfile (after reading the code) and there was none there.

It was only after adding extra info as follows:

` log.FatalError(
            "Another duplicity instance is already running with this archive directory: %s \n" % (globals.lockpath),
`

That I discovered that globals.lockpath is set to `~/.cache/deja-dup/3ac8a04e2f4c8feb215d2e9f8eb12645/`

Should there be something in duplicity to test the age of the lockpath, or actually test it for an actively running process, e.g. store the PID and check (using ps) whether that process is running?

Apologies if this is a concern of deja-dup.

Revision history for this message
Kenneth Loafman (kenneth-loafman) wrote :

Which versions? OS? Duplicity?

Changed in duplicity:
importance: Undecided → Medium
status: New → In Progress
Revision history for this message
bananenkasper (bananenkasper) wrote :

ubuntu 20.04.

Changed in duplicity:
status: In Progress → Incomplete
Revision history for this message
Kenneth Loafman (kenneth-loafman) wrote : Update bug #1837201, status new, importance undecided

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

 status new
 importance undecided
 done
-----BEGIN PGP SIGNATURE-----

iQEzBAEBCAAdFiEExwf+p6/3mDvUSsaGH1G0ZBEHM/EFAmBl5TEACgkQH1G0ZBEH
M/H8LQgAq8GUahEM68BdGxCtjc6dDM9s8N948Vr7VuZtLteIIn2Xx1O2yrmVzP50
ReVk6MTjLFjrM9HcJdelaE+uBnOZB+ms0jUoGQzMyCoMAS+nWLfT8I6wDk9NqSuS
VZLUfEhuzBe2xSYmx7WBCvRKtDv7SXp6l+V5R3OFA9f03OAFF4HzyLGBDvCoxGX4
/NZciOgaZUg1uLE1Qq1F1lNquXD0TE9BN3LK6foBJZMCrev1tJCQ11am+j154C3+
y1Hbngo/pVS9KrC6Sg4/5nwiIThRl6r4SMUiibVFSiUDyfQLQQaXjtqCAKth7R7o
nYmOAIL4gltw2Mw45QDlkeYvvIoiCA==
=2z9n
-----END PGP SIGNATURE-----

Changed in duplicity:
importance: Medium → Undecided
status: Incomplete → New
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.