No update of modified files on target vs. source

hello

What is the problem you are having with rclone?

I used rclone for several years to synchronize several directories from my computer to a nextcloud server; it seemed to work well since I then synchronized these directories from nextcloud to my android smartphone.

I had a technical problem that forced me to reinstall ubuntu from version 24.10 to 25.04.

I thought it worked because I was doing a simple check by adding then deleting a file from the source. This was well reflected on the nextcloud.

Unfortunately, I found that a file modified on the source was not updated on the target.

I switched to command mode instead of the command in the

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

rclone v1.70.2. It seems to me that on the old ubuntu it was ~1.6!?

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

"Zaclys" remote with options:
- type: webdav
- url: https://acloud8.zaclys.com/remote.php/webdav/
- vendor: rclone
- user: 17090
- pass: *** ENCRYPTED ***

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

Paste command here

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

$ rclone config file
Configuration file is stored at:
/home/herve/.config/rclone/rclone.conf

$ rclone sync --update --progress  "/media/herve/donnees/1, Mes donnees synchronisées/Export de l'ordi (mdp, secu)/" Zaclys:"Mes donnees synchronisées/Export ordi (mdp, secu)"
Transferred:      741.262 KiB / 741.262 KiB, 100%, 247.086 KiB/s, ETA 0s
Checks:                34 / 34, 100%, Listed 76
Transferred:            4 / 4, 100%
Elapsed time:         3.7s
herve@xx:~$ rclone sync --update --progress  "/media/herve/donnees/1, Mes donnees synchronisées/Export de l'ordi (mdp, secu)/" Zaclys:"Mes donnees synchronisées/Export ordi (mdp, secu)"
Transferred:      741.262 KiB / 741.262 KiB, 100%, 247.087 KiB/s, ETA 0s
Checks:                34 / 34, 100%, Listed 76
Transferred:            4 / 4, 100%
Elapsed time:         3.6s

????

If I delete the non-updated files on the target, it works.

 /usr/bin/rclone sync  "/media/herve/donnees/1, Mes donnees synchronisées/Export de l'ordi (mdp, secu)/" Zaclys:"Mes donnees synchronisées/Export ordi (mdp, secu)" --update --progress
Transferred:      769.961 KiB / 769.961 KiB, 100%, 153.991 KiB/s, ETA 0s
Checks:                34 / 34, 100%, Listed 77
Deleted:                6 (files), 1 (dirs), 769.961 KiB (freed)
Transferred:            6 / 6, 100%
Elapsed time:         7.6s

I've been looking for a solution for days on a French forum. I don't speak English very well and I didn't understand all your instructions; thank you for your indulgence.

Regards

you need to figure out why the file is not updated

  1. pick one single file
  2. run rclone copy --dry-run on that one single file
  3. post the full debug log.
$ rclone copy  "/media/herve/donnees/1, Mes donnees synchronisées/Export de l'ordi (mdp, secu)/Mdp (Com).kdbx" Zaclys:"Mes donnees synchronisées/Export ordi (mdp, secu)/" --update --progress
2025/07/03 15:39:28 ERROR : Local file system at /media/herve/donnees/1, Mes donnees synchronisées/Export de l'ordi (mdp, secu)/Mdp (Com).kdbx: error reading source root directory: directory not found
2025/07/03 15:39:28 ERROR : Attempt 1/3 failed with 1 errors and: directory not found
2025/07/03 15:39:29 ERROR : Local file system at /media/herve/donnees/1, Mes donnees synchronisées/Export de l'ordi (mdp, secu)/Mdp (Com).kdbx: error reading source root directory: directory not found
2025/07/03 15:39:29 ERROR : Attempt 2/3 failed with 1 errors and: directory not found
2025/07/03 15:39:30 ERROR : Local file system at /media/herve/donnees/1, Mes donnees synchronisées/Export de l'ordi (mdp, secu)/Mdp (Com).kdbx: error reading source root directory: directory not found
2025/07/03 15:39:30 ERROR : Attempt 3/3 failed with 1 errors and: directory not found
Transferred:              0 B / 0 B, -, 0 B/s, ETA -
Errors:                 1 (retrying may help)
Checks:                 0 / 0, -, Listed 12
Elapsed time:         2.0s
2025/07/03 15:39:30 NOTICE: Failed to copy: directory not found

thank you for your prompt reply.
I've never made a copy on a single file but I have to put the target directory?
I haven't found the command to store the log in my local ubuntu directory either.

pick one single file that has the issue. just copy a single file, same as with any copy tool.
something like rclone copy /path/to/file.ext dst: --dry-run --log-level=DEBUG --log-file=~/rclone.log

Hi again

$ rclone copy  "/media/herve/donnees/1, Mes donnees synchronisées/Export de l'ordi (mdp, secu)/Mdp (Com).kdbx" Zaclys:"Mes donnees synchronisées/Export ordi (mdp, secu)/" --dry-run --log-level=DEBUG --log-file=/home/herve/Téléchargements/
2025/07/03 17:02:37 CRITICAL: Failed to open log file: open /home/herve/Téléchargements/: is a directory

I've tried several directories without success and now I'd like to put the log in my download directory
Can you tell me the right command?

1 Like

the log is a file, not a directory
--log-file=/home/herve/Téléchargements/rclone.log

Hello

ok, thanks

Log:
rclone.log (1.1 KB)

post the full debug log

re
I put a file in the parent directory
I do

~$ /usr/bin/rclone sync  "/media/herve/donnees/1, Mes donnees synchronisées/Export de l'ordi (mdp, secu)/" Zaclys:"Mes donnees synchronisées/Export ordi (mdp, secu)" --update --progress
Transferred:      698.864 KiB / 698.864 KiB, 100%, 232.953 KiB/s, ETA 0s
Checks:                35 / 35, 100%, Listed 78
Deleted:                1 (files), 0 (dirs), 0 B (freed)
Transferred:            4 / 4, 100%
Elapsed time:         4.2s

It is transferred :slight_smile:

I fill the file with content. The modified file is not transferred :frowning:

$ /usr/bin/rclone sync  "/media/herve/donnees/1, Mes donnees synchronisées/Export de l'ordi (mdp, secu)/" Zaclys:"Mes donnees synchronisées/Export ordi (mdp, secu)" --update --progress
Transferred:      698.870 KiB / 698.870 KiB, 100%, 232.957 KiB/s, ETA 0s
Checks:                35 / 35, 100%, Listed 78
Transferred:            4 / 4, 100%
Elapsed time:         3.4s

i am trying to help you but you have to work with me.
so far, what you have posted is not helpful to solve your issue.

please take some time, re-read my posts and post the required information.

pick one single file
run rclone copy --dry-run on that one single file
post the full debug log.
~$ rclone copy  "/media/herve/donnees/1, Mes donnees synchronisées/Export de l'ordi (mdp, secu)/Mdp (Com).kdbx" Zaclys:"Mes donnees synchronisées/Export ordi (mdp, secu)/0407-16h24.txt" --dry-run --log-file=/home/herve/Téléchargements/rclone.log

It seems to me that's what I did.
I've done it again, however, modifying the contents of the source file. It hasn't been copied to the target, which remains with the old version.
rclone.log (1.3 KB)

Hi again
ah maybe I forgot something?
but it's still strange because the local and remote directories do exist and I use them every day (as mentioned)!

$ rclone copy  "/media/herve/donnees/1, Mes donnees synchronisées/Export de l'ordi (mdp, secu)/0407-16h24.txt" Zaclys:"Mes donnees synchronisées/Export ordi (mdp, secu)/" --dry-run --log-level=DEBUG --log-file=/home/herve/Téléchargements/rclone.log

rclone.log (3.0 KB)

please, before running rclone, always delete the rclone.log file


now, re-run the last command, but remove --dry-run

Ah ok

$ rclone copy  "/media/herve/donnees/1, Mes donnees synchronisées/Export de l'ordi (mdp, secu)/0407-16h24.txt" Zaclys:"Mes donnees synchronisées/Export ordi (mdp, secu)/"  --log-level=DEBUG --log-file=/home/herve/Téléchargements/rclone.log

rclone.log (1.6 KB)

The new source file looks like it has overwritten the old target file.
Does this mean I now have to use copy rather than sync to synchronize local directories with these equivalents on the nextcloud?

correct.


  1. delete rclone.log
  2. modify the source file
  3. run rclone sync
  4. post the full debug log.
    note: paste the debug log into the forum as text like so
2025/07/04 22:04:08 DEBUG : rclone: Version "v1.70.2" starting with parameters ["rclone" "copy" "/media/herve/donnees/1, Mes donnees synchronisées/Export de l'ordi (mdp, secu)/0407-16h24.txt" "Zaclys:Mes donnees synchronisées/Export ordi (mdp, secu)/" "--log-level=DEBUG" "--log-file=/home/herve/Téléchargements/rclone.log"]
2025/07/04 22:04:08 DEBUG : Creating backend with remote "/media/herve/donnees/1, Mes donnees synchronisées/Export de l'ordi (mdp, secu)/0407-16h24.txt"
2025/07/04 22:04:08 DEBUG : Using config file from "/home/herve/.config/rclone/rclone.conf"
2025/07/04 22:04:08 DEBUG : fs cache: renaming child cache item "/media/herve/donnees/1, Mes donnees synchronisées/Export de l'ordi (mdp, secu)/0407-16h24.txt" to be canonical for parent "/media/herve/donnees/1, Mes donnees synchronisées/Export de l'ordi (mdp, secu)"
2025/07/04 22:04:08 DEBUG : Creating backend with remote "Zaclys:Mes donnees synchronisées/Export ordi (mdp, secu)/"
2025/07/04 22:04:08 DEBUG : found headers: 
2025/07/04 22:04:08 DEBUG : fs cache: renaming cache item "Zaclys:Mes donnees synchronisées/Export ordi (mdp, secu)/" to be canonical "Zaclys:Mes donnees synchronisées/Export ordi (mdp, secu)"
2025/07/04 22:04:09 DEBUG : 0407-16h24.txt: Sizes differ (src 12 vs dst 6)
2025/07/04 22:04:09 DEBUG : 0407-16h24.txt: Update will use the normal upload strategy (no chunks)
2025/07/04 22:04:11 INFO  : 0407-16h24.txt: Copied (replaced existing)
2025/07/04 22:04:11 INFO  : 
Transferred:   	         12 B / 12 B, 100%, 11 B/s, ETA 0s
Transferred:            1 / 1, 100%
Elapsed time:         1.9s

2025/07/04 22:04:11 DEBUG : 5 go routines active

Ok

2025/07/04 22:44:41 DEBUG : rclone: Version "v1.70.2" starting with parameters ["rclone" "sync" "/media/herve/donnees/1, Mes donnees synchronisées/Export de l'ordi (mdp, secu)/0407-16h24.txt" "Zaclys:Mes donnees synchronisées/Export ordi (mdp, secu)/" "--log-level=DEBUG" "--log-file=/home/herve/Téléchargements/rclone.log"]
2025/07/04 22:44:41 DEBUG : Creating backend with remote "/media/herve/donnees/1, Mes donnees synchronisées/Export de l'ordi (mdp, secu)/0407-16h24.txt"
2025/07/04 22:44:41 DEBUG : Using config file from "/home/herve/.config/rclone/rclone.conf"
2025/07/04 22:44:41 DEBUG : fs cache: renaming child cache item "/media/herve/donnees/1, Mes donnees synchronisées/Export de l'ordi (mdp, secu)/0407-16h24.txt" to be canonical for parent "/media/herve/donnees/1, Mes donnees synchronisées/Export de l'ordi (mdp, secu)"
2025/07/04 22:44:41 DEBUG : Creating backend with remote "Zaclys:Mes donnees synchronisées/Export ordi (mdp, secu)/"
2025/07/04 22:44:41 DEBUG : found headers: 
2025/07/04 22:44:41 DEBUG : fs cache: renaming cache item "Zaclys:Mes donnees synchronisées/Export ordi (mdp, secu)/" to be canonical "Zaclys:Mes donnees synchronisées/Export ordi (mdp, secu)"
2025/07/04 22:44:42 DEBUG : 0407-16h24.txt: Sizes differ (src 17 vs dst 12)
2025/07/04 22:44:42 DEBUG : 0407-16h24.txt: Update will use the normal upload strategy (no chunks)
2025/07/04 22:44:44 INFO  : 0407-16h24.txt: Copied (replaced existing)
2025/07/04 22:44:44 INFO  : 
Transferred:   	         17 B / 17 B, 100%, 16 B/s, ETA 0s
Transferred:            1 / 1, 100%
Elapsed time:         1.8s

2025/07/04 22:44:44 DEBUG : 5 go routines active
1 Like

that looks good

HI
Sorry but it doesn't work at least on some keepass files.
I haven't checked all the directories.
rclone.log (9.2 KB)


what is the name of the keepass file?

Hello
Uh, these are the first 3 .kdbx files in the 1st image, including Mdp (Atout).kdbx
Regards