Google Drive lsd shows no files

What is the problem you are having with rclone?

It seems my team drives are not being properly accessed. No files show up when I try to do a directory listing. I've created my own client and secret to see if it would make a difference, but same outcome.

What is your rclone version (output from rclone version)

1.51

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

Ubuntu 18.04

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)

 rclone lsd gdrive: -vv

A log from the command with the -vv flag (eg output from rclone -vv copy /tmp remote:tmp)

2020/05/01 18:41:50 DEBUG : rclone: Version "v1.51.0" starting with parameters ["rclone" "lsd" "gdrive:" "-vv"]
2020/05/01 18:41:50 DEBUG : Using config file from "/home/brad/.config/rclone/rclone.conf"
2020/05/01 18:41:51 DEBUG : Google drive root '': read info from team drive "AM75"
2020/05/01 18:41:51 DEBUG : 5 go routines active
2020/05/01 18:41:51 DEBUG : rclone: Version "v1.51.0" finishing with parameters ["rclone" "lsd" "gdrive:" "-vv"]

hello and welcome to the forum,

can you try

  1. rclone lsd gdrive: -vv --recursive
  2. rclone lsf gdrive: -vv

Wow thanks for the quick response!

 rclone lsd gdrive: -vv --recursive
2020/05/01 19:03:18 DEBUG : rclone: Version "v1.51.0" starting with parameters ["rclone" "lsd" "gdrive:" "-vv" "--recursive"]
2020/05/01 19:03:18 DEBUG : Using config file from "/home/brad/.config/rclone/rclone.conf"
2020/05/01 19:03:18 DEBUG : Google drive root '': read info from team drive "AM75"
2020/05/01 19:03:18 DEBUG : 5 go routines active
2020/05/01 19:03:18 DEBUG : rclone: Version "v1.51.0" finishing with parameters ["rclone" "lsd" "gdrive:" "-vv" "--recursive"]
 rclone lsf gdrive: -vv
2020/05/01 19:03:32 DEBUG : rclone: Version "v1.51.0" starting with parameters ["rclone" "lsf" "gdrive:" "-vv"]
2020/05/01 19:03:32 DEBUG : Using config file from "/home/brad/.config/rclone/rclone.conf"
2020/05/01 19:03:33 DEBUG : Google drive root '': read info from team drive "AM75"
2020/05/01 19:03:33 DEBUG : 5 go routines active
2020/05/01 19:03:33 DEBUG : rclone: Version "v1.51.0" finishing with parameters ["rclone" "lsf" "gdrive:" "-vv"]

i assume that your team drive has folders and files in it.

can you a rclone config dump and redact sensitive info

Indeed, i actually recently hit the limit for files, so am trying to set up a alert with bash and rclone to tell me when i'm getting close. Here is the info:

{
    "gdrive": {
        "client_id": "XXXXXXXXXXXXXXXXXXXXXX.apps.googleusercontent.com",
        "client_secret": "XXXXXXXXXXXX",
        "scope": "drive",
        "shared_with_me": "true",
        "team_drive": "XXXXXXXXX9PVA",
        "token": "{\"access_token\":\"XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXcb0QvAuscUGKreXrFEpwCU1DzQt05z-zLEAAE9jjIC6XXXXXXXXXXXXXXXXXXXXXXXXXXcWR-nZTARj1hU\",\"token_type\":\"Bearer\",\"refresh_token\":\"1//054XXXXXXXXXXXXXXXXXXXX-L9IriM1Wz53ik6dRRXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXNGOk\",\"expiry\":\"2020-05-01T19:33:42.296762453Z\"}",
        "type": "drive"
    }

which limit did you hit?

400k, but i moved a bunch out so am now back under.

can you rclone lsf gdrive: -vv without --drive-shared-with-me
https://rclone.org/drive/#drive-shared-with-me

If you use this flag, it only shows files 'shared with you'. Do you have anything shared with you that you are trying to access?

That was it, thanks guys!

Once I posted the dump I thought maybe that might be it, I hadn't used that flag in my other setups but thought i might want to see those files this time.

I didn't realize it then ONLY showed files shared with me, I thought it just opened up access to that folder.

Hmm, wonder if we could add something clearer in the config portion and move it to the advanced section maybe?

https://rclone.org/drive/#drive-shared-with-me

RTFM! I did look at the man for it, but blew past that first line. Sorry about that.

It is in the advanced section already.

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