Folder names with dots/periods giving errors

What is the problem you are having with rclone?

Folder names with dots/periods giving errors.

Tried to move a folder but it kept giving me errors. I thought it was my mount or something, but after trying a bunch of ways of figuring this out I landed on renaming the folder name to "abc" and then it moved ok. Renaming it back to the original folder name didn't work.
So then I played around some more and found out that its having periods in the folder name that was causing the issue.

The original folder name was "HUAWEI P30 Pro_2020-03-30 14.46.43". Below is the command just to rename the folder back to the original folder name.

What is your rclone version (output from rclone version)

rclone v1.50.1

  • os/arch: darwin/amd64

  • go version: go1.13.4

Which OS you are using and how many bits (eg Windows 7, 64 bit)

Mac OSX 10.14.6 (18G4032)

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

Onedrive crypt

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

rclone move "eonedrive:zzBackups/Device Backups/Android Backups/Huawei P30 Pro/abc" "eonedrive:zzBackups/Device Backups/Android Backups/Huawei P30 Pro/HUAWEI P30 Pro_2020-03-30 14.46.43" -P -vv

The rclone config contents with secrets removed.

[onedrive]
type = onedrive
token = <...>
drive_id = <...>
drive_type = business

[eonedrive]
type = crypt
remote = onedrive:enc
filename_encryption = standard
directory_name_encryption = true
password = <...>
password2 = <...>

A log from the command with the -vv flag


2020/05/24 23:00:22 DEBUG : rclone: Version "v1.50.1" starting with parameters ["rclone" "move" "eonedrive:zzBackups/Device Backups/Android Backups/Huawei P30 Pro/abc" "eonedrive:zzBackups/Device Backups/Android Backups/Huawei P30 Pro/HUAWEI P30 Pro_2020-03-30 14.46.43" "-P" "-vv"]
2020/05/24 23:00:22 DEBUG : Using config file from "/Users/navchandrani/.config/rclone/rclone.conf"
2020-05-24 23:00:29 DEBUG : Encrypted drive 'eonedrive:zzBackups/Device Backups/Android Backups/Huawei P30 Pro/HUAWEI P30 Pro_2020-03-30 14.46.43': Using server side directory move
2020-05-24 23:00:39 DEBUG : pacer: low level retry 1/10 (error UnknownError: )
2020-05-24 23:00:39 DEBUG : pacer: Rate limited, increasing sleep to 20ms
2020-05-24 23:00:49 DEBUG : pacer: Reducing sleep to 15ms
2020-05-24 23:00:49 ERROR : Encrypted drive 'eonedrive:zzBackups/Device Backups/Android Backups/Huawei P30 Pro/HUAWEI P30 Pro_2020-03-30 14.46.43': Server side directory move failed: invalidRequest: Invalid request
2020-05-24 23:00:49 ERROR : Attempt 1/3 failed with 2 errors and: invalidRequest: Invalid request
2020-05-24 23:00:49 DEBUG : Encrypted drive 'eonedrive:zzBackups/Device Backups/Android Backups/Huawei P30 Pro/HUAWEI P30 Pro_2020-03-30 14.46.43': Using server side directory move
2020-05-24 23:01:00 DEBUG : pacer: low level retry 1/10 (error UnknownError: )
2020-05-24 23:01:00 DEBUG : pacer: Rate limited, increasing sleep to 30ms
2020-05-24 23:01:10 DEBUG : pacer: low level retry 2/10 (error UnknownError: )
2020-05-24 23:01:10 DEBUG : pacer: Rate limited, increasing sleep to 60ms
2020-05-24 23:01:20 DEBUG : pacer: low level retry 3/10 (error UnknownError: )
2020-05-24 23:01:20 DEBUG : pacer: Rate limited, increasing sleep to 120ms
2020-05-24 23:01:30 DEBUG : pacer: Reducing sleep to 90ms
2020-05-24 23:01:30 ERROR : Encrypted drive 'eonedrive:zzBackups/Device Backups/Android Backups/Huawei P30 Pro/HUAWEI P30 Pro_2020-03-30 14.46.43': Server side directory move failed: invalidRequest: Invalid request
2020-05-24 23:01:30 ERROR : Attempt 2/3 failed with 2 errors and: invalidRequest: Invalid request
2020-05-24 23:01:30 DEBUG : Encrypted drive 'eonedrive:zzBackups/Device Backups/Android Backups/Huawei P30 Pro/HUAWEI P30 Pro_2020-03-30 14.46.43': Using server side directory move
2020-05-24 23:01:40 DEBUG : pacer: low level retry 1/10 (error UnknownError: )
2020-05-24 23:01:40 DEBUG : pacer: Rate limited, increasing sleep to 180ms
2020-05-24 23:01:50 DEBUG : pacer: low level retry 2/10 (error UnknownError: )
2020-05-24 23:01:50 DEBUG : pacer: Rate limited, increasing sleep to 360ms
2020-05-24 23:02:01 DEBUG : pacer: low level retry 3/10 (error UnknownError: )
2020-05-24 23:02:01 DEBUG : pacer: Rate limited, increasing sleep to 720ms
2020-05-24 23:02:10 DEBUG : pacer: Reducing sleep to 540ms
2020-05-24 23:02:10 ERROR : Encrypted drive 'eonedrive:zzBackups/Device Backups/Android Backups/Huawei P30 Pro/HUAWEI P30 Pro_2020-03-30 14.46.43': Server side directory move failed: invalidRequest: Invalid request
2020-05-24 23:02:10 ERROR : Attempt 3/3 failed with 2 errors and: invalidRequest: Invalid request
Transferred:   	         0 / 0 Bytes, -, 0 Bytes/s, ETA -
Errors:                 2 (retrying may help)
Checks:                 0 / 0, -
Transferred:            0 / 0, -
Elapsed time:          0s
2020/05/24 23:02:10 Failed to move with 2 errors: last error was: invalidRequest: Invalid request

hello and welcome to the forum,
you are using an old version of rclone, please update and test again.

https://rclone.org/downloads/#script-download-and-install

Thanks. I updated to 1.51.0 and still no go

rclone v1.51.0

- os/arch: darwin/amd64

- go version: go1.13.7

Same error message as above.

rclone move "eonedrive:zzBackups/Device Backups/Android Backups/Huawei P30 Pro/abc" "eonedrive:zzBackups/Device Backups/Android Backups/Huawei P30 Pro/HUAWEI P30 Pro_2020-03-30 14.46.43" -P -vv
2020/05/25 16:14:29 DEBUG : rclone: Version "v1.51.0" starting with parameters ["rclone" "move" "eonedrive:zzBackups/Device Backups/Android Backups/Huawei P30 Pro/abc" "eonedrive:zzBackups/Device Backups/Android Backups/Huawei P30 Pro/HUAWEI P30 Pro_2020-03-30 14.46.43" "-P" "-vv"]
2020/05/25 16:14:29 DEBUG : Using config file from "/Users/<...>/.config/rclone/rclone.conf"
2020-05-25 16:14:36 DEBUG : Encrypted drive 'eonedrive:zzBackups/Device Backups/Android Backups/Huawei P30 Pro/HUAWEI P30 Pro_2020-03-30 14.46.43': Using server side directory move
2020-05-25 16:14:46 DEBUG : pacer: low level retry 1/10 (error UnknownError: )
2020-05-25 16:14:46 DEBUG : pacer: Rate limited, increasing sleep to 20ms
2020-05-25 16:14:58 DEBUG : pacer: Reducing sleep to 15ms
2020-05-25 16:14:58 ERROR : Encrypted drive 'eonedrive:zzBackups/Device Backups/Android Backups/Huawei P30 Pro/HUAWEI P30 Pro_2020-03-30 14.46.43': Server side directory move failed: invalidRequest: Invalid request
2020-05-25 16:14:58 ERROR : Attempt 1/3 failed with 1 errors and: invalidRequest: Invalid request
2020-05-25 16:14:58 DEBUG : Encrypted drive 'eonedrive:zzBackups/Device Backups/Android Backups/Huawei P30 Pro/HUAWEI P30 Pro_2020-03-30 14.46.43': Using server side directory move
2020-05-25 16:15:08 DEBUG : pacer: low level retry 1/10 (error UnknownError: )
2020-05-25 16:15:08 DEBUG : pacer: Rate limited, increasing sleep to 30ms
2020-05-25 16:15:18 DEBUG : pacer: Reducing sleep to 22.5ms
2020-05-25 16:15:18 ERROR : Encrypted drive 'eonedrive:zzBackups/Device Backups/Android Backups/Huawei P30 Pro/HUAWEI P30 Pro_2020-03-30 14.46.43': Server side directory move failed: invalidRequest: Invalid request
2020-05-25 16:15:18 ERROR : Attempt 2/3 failed with 1 errors and: invalidRequest: Invalid request
2020-05-25 16:15:18 DEBUG : Encrypted drive 'eonedrive:zzBackups/Device Backups/Android Backups/Huawei P30 Pro/HUAWEI P30 Pro_2020-03-30 14.46.43': Using server side directory move
2020-05-25 16:15:29 DEBUG : pacer: low level retry 1/10 (error UnknownError: )
2020-05-25 16:15:29 DEBUG : pacer: Rate limited, increasing sleep to 45ms
2020-05-25 16:15:39 DEBUG : pacer: low level retry 2/10 (error UnknownError: )
2020-05-25 16:15:39 DEBUG : pacer: Rate limited, increasing sleep to 90ms
2020-05-25 16:15:49 DEBUG : pacer: Reducing sleep to 67.5ms
2020-05-25 16:15:49 ERROR : Encrypted drive 'eonedrive:zzBackups/Device Backups/Android Backups/Huawei P30 Pro/HUAWEI P30 Pro_2020-03-30 14.46.43': Server side directory move failed: invalidRequest: Invalid request
2020-05-25 16:15:49 ERROR : Attempt 3/3 failed with 1 errors and: invalidRequest: Invalid request
Transferred:   	         0 / 0 Bytes, -, 0 Bytes/s, ETA -
Errors:                 1 (retrying may help)
Elapsed time:         0.0s
2020/05/25 16:15:49 Failed to move: invalidRequest: Invalid request

Can you run your command with -vv --dump bodies --low-level-retries 1 --retries 1 and post the output?

This should show exactly what is failing

Still didn't work, of course. :frowning:
Lets see if its clear what's broken - saw some 404 warnings.

Log file - https://pastebin.com/DYYvX1Sk

In that log are some 504 gateway timeout errors

2020-05-27 18:06:02 DEBUG : HTTP RESPONSE (req 0xc000365c00)
2020-05-27 18:06:02 DEBUG : HTTP/1.1 504 Gateway Timeout

Here is the request for that exactly 60 seconds earlier

2020-05-27 18:05:52 DEBUG : HTTP REQUEST (req 0xc000365c00)
2020-05-27 18:05:52 DEBUG : PATCH /v1.0/drives/b!fIzenHljWEmMDnILhjwKDLI-7TmLXNlIgxAebO24CT0HvcFsR0RfSLdcL8XkTzJQ/items/01LUPNMFRXQGAYMPKO6VA3UVSDJABTYSL6 HTTP/1.1

That was a move request.

So it looks like your moves are taking longer than the timeout period which appears to be 60 seconds. I don't think rclone has any control over that 60 second timer.

How big are the files you are moving?

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.