What is the problem you are having with rclone?
When running certain commands, including size and bisync, rclone will sometimes report a network error, even though the network connection is good, and other commands (like lsd), continue to function normally. Please help :-}
Run the command 'rclone version' and share the full output of the command.
pi@photoprismpi:~ $ rclone version
rclone v1.64.2
- os/version: raspbian 11.8 (64 bit)
- os/kernel: 6.1.21-v8+ (aarch64)
- os/type: linux
- os/arch: arm (ARMv7 compatible)
- go/version: go1.21.3
- go/linking: static
- go/tags: none
Which cloud storage system are you using? (eg Google Drive)
Google Drive (using custom Google API)
The command you were trying to run (eg rclone copy /tmp remote:tmp
)
pi@photoprismpi:~ $ rclone size Maria-GDrive-Photos:
2023/10/26 18:55:53 Failed to size: couldn't list directory: Get "https://www.googleapis.com/drive/v3/files?alt=json&fields=files%28id%2Cname%2Csize%2Cmd5Checksum%2Ctrashed%2CexplicitlyTrashed%2CmodifiedTime%2CcreatedTime%2CmimeType%2Cparents%2CwebViewLink%2CshortcutDetails%2CexportLinks%2CresourceKey%29%2CnextPageToken%2CincompleteSearch&includeItemsFromAllDrives=true&pageSize=1000&prettyPrint=false&q=trashed%3Dfalse+and+%28%271OOnW7txvjaZols9hhZIKeXYbT84V8Yfo%27+in+parents%29&supportsAllDrives=true": dial tcp [2607:f8b0:402a:804::200a]:443: connect: network is unreachable
Please run 'rclone config redacted' and share the full output. If you get command not found, please make sure to update rclone.
pi@photoprismpi:~ $ rclone config redacted
[Maria-GDrive-Photos]
type = drive
client_id = XXX
client_secret = XXX
scope = drive
token = XXX
team_drive =
root_folder_id = XXX
### 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
pi@photoprismpi:~ $ rclone size Maria-GDrive-Photos: -vv
2023/10/26 19:06:41 DEBUG : rclone: Version "v1.64.2" starting with parameters ["rclone" "size" "Maria-GDrive-Photos:" "-vv"]
2023/10/26 19:06:41 DEBUG : Creating backend with remote "Maria-GDrive-Photos:"
2023/10/26 19:06:41 DEBUG : Using config file from "/home/pi/.config/rclone/rclone.conf"
2023/10/26 19:06:46 DEBUG : 6 go routines active
2023/10/26 19:06:46 Failed to size: couldn't list directory: Get "https://www.googleapis.com/drive/v3/files?alt=json&fields=files%28id%2Cname%2Csize%2Cmd5Checksum%2Ctrashed%2CexplicitlyTrashed%2CmodifiedTime%2CcreatedTime%2CmimeType%2Cparents%2CwebViewLink%2CshortcutDetails%2CexportLinks%2CresourceKey%29%2CnextPageToken%2CincompleteSearch&includeItemsFromAllDrives=true&pageSize=1000&prettyPrint=false&q=trashed%3Dfalse+and+%28%271ayS-KQHCUeMmJbumjnibwOrx3rNZzr9X%27+in+parents%29&supportsAllDrives=true": dial tcp [2607:f8b0:402a:804::200a]:443: connect: network is unreachable