Bisync needs --resync even with --resilient

What is the problem you are having with rclone?

I’m experiencing critical failures while using bisync. The error itself is a momentarily 401 unauthorized response from an OpenCloud webdav host, but while it claims to be retryable without --resync, it never creates listings and requires --resync on the next run. So far, I didn't have any without errors.

Additional information: OpenCloud is a owncloud infinite scale derivative and the syncronized folders are 230GB+ files from a local server, already previously copied via rclone copy.

Run the command 'rclone version' and share the full output of the command.

rclone v1.72.1
- os/version: almalinux 9.7 (64 bit)
- os/kernel: 5.14.0-611.45.1.el9_7.x86_64 (x86_64)
- os/type: linux
- os/arch: amd64
- go/version: go1.25.3 (Red Hat 1.25.3-1.el9_7)
- go/linking: dynamic
- go/tags: none

Which cloud storage system are you using? (eg Google Drive)

Webdav, specifically owncloud infinite scale, and already tried the other option provider as well.

The command you were trying to run (eg rclone copy /tmp remote:tmp)

rclone bisync win7:f: opencloud_webdav: --skip-links --resilient --recover --conflict-resolve newer --check-access --max-delete 50 --exclude "/rootshare/**" --exclude "/.space/**" --tpslimit 200 --tpslimit-burst 250 --checkers 16 --transfers 8 --bwlimit 9Mi --create-empty-src-dirs --compare size,modtime,checksum --retries 10 --retries-sleep 10s --low-level-retries 20 --contimeout 60s --timeout 300s --expect-continue-timeout 10s --log-level DEBUG --resync --resync-mode newer

Please run 'rclone config redacted' and share the full output. If you get command not found, please make sure to update rclone.

[opencloud_webdav]
type = webdav
url = **REDACTED**
vendor = infinitescale
user = XXX
pass = XXX

[win7]
type = sftp
host = XXX
user = XXX
port = 5002
key_file = **REDACTED**
shell_type = cmd
md5sum_command = none
sha1sum_command = none

A log from the command that you were trying to run with the -vv flag

Since the log is too big (123MB), and may contain sensitive information, I'm going to share the errors only and summary:

762919 2026/04/12 18:12:49 DEBUG : &{fs1:0xc0006a2a88 fs2:0xc000188160 abort:false critical:false retryable:false basePath:**REDACTED**/.cache/rclone/bisync/win7_f_..opencloud_webdav_ workDir:**REDACTED**/.cache/rclone/bisync listing1:**REDACTED**/.cache/rclone/bisync/win7_f_..opencloud_webdav_.path1.lst listing2:**REDACTED**/.cache/rclone/bisync/win7_f_..opencloud_webdav_.path2.lst newListing1:**REDACTED**/.cache/rclone/bisync/win7_f_..opencloud_webdav_.path1.lst-new newListing2:**REDACTED**/.cache/rclone/bisync/win7_f_..opencloud_webdav_.path2.lst-new aliases:map[] opt:0xc0001dfd40 octx:{emptyCtx:{}} fctx:{emptyCtx:{}} InGracefulShutdown:false CleanupCompleted:false SyncCI:<nil> CancelSync:<nil> DebugName: lockFile:/home/mfeng/.cache/rclone/bisync/win7_f_..opencloud_webdav_.lck renames:map[] resyncIs1to2:false march:{ls1:0xc000599800 ls2:0xc000599860 err:0xc001d0d240 firstErr:<nil> marchAliasLock:{_:{} mu:{state:0 sema:0}} marchLsLock:{_:{} mu:{state:0 sema:0}} marchErrLock:{_:{} mu:{state:0 sema:0}} marchCtx:0xc000599470} check:{hashType:0 fsrc:<nil> fdst:<nil> fcrypt:<nil>} queueOpt:{logger:{LoggerFn:<nil> Combined:0xc000598c30 MissingOnSrc:0xc000598cf0 MissingOnDst:0xc000598d20 Match:0xc000598de0 Differ:0xc000598e10 Error:0xc000598ed0 DestAfter:0xc000598f00 JSON:0xc000598fc0 DeleteModeOff:false ListFormat:{separator: dirSlash:false absolute:false output:[] csv:<nil> buf:{buf:[] off:0 lastRead:0}} JSONOpt:{Recurse:false NoModTime:false NoMimeType:false ShowEncrypted:false ShowOrigIDs:false ShowHash:false DirsOnly:false FilesOnly:false Metadata:false HashTypes:[]} LJ:<nil> Format: TimeFormat: Separator: DirSlash:false HashType:0 FilesOnly:false DirsOnly:false Csv:false Absolute:false} lock:{_:{} mu:{state:0 sema:0}} once:{_:{} done:{_:{} v:0} m:{_:{} mu:{state:0 sema:0}}} ignoreListingChecksum:false ignoreListingModtime:false hashTypes:map[] queueCI:<nil>} downloadHashOpt:{downloadHash:false downloadHashWarn:{_:{} done:{_:{} v:0} m:{_:{} mu:{state:0 sema:0}}} firstDownloadHash:{_:{} done:{_:{} v:0} m:{_:{} mu:{state:0 sema:0}}}} lockFileOpt:{stopRenewal:0x555a0a2fec60 data:{Session:**REDACTED**/.cache/rclone/bisync/win7_f_..opencloud_webdav_ PID:734737 TimeRenewed:{wall:14010449817349529347 ext:2967619283 loc:0x555a0cf0da20} TimeExpires:{wall:445521757 ext:70218822403 loc:0x555a0cf0da20}}}}: march completed. err: march failed with 3 error(s): first error: couldn't list files: 401 Unauthorized
762920 2026/04/12 18:12:49 ERROR : march: error during findCheckFiles: march failed with 3 error(s): first error: couldn't list files: 401 Unauthorized                                       
762921 2026/04/12 18:12:49 DEBUG : Lock file removed: **REDACTED**/.cache/rclone/bisync/win7_f_..opencloud_webdav_.lck                                                                         
762922 2026/04/12 18:12:49 ERROR :  [31mBisync critical error: march failed with 3 error(s): first error: couldn't list files: 401 Unauthorized [0m                                           
762923 2026/04/12 18:12:49 ERROR :  [33mBisync aborted. Error is retryable without --resync due to --resilient mode. [0m                                                                      
762924 2026/04/12 18:12:49 INFO  :                                                                                                                                                            
762925 Transferred:              0 B / 0 B, -, 0 B/s, ETA -                                                                                                                                   
762926 Errors:                 4 (fatal error encountered)                                                                                                                                    
762927 Checks:             58359 / 58359, 100%, Listed 364909                                                                                                                                 
762928 Elapsed time:      46m5.9s                                                                                                                                                             
762929                                                                                                                                                                                        
762930 2026/04/12 18:12:49 DEBUG : 151 go routines active                                                                                                                                     
762931 2026/04/12 18:12:49 DEBUG : sftp://**REDACTED** Closing 16 unused connections                                                                                      
762932 2026/04/12 18:12:56 NOTICE: Failed to bisync with 4 errors: last error was: bisync aborted

welcome to the forum,

please run rclone selfupdate and test again

Ok! I updated and it's running again now. In about 50 minutes I'll check.

Same error:

2026/04/12 20:39:42 DEBUG : &{fs1:0xc00098c708 fs2:0xc00017a580 abort:false critical:false retryable:false basePath:**REDACTED**/.cache/rclone/bisync/win7_f_..opencloud_webdav_ workDir:**REDACTED**/.cache/rclone/bisync listing1:**REDACTED**/.cache/rclone/bisync/win7_f_..opencloud_webdav_.path1.lst listing2:**REDACTED**/.cache/rclone/bisync/win7_f_..opencloud_webdav_.path2.lst newListing1:**REDACTED**/.cache/rclone/bisync/win7_f_..opencloud_webdav_.path1.lst-new newListing2:**REDACTED**/.cache/rclone/bisync/win7_f_..opencloud_webdav_.path2.lst-new aliases:map[] opt:0xc00077c360 octx:{emptyCtx:{}} fctx:{emptyCtx:{}} InGracefulShutdown:false CleanupCompleted:false SyncCI:<nil> CancelSync:<nil> DebugName: lockFile:**REDACTED**/.cache/rclone/bisync/win7_f_..opencloud_webdav_.lck renames:map[] resyncIs1to2:false march:{ls1:0xc0001e4e40 ls2:0xc0001e4f30 err:0xc001cf2fc0 firstErr:<nil> marchAliasLock:{_:{} mu:{state:0 sema:0}} marchLsLock:{_:{} mu:{state:0 sema:0}} marchErrLock:{_:{} mu:{state:0 sema:0}} marchCtx:0xc0001e4c60} check:{hashType:0 fsrc:<nil> fdst:<nil> fcrypt:<nil>} queueOpt:{logger:{LoggerFn:<nil> Combined:0xc00086f170 MissingOnSrc:0xc00086f1a0 MissingOnDst:0xc00086f1d0 Match:0xc00086f200 Differ:0xc00086f230 Error:0xc00086f260 DestAfter:0xc00086f290 JSON:0xc00086f2c0 DeleteModeOff:false ListFormat:{separator: dirSlash:false absolute:false output:[] csv:<nil> buf:{buf:[] off:0 lastRead:0}} JSONOpt:{Recurse:false NoModTime:false NoMimeType:false ShowEncrypted:false ShowOrigIDs:false ShowHash:false DirsOnly:false FilesOnly:false Metadata:false HashTypes:[]} LJ:<nil> Format: TimeFormat: Separator: DirSlash:false HashType:0 FilesOnly:false DirsOnly:false Csv:false Absolute:false} lock:{_:{} mu:{state:0 sema:0}} once:{_:{} done:{_:{} v:0} m:{_:{} mu:{state:0 sema:0}}} ignoreListingChecksum:false ignoreListingModtime:false hashTypes:map[] queueCI:<nil>} downloadHashOpt:{downloadHash:false downloadHashWarn:{_:{} done:{_:{} v:0} m:{_:{} mu:{state:0 sema:0}}} firstDownloadHash:{_:{} done:{_:{} v:0} m:{_:{} mu:{state:0 sema:0}}}} lockFileOpt:{stopRenewal:0x227fba0 data:{Session:**REDACTED**/.cache/rclone/bisync/win7_f_..opencloud_webdav_ PID:757915 TimeRenewed:{wall:14010459176284945173 ext:2787362831 loc:0x4cc2ce0} TimeExpires:{wall:647199599 ext:70218831119 loc:0x4cc2ce0}}}}: march completed. err: march failed with 7 error(s): first error: couldn't list files: 401 Unauthorized
2026/04/12 20:39:42 ERROR : march: error during findCheckFiles: march failed with 7 error(s): first error: couldn't list files: 401 Unauthorized
2026/04/12 20:39:42 DEBUG : Lock file removed: **REDACTED**/.cache/rclone/bisync/win7_f_..opencloud_webdav_.lck
2026/04/12 20:39:42 ERROR : Bisync critical error: march failed with 7 error(s): first error: couldn't list files: 401 Unauthorized
2026/04/12 20:39:42 ERROR : Bisync aborted. Error is retryable without --resync due to --resilient mode.
2026/04/12 20:39:42 INFO  : 
Transferred:   	          0 B / 0 B, -, 0 B/s, ETA -
Errors:                 8 (fatal error encountered)
Checks:             58470 / 58470, 100%, Listed 366029
Elapsed time:     47m43.2s

2026/04/12 20:39:42 DEBUG : 152 go routines active
2026/04/12 20:39:42 DEBUG : sftp://**REDACTED** Closing 16 unused connections
2026/04/12 20:39:50 NOTICE: Failed to bisync with 8 errors: last error was: bisync aborted

Looks like something specific to the webdav backend. Have you tried --webdav-auth-redirect ?

If you are getting an error like "401 Unauthorized" when rclone is attempting to read files from the webdav server then you can try this option.

Your issue is that the --resync run itself is failing. You need to have one successful --resync run before you can run bisync without --resync. --resilient and --recover have no effect during a --resync run.

Sure, I think I already tried this option before, but since it didn't seem to work I removed it. Here is the log for the latest run:

2026/04/25 00:27:42 DEBUG : rclone: Version "v1.73.4" starting with parameters ["rclone" "bisync" "win7:f:" "opencloud_webdav:" "--skip-links" "--resilient" "--recover" "--conflict-resolve" "newer" "--check-access" "--max-delete" "50" "--exclude" "/rootshare/**" "--exclude" "/.space/**" "--tpslimit" "200" "--tpslimit-burst" "250" "--checkers" "16" "--transfers" "8" "--bwlimit" "9Mi" "--create-empty-src-dirs" "--compare" "size,modtime,checksum" "--retries" "10" "--retries-sleep" "10s" "--low-level-retries" "20" "--contimeout" "60s" "--timeout" "300s" "--expect-continue-timeout" "10s" "--log-level" "DEBUG" "--webdav-auth-redirect"]
[...]
2026/04/25 01:10:47 DEBUG : &{fs1:0xc0009be008 fs2:0xc000a92000 abort:false critical:false retryable:false basePath:{REDACTED}/.cache/rclone/bisync/win7_f_..opencloud_webdav_ workDir:{REDACTED}/.cache/rclone/bisync listing1:{REDACTED}/.cache/rclone/bisync/win7_f_..opencloud_webdav_.path1.lst listing2:{REDACTED}/.cache/rclone/bisync/win7_f_..opencloud_webdav_.path2.lst newListing1:{REDACTED}/.cache/rclone/bisync/win7_f_..opencloud_webdav_.path1.lst-new newListing2:{REDACTED}/.cache/rclone/bisync/win7_f_..opencloud_webdav_.path2.lst-new aliases:map[] opt:0xc000449e60 octx:{emptyCtx:{}} fctx:{emptyCtx:{}} InGracefulShutdown:false CleanupCompleted:false SyncCI:<nil> CancelSync:<nil> DebugName: lockFile:{REDACTED}/.cache/rclone/bisync/win7_f_..opencloud_webdav_.lck renames:map[] resyncIs1to2:false march:{ls1:0xc000029440 ls2:0xc000029530 err:0xc001696680 firstErr:<nil> marchAliasLock:{_:{} mu:{state:0 sema:0}} marchLsLock:{_:{} mu:{state:0 sema:0}} marchErrLock:{_:{} mu:{state:0 sema:0}} marchCtx:0xc000029140} check:{hashType:0 fsrc:<nil> fdst:<nil> fcrypt:<nil>} queueOpt:{logger:{LoggerFn:<nil> Combined:0xc000028a80 MissingOnSrc:0xc000028ab0 MissingOnDst:0xc000028b70 Match:0xc000028ba0 Differ:0xc000028c60 Error:0xc000028c90 DestAfter:0xc000028d50 JSON:0xc000028d80 DeleteModeOff:false ListFormat:{separator: dirSlash:false absolute:false output:[] csv:<nil> buf:{buf:[] off:0 lastRead:0}} JSONOpt:{Recurse:false NoModTime:false NoMimeType:false ShowEncrypted:false ShowOrigIDs:false ShowHash:false DirsOnly:false FilesOnly:false Metadata:false HashTypes:[]} LJ:<nil> Format: TimeFormat: Separator: DirSlash:false HashType:0 FilesOnly:false DirsOnly:false Csv:false Absolute:false} lock:{_:{} mu:{state:0 sema:0}} once:{_:{} done:{_:{} v:0} m:{_:{} mu:{state:0 sema:0}}} ignoreListingChecksum:false ignoreListingModtime:false hashTypes:map[] queueCI:<nil>} downloadHashOpt:{downloadHash:false downloadHashWarn:{_:{} done:{_:{} v:0} m:{_:{} mu:{state:0 sema:0}}} firstDownloadHash:{_:{} done:{_:{} v:0} m:{_:{} mu:{state:0 sema:0}}}} lockFileOpt:{stopRenewal:0x227fba0 data:{Session:{REDACTED}/.cache/rclone/bisync/win7_f_..opencloud_webdav_ PID:3533491 TimeRenewed:{wall:14011590200918408991 ext:3124962987 loc:0x4cc2ce0} TimeExpires:{wall:404094832 ext:70219884468 loc:0x4cc2ce0}}}}: march completed. err: march failed with 2 error(s): first error: couldn't list files: 401 Unauthorized
2026/04/25 01:10:47 ERROR : march: error during findCheckFiles: march failed with 2 error(s): first error: couldn't list files: 401 Unauthorized
2026/04/25 01:10:47 DEBUG : Lock file removed: {REDACTED}/.cache/rclone/bisync/win7_f_..opencloud_webdav_.lck
2026/04/25 01:10:47 ERROR : Bisync critical error: march failed with 2 error(s): first error: couldn't list files: 401 Unauthorized
2026/04/25 01:10:47 ERROR : Bisync aborted. Error is retryable without --resync due to --resilient mode.
2026/04/25 01:10:47 INFO  : 
Transferred:   	          0 B / 0 B, -, 0 B/s, ETA -
Errors:                 3 (fatal error encountered)
Checks:             57854 / 57854, 100%, Listed 363311
Elapsed time:     42m59.3s

2026/04/25 01:10:47 DEBUG : 151 go routines active
2026/04/25 01:10:47 DEBUG : sftp://{REDACTED}/f:: Closing 16 unused connections
2026/04/25 01:10:55 NOTICE: Failed to bisync with 3 errors: last error was: bisync aborted

I still have the same errors, here is one for instance:

2026/04/25 00:30:55 DEBUG : _obras/CONDOMÍNIOS/_finalizados/MF_012019_RESIDENCIAL LAS VEGAS/03-AO/TÉCNICO/DIÁRIO DE OBRA/Restauração Fachada: path1 only
2026/04/25 00:30:55 DEBUG : _obras/CONDOMÍNIOS/_finalizados/MF_012019_RESIDENCIAL LAS VEGAS/03-AO/TÉCNICO/DIÁRIO DE OBRA/Restauração Fachada: is Dir
2026/04/25 00:30:55 DEBUG : _obras/CONDOMÍNIOS/_finalizados/MF_012019_RESIDENCIAL LAS VEGAS/03-AO/TÉCNICO/DIÁRIO DE OBRA/Retirada de pastilhas: path1 only
2026/04/25 00:30:55 DEBUG : _obras/CONDOMÍNIOS/_finalizados/MF_012019_RESIDENCIAL LAS VEGAS/03-AO/TÉCNICO/DIÁRIO DE OBRA/Retirada de pastilhas: is Dir
2026/04/25 00:30:55 ERROR : _obras/CONDOMÍNIOS/_finalizados/MF_012019_RESIDENCIAL LAS VEGAS/03-AO/TÉCNICO/DIÁRIO DE OBRA: error reading destination directory: couldn't list files: 401 Unauthorized

As a precaution, here is a lsd command on both paths:

rclone lsd win7:"f:_obras/CONDOMÍNIOS/_finalizados/MF_012019_RESIDENCIAL LAS VEGAS/03-AO/TÉCNICO/DIÁRIO DE OBRA"
          -1 2021-03-29 07:32:54        -1 Restauração Fachada
          -1 2021-03-29 07:53:07        -1 Retirada de pastilhas

rclone lsd opencloud_webdav:"/_obras/CONDOMÍNIOS/_finalizados/MF_012019_RESIDENCIAL LAS VEGAS/03-AO/TÉCNICO/DIÁRIO DE OBRA"
          -1 2026-03-28 22:26:14        -1 Restauração Fachada
          -1 2026-03-28 22:24:55        -1 Retirada de pastilhas

While they are readable here, they may sometimes fail when running bisync, probably due to the OpenCloud server.

Got it. Though this message is a bit misleading. Shouldn't it be suppressed when running --resync for the first time?

2026/04/25 01:10:47 ERROR : Bisync aborted. Error is retryable without --resync due to --resilient mode.

I see what you mean. We should probably do that. Would you like to submit a PR?

Ok, sorry that --webdav-auth-redirect didn't fix it. My best guess would be that OpenCloud is not fully supported at the moment. I note that there is an open PR to add it here:

You might consider building that branch and seeing if it works better for you. (I am not the author and cannot vouch for its security or effectiveness.) If you still encounter the error, you might consider reporting it on that PR thread so that the author can address it. Presumably they will be more familiar with OpenCloud and have a better idea of what's going on.

1 Like

I'm not familiar at all with golang, but I could give it a shot. What are the conditions required to identify the first --resync run? Only asserting the listing files and their contents?

Thank you, I wasn't aware there was a PR for OpenCloud. I assume it's safe security wise, since it's made by the vendor themselves. Though it seems to be failing integration tests for now. It might be best to test after they iron out the issues.

I think it should be as simple as adding an && !b.opt.Resync to this line:

Here's the contributing guide:

Alright, I'm going to make a PR when a have some time. Thanks!

1 Like