Ubuntu deja-dup backup fails to put file: HTTP 423 locked error

Nextcloud version: 20.0.2 (from nextcloud:20.0-apache Docker image)
Operating system and version: Ubuntu 20.04 LTS 64-bit server

The base image is php:7.4-apache-buster, I’m not sure which Apache or PHP that has inside.

The issue you are facing:
One of my Nextcloud clients is the Ubuntu Backups program (“deja dup”, which uses duplicity under the hood). When it tries to upload a certain backup file, an error pops up: “HTTP Locked”. I don’t see any log messages from deja dup. In the Apache log, I see - user [date] "PUT /remote.php/dav/files/user/Backup/subdir/duplicity-full.20201210T234311Z.vol32.difftar.gz HTTP/1.1" 423 890 "-" "gvfs/1.44.1"

There are zero rows in the oc_file_locks table.

Is this the first time you’ve seen this error?: Yes

Aha, got it. I failed to mention

  1. I’m using redis for caching and file locking
  2. earlier today I rebuilt the nextcloud app image and restarted that container
  3. I did not restart redis

Restarting redis resolved the issue.

1 Like