versitygw
versitygw copied to clipboard
[Bug] - Unable to backup files to versity posix with QNAP HBS3 Hybrid Backup Sync
Describe the bug I am trying to backup a QNAP NAS with vendor provided HBS3 to a posix versity server. In this specific case an iTunes folder needs to be transferred. Backup starts and then fails with various "Key Errors" like the following example:
App Name: Hybrid Backup Sync
Category: Job Status
Message: [Hybrid Backup Sync] Backup job "backup-nd": Failed to upload file/folder from "/iTunes/iTunes Media/Home Videos/Lightnings/Lightnings 2018/Lightnings 2018 3.MOV". Error: KeyError
Console gave the following printout:
20:50:57 | 200 | 709.375µs | 172.17.0.1 | POST | /qnap-nd-backup/backup-nd/iTunes/iTunes Media/Home Videos/Lightnings/Lightnings 2018/Lightnings 2018 3.MOV | - | uploads=
In the end the backup fails as more than 10 files could not be copied due to the above mentioned error.
To Reproduce You need a QNAP NAS with QTS 5.1.7 and HBS3. Then try to backup files.
Expected behavior I would expect a successful backup to versity. I have a similar backup job configured for a Minio S3 instance which works without any errors.
Server Version
docker run --pull=always --rm versity/versitygw:latest -version
latest: Pulling from versity/versitygw
Digest: sha256:03e2a4fbb7b942cad594033a7bf565b06a54573f5e82e2ef53c0636bf904dcbb
Status: Image is up to date for versity/versitygw:latest
Version : v1.0.5
Build : adbc8140ed85e6b5b240600b49fcd60fe2282307
BuildTime: 2024-08-06T17:53:24Z
uname -a
Linux server-HM90 6.8.0-40-generic #40-Ubuntu SMP PREEMPT_DYNAMIC Fri Jul 5 10:34:03 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux