Rclone size Error

What is the problem you are having with rclone?

When I am trying to run
rclone size ik:
I am fetting this error:
rclone size ik:
2020/06/26 06:57:41 Failed to size: list: failed to resolve shortcut: googleapi: Error 404: File not found: 1vsiyaEjpz1u8U6nrrQIkg5iyPb7omvxx., notFound
So i thought the problem is with my remote..so i ran
rclone lsd ik:
But it showed all my directories without any error

What is your rclone version (output from rclone version)

rclone v1.52.2

  • os/arch: android/arm64
  • go version: go1.14.4

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

Android -Termux

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

Google Drive

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

Paste command here

The rclone config contents with secrets removed.

Paste config here

A log from the command with the -vv flag

2020/06/26 07:10:42 DEBUG : rclone: Version "v1.52.2" starting with parameters ["rclone" "size" "ik:" "-vv"]
2020/06/26 07:10:42 DEBUG : Using config file from "/data/data/com.termux/files/home/.config/rclone/rclone.conf"
2020/06/26 07:11:22 DEBUG : pacer: low level retry 1/10 (error googleapi: Error 403: Rate Limit Exceeded, rateLimitExceeded)
2020/06/26 07:11:22 DEBUG : pacer: Rate limited, increasing sleep to 1.74920609s
2020/06/26 07:11:22 DEBUG : pacer: Reducing sleep to 0s
2020/06/26 07:11:48 DEBUG : 19 go routines active
2020/06/26 07:11:48 Failed to size: list: failed to resolve shortcut: googleapi: Error 404: File not found: 1vsiyaEjpz1u8U6nrrQIkg5iyPb7omvxx., notFound
Paste  log here

This means that you have a dangling shortcut - so a shortcut pointing to something which has disappeared. If you can find it in the drive web interface it has a deleted icon next to it.

You should be able to delete it.

Did rclone mention which file it was in the log? Maybe it should!

2 Likes

Hi
I found out the shortcut file inide my drive and delted it
It worked fine after that
Thank you
PS: Can any flag can be added to list the shortcuts using ls or delete the shortcuts using delete?

Great!

Rclone doesn't deal well with dangling shortcuts so you can't list them or delete them.

It should probably make them appear in the listings then at least you'd be able to delete them.

I had a go at this here if you fancy giving it a test!

https://beta.rclone.org/branch/v1.52.2-136-g4d0b99f8-fix-drive-dangling-shortcut-beta/ (uploaded in 15-30 mins)

1 Like

Thank you
I will give it a try and update here

1 Like

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