# A task was cancelled and other errors

**URL:** <https://forum.duplicati.com/t/a-task-was-cancelled-and-other-errors/20061>\
**Category:** Support\
**Created:** [February 3, 2025, 8:07am UTC](https://forum.duplicati.com/t/a-task-was-cancelled-and-other-errors/20061 "2025-02-03T08:07:53Z")\
**Posts on this page:** 10\
**Page:** 2

<div class="post-metadata">

**Author:** ![kenkendk](https://forum.duplicati.com/user_avatar/forum.duplicati.com/kenkendk/32/5305_2.png) [@kenkendk](https://forum.duplicati.com/u/kenkendk)\
**Post date:** [February 27, 2025, 9:14pm UTC](https://forum.duplicati.com/t/a-task-was-cancelled-and-other-errors/20061/21 "2025-02-27T21:14:51Z")

</div>

> [@srudin](#):
>
> One big backup jobs keep checking every single file which takes ages for the backup to complete.

Was this resolved? As @ts678 mentions, if nothing at all has changed, this will not make a new version, and as a side effect it will also drop all updated timestamps. Making a tiny change will make Duplicati persist the new values.

There is a related issue here, so any input on how to fix it would be appreciated:

> <https://github.com/duplicati/duplicati/issues/5943>
>
> \> I tried downgrading to v2.1.0.2\_beta but it was still trying to update metadat…a in everyone of my files so I went with the harder option and downgraded back to 2.0.8.1\_beta\_2024-05-07 that I was on originally. Now everything is working great again and I can backup my 1.4 TB in around 5 minutes.
> \> 
> \> \<img width="652" alt="Image" src="https://github.com/user-attachments/assets/5847f3e2-ce36-4539-823f-6890f2a2cfe9" /\> 
> 
> \_Originally posted by @klieber in \[#5924\](https://github.com/duplicati/duplicati/issues/5924#issuecomment-2629166635)\_

---

<div class="post-metadata">

**Author:** ![srudin](https://forum.duplicati.com/letter_avatar_proxy/v4/letter/s/8c91f0/32.png) [@srudin](https://forum.duplicati.com/u/srudin)\
**Post date:** [February 28, 2025, 3:11am UTC](https://forum.duplicati.com/t/a-task-was-cancelled-and-other-errors/20061/22 "2025-02-28T03:11:33Z")

</div>

@kenkendk Well yes, I did a tiny change and that fixed it.

---

<div class="post-metadata">

**Author:** ![kenkendk](https://forum.duplicati.com/user_avatar/forum.duplicati.com/kenkendk/32/5305_2.png) [@kenkendk](https://forum.duplicati.com/u/kenkendk)\
**Post date:** [February 28, 2025, 2:54pm UTC](https://forum.duplicati.com/t/a-task-was-cancelled-and-other-errors/20061/23 "2025-02-28T14:54:11Z")

</div>

> [@srudin](#):
>
> I did a tiny change and that fixed it.

What was the change? 😃

---

<div class="post-metadata">

**Author:** ![Ned1](https://forum.duplicati.com/letter_avatar_proxy/v4/letter/n/9de053/32.png) [@Ned1](https://forum.duplicati.com/u/Ned1)\
**Post date:** [February 28, 2025, 5:14pm UTC](https://forum.duplicati.com/t/a-task-was-cancelled-and-other-errors/20061/24 "2025-02-28T17:14:18Z")

</div>

After the read-write-timeout=5min worked on a small backup, I tried something larger. This time with 30,000+ files of widely varying sizes in 7 directory structures. It is now failing again. I have increased the timeout value to 2 hours, and it still fails. So I am stuck with my main NAS backup non-functional. Again, the error is very generic, so I don’t have much more information. Any ideas?

---

<div class="post-metadata">

**Author:** ![Ned1](https://forum.duplicati.com/letter_avatar_proxy/v4/letter/n/9de053/32.png) [@Ned1](https://forum.duplicati.com/u/Ned1)\
**Post date:** [February 28, 2025, 5:20pm UTC](https://forum.duplicati.com/t/a-task-was-cancelled-and-other-errors/20061/25 "2025-02-28T17:20:43Z")

</div>

Additional info. Duplicati is 2.1.0.3-beta-2025-01-22, running on EndeavourOS (Arch) desktop. Source directories are NFS mounts, destination is WEBDAV server. Only message is “A task was cancelled”.

---

<div class="post-metadata">

**Author:** ![srudin](https://forum.duplicati.com/letter_avatar_proxy/v4/letter/s/8c91f0/32.png) [@srudin](https://forum.duplicati.com/u/srudin)\
**Post date:** [March 1, 2025, 7:38am UTC](https://forum.duplicati.com/t/a-task-was-cancelled-and-other-errors/20061/26 "2025-03-01T07:38:54Z")

</div>

@kenkendk Yeah, as @ts678 said: ANY change will do. I just added a small text file that I removed again after the backup was finished.

---

<div class="post-metadata">

**Author:** ![srudin](https://forum.duplicati.com/letter_avatar_proxy/v4/letter/s/8c91f0/32.png) [@srudin](https://forum.duplicati.com/u/srudin)\
**Post date:** [March 1, 2025, 7:46am UTC](https://forum.duplicati.com/t/a-task-was-cancelled-and-other-errors/20061/27 "2025-03-01T07:46:33Z")

</div>

@Ned1 I have a very similar configuration (NAS with Duplicati on Docker, destination WebDAV) and I had very similar error messages after upgrading to 2.1.0.3-beta-2025-01-22 (Task cancelled…). At the moment everything works fine again - however, I cannot say exactly what solved it…

In short here’s the 2 things I did:

1. Upgrade to version 2.1.0.4\_stable\_2025-01-31
2. Deleted the local databases and repaired (resynced) them

To be a bit more precise I downgraded to 2.0.8.1\_beta\_2024-05-07 and deleted all local databases; then I repaired (resynced) each backup job and run 1 or 2 backups to make sure everything worked as expected; then I upgraded to 2.1.0.4\_stable\_2025-01-31 and everything was fine.  
Again, I cannot say what exactly did the trick but my large jobs (\>2TB with 100k+ files running for 2 years already) are working just fine now.

---

<div class="post-metadata">

**Author:** ![Ned1](https://forum.duplicati.com/letter_avatar_proxy/v4/letter/n/9de053/32.png) [@Ned1](https://forum.duplicati.com/u/Ned1)\
**Post date:** [March 1, 2025, 8:37pm UTC](https://forum.duplicati.com/t/a-task-was-cancelled-and-other-errors/20061/28 "2025-03-01T20:37:51Z")

</div>

It’s working for me now! I deleted the remote destination data and deleted the local database. Then I re-installed EndeavourOS (Arch) just to make sure I was starting from a “clean” system. I installed Duplicati 2.1.0.4\_stable\_2025-01-31 from the AUR. Both my /home backup of about 1,500 files, as well as my NAS backup of about 15,000 files now work flawlessly! Certainly was a crazy error with very little clue from the error message as to the cause. I’m just really glad it is working now because I was not looking forward to implementing a replacement…

---

<div class="post-metadata">

**Author:** ![srudin](https://forum.duplicati.com/letter_avatar_proxy/v4/letter/s/8c91f0/32.png) [@srudin](https://forum.duplicati.com/u/srudin)\
**Post date:** [March 2, 2025, 6:20am UTC](https://forum.duplicati.com/t/a-task-was-cancelled-and-other-errors/20061/29 "2025-03-02T06:20:49Z")

</div>

Your experience shows - just like mine - that directly updating a large, existing job to 2.1.0.3 seems to cause some problems and applying the 2 points mentioned above (using 2.1.0.4 instead and/or recreating the db) fixes it. We will probably never know why but at least we have a workaround…

---

<div class="post-metadata">

**Author:** ![kenkendk](https://forum.duplicati.com/user_avatar/forum.duplicati.com/kenkendk/32/5305_2.png) [@kenkendk](https://forum.duplicati.com/u/kenkendk)\
**Post date:** [March 5, 2025, 3:40pm UTC](https://forum.duplicati.com/t/a-task-was-cancelled-and-other-errors/20061/30 "2025-03-05T15:40:44Z")

</div>

> [@srudin](#):
>
> Yeah, as @ts678 said: ANY change will do. I just added a small text file that I removed again after the backup was finished.

Great, thanks for the feedback, then I think my fix will solve it for the next release.

> [@Ned1](#):
>
> After the read-write-timeout=5min worked on a small backup, I tried something larger. This time with 30,000+ files of widely varying sizes in 7 directory structures. It is now failing again. I have increased the timeout value to 2 hours, and it still fails. So I am stuck with my main NAS backup non-functional. Again, the error is very generic, so I don’t have much more information. Any ideas?

You can usually get some additional information if you go to “About”, “Show log”. This should show the full stack trace of the error, and hopefully this reveals a bit more about the generic error message.

Also, you can set `--read-write-timeout=0` to fully disable it, if you suspect it is causing problems (event with 2 hours).

> [@Ned1](#):
>
> It’s working for me now!

Sounds like a hard reset, but good to hear that you got it working.

[Previous page](https://forum.duplicati.com/t/a-task-was-cancelled-and-other-errors/20061.md?page=1)
