Rclone lsd is working but rclone copy not

STOP and READ USE THIS TEMPLATE NO EXCEPTIONS - By not using this, you waste your time, our time and really hate puppies. Please remove these two lines and that will confirm you have read them.

What is the problem you are having with rclone?

I've copied the .rclone config file to another server and executed "rclone config reconnect ..".
rclone ls "onedrive-Matthias:/Pictures/Camera Roll/" --config /srv/piwigoStorage/matthias/.rclone.conf runs well on both server and "rclone copy .." run well on the old but don't work on the new server.

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

on the non working server:
rclone v1.70.1

  • os/version: debian 11.11 (64 bit)
  • os/kernel: 5.10.0-35-amd64 (x86_64)
  • os/type: linux
  • os/arch: amd64
  • go/version: go1.24.4
  • go/linking: static
  • go/tags: none

on the working server:
rclone v1.69.2

  • os/version: debian 11.11 (64 bit)
  • os/kernel: 5.10.0-35-amd64 (x86_64)
  • os/type: linux
  • os/arch: amd64
  • go/version: go1.24.2
  • go/linking: static
  • go/tags: none

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

Microsoft OneDrive

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

rclone copy -vv --transfers 50 --max-transfer 1b --cutoff-mode soft --no-traverse --config /srv/piwigoStorage/matthias/.rclone.conf 'one
drive-Matthias:/Pictures/Camera Roll/' /srv/piwigoStorage/matthias/cloudCache/oneDriveSync/M

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

[Steuer]
type = dropbox
token = XXX

[onedrive-Matthias]
type = onedrive
token = XXX
drive_id = XXX
drive_type = personal
### Double check the config for sensitive info before posting publicly

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

2025/07/07 07:30:15 DEBUG : rclone: Version "v1.70.1" starting with parameters ["rclone" "copy" "-vv" "--transfers" "50" "--max-transfer" "1b" "--cutoff-mode" "soft" "--no-traverse" "--config" "/srv/piwigoStorage/matthias/.rclone.conf" "onedrive-Matthias:/Pictures/Camera Roll/" "/srv/piwigoStorage/matthias/cloudCache/oneDriveSync/M"]
2025/07/07 07:30:15 DEBUG : Creating backend with remote "onedrive-Matthias:/Pictures/Camera Roll/"
2025/07/07 07:30:15 DEBUG : Using config file from "/srv/piwigoStorage/matthias/.rclone.conf"
2025/07/07 07:30:15 DEBUG : onedrive-Matthias: Loaded invalid token from config file - ignoring
2025/07/07 07:30:20 NOTICE: Time may be set wrong - time from "login.microsoftonline.com" is -17m33.544605451s different from this computer
2025/07/07 07:30:20 DEBUG : Saving config "token" in section "onedrive-Matthias" of the config file
2025/07/07 07:30:20 DEBUG : onedrive-Matthias: Saved new token in config file
2025/07/07 07:30:21 NOTICE: Time may be set wrong - time from "graph.microsoft.com" is -17m32.752756094s different from this computer
2025/07/07 07:30:21 DEBUG : fs cache: renaming cache item "onedrive-Matthias:/Pictures/Camera Roll/" to be canonical "onedrive-Matthias:Pictures/Camera Roll"
2025/07/07 07:30:21 DEBUG : Creating backend with remote "/srv/piwigoStorage/matthias/cloudCache/oneDriveSync/M"
2025/07/07 07:31:21 INFO  : 
Transferred:              0 B / 0 B, -, 0 B/s, ETA -
Checks:                 0 / 0, -, Listed 7569
Elapsed time:        59.9s

2025/07/07 07:32:21 INFO  : 
Transferred:              0 B / 0 B, -, 0 B/s, ETA -
Checks:                 0 / 0, -, Listed 7569
Elapsed time:      1m59.9s

:

Check your local server time.

Configure ntp or similar to keep it accurate all the time.

Thanks for this fast repsonse.
ntp installed and time is fine now. But the issues isn't solved:

rclone copy -vv --transfers 10 --max-transfer 1b --cutoff-mode soft --no-traverse --config /srv/piwigoStorage/matthias/.rclone.conf 'onedrive-Matthias:/Pictures/Camera Roll/' /srv/piwigoStorage/matthias/cloudCache/oneDriveSync/M
2025/07/07 18:37:46 DEBUG : rclone: Version "v1.70.1" starting with parameters ["rclone" "copy" "-vv" "--transfers" "10" "--max-transfer" "1b" "--cutoff-mode" "soft" "--no-traverse" "--config" "/srv/piwigoStorage/matthias/.rclone.conf" "onedrive-Matthias:/Pictures/Camera Roll/" "/srv/piwigoStorage/matthias/cloudCache/oneDriveSync/M"]
2025/07/07 18:37:46 DEBUG : Creating backend with remote "onedrive-Matthias:/Pictures/Camera Roll/"
2025/07/07 18:37:46 DEBUG : Using config file from "/srv/piwigoStorage/matthias/.rclone.conf"
2025/07/07 18:37:46 DEBUG : onedrive-Matthias: Loaded invalid token from config file - ignoring
2025/07/07 18:37:50 DEBUG : Saving config "token" in section "onedrive-Matthias" of the config file
2025/07/07 18:37:51 DEBUG : onedrive-Matthias: Saved new token in config file
2025/07/07 18:37:52 DEBUG : fs cache: renaming cache item "onedrive-Matthias:/Pictures/Camera Roll/" to be canonical "onedrive-Matthias:Pictures/Camera Roll"
2025/07/07 18:37:52 DEBUG : Creating backend with remote "/srv/piwigoStorage/matthias/cloudCache/oneDriveSync/M"
2025/07/07 18:38:52 INFO  : 
Transferred:              0 B / 0 B, -, 0 B/s, ETA -
Checks:                 0 / 0, -, Listed 7570
Elapsed time:       1m0.0s

2025/07/07 18:39:52 INFO  : 
Transferred:              0 B / 0 B, -, 0 B/s, ETA -
Checks:                 0 / 0, -, Listed 7570
Elapsed time:      1m59.9s

:

Maybe the "invalid token from config file - ignoring" is the issue? How could I solve that?

best regards
Matthias

Could you try the same with the latest rclone? v1.70.2? I think I have seen similar problems fixed in it.

Or even the latest beta.

It is working on the original server with rclone v1.69.2
but not on the server received a copy of the .rclone.conf with rclone v1.70.1.
I've updated to v1.70.2 but it is still not working:

2025/07/08 09:58:05 DEBUG : rclone: Version "v1.70.2" starting with parameters ["rclone" "copy" "-vv" "--transfers" "10" "--max-transfer" "1b" "--cutoff-mode" "soft" "--no-traverse" "--config" "/srv/piwigoStorage/matthias/.rclone.conf" "onedrive-Matthias:/Pictures/Camera Roll/" "/srv/piwigoStorage/matthias/cloudCache/oneDriveSync/M"]
2025/07/08 09:58:05 DEBUG : Creating backend with remote "onedrive-Matthias:/Pictures/Camera Roll/"
2025/07/08 09:58:05 DEBUG : Using config file from "/srv/piwigoStorage/matthias/.rclone.conf"
2025/07/08 09:58:05 DEBUG : onedrive-Matthias: Loaded invalid token from config file - ignoring
2025/07/08 09:58:06 DEBUG : Saving config "token" in section "onedrive-Matthias" of the config file
2025/07/08 09:58:06 DEBUG : onedrive-Matthias: Saved new token in config file
2025/07/08 09:58:07 DEBUG : fs cache: renaming cache item "onedrive-Matthias:/Pictures/Camera Roll/" to be canonical "onedrive-Matthias:Pictures/Camera Roll"
2025/07/08 09:58:07 DEBUG : Creating backend with remote "/srv/piwigoStorage/matthias/cloudCache/oneDriveSync/M"
2025/07/08 09:59:07 INFO  : 
Transferred:              0 B / 0 B, -, 0 B/s, ETA -
Elapsed time:        59.9s

2025/07/08 10:00:07 INFO  : 
Transferred:              0 B / 0 B, -, 0 B/s, ETA -
Checks:                 0 / 0, -, Listed 7570
Elapsed time:       2m0.0s
:

What is it for?

Also why do you use --no-traverse when it looks like your destination is local filesystem?

Can you simply run:

rclone copy -vv --no-traverse --config "/srv/piwigoStorage/matthias/.rclone.conf" "onedrive-Matthias:/Pictures/Camera Roll/" "/srv/piwigoStorage/matthias/cloudCache/oneDriveSync/M"

Does this command finish?

I think it is related to:

Please test with the latest beta. It should work now.

If you need it asap then you have to use beta or wait for rclone v1.71 or maybe v.1.70.3

Probably I misunderstood the meaning of this options but get the expected result in rclone v1.69.2.
--transfers 10 lead to start of 10 transfers in parallel. No additional transfer will be started because the max transfer size of 1 byte has been reached after this transfers.

Maybe rclone v1.70 verify this max transfer size before starting any transfer and will not transfer any file because all are bigger than 1 byte.

I will look for another solution for receiving limited amount of files by starting another thread in the forum.

I thank you very much for your support