Maintenance task not running because of time skew but both kopia's docker container clock and the host's one are synced

Hi
It looks like this:

root@ddocker:~# docker exec -it kopia date
Tue Jun 16 17:43:51 CEST 2026
root@ddocker:~# date
Tue Jun 16 05:43:53 PM CEST 2026
root@ddocker:~# 

But the maintenance task won’t run:

root@ddocker:~# docker exec -it kopia kopia maintenance run
error checking for clock skew: clock skew detected: local clock is out of sync with repository timestamp by more than allowed 5m0s (local: 2026-06-16 17:34:28.558403524 +0200 CEST repository: 2026-06-16 17:41:47.296945366 +0200 CEST skew: 7m18.738541842s). Refusing to run maintenance.

I’ve already restarted docker and kopia’s container to no avail.
Any help will be much appreciated - thanks in advance!

Anyone?

It’s now like this since at least 10 days and I fear issues can appear!

OK - I fixed it.

It was one of the two NAS where I connect via NFS that had the time out-of-sync. I just looked at one at the beginning.