Having trouble mounting teamdrive

I have a google teamdrive that I am trying to mount to Ubuntu 20.04 server.
I have done rclone config and setup my drive I have tried to use this command to mount it
rclone mount tdrive: /mnt/Tdrive --allow-other --cache-db-purge --fast-list --poll-interval 10m
Nothing shows up in /mnt/Tdrive I already have files on my tdrive.
What do I need to do to mount it

Can I ask why you deleted the help and support template?

Didn’t realize I had to keep it, sorry not very good with this sort of thing

If you use the template, it collects all the information required to help you out.

What is the problem you are having with rclone?

Not being able to mount tdrive

What is your rclone version (output from rclone version)

Latest

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

Ubuntu 20.04

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

Google drive, teamdrive

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

Paste command here

rclone mount tdrive: /mnt/Tdrive --allow-other --cache-db-purge --fast-list --poll-interval 10m

The rclone config contents with secrets removed.

Paste config here

tdrive]

type = drive

client_id

client_secret =

scope = drive

token = {"access_token":"ya29.a0AfH6SMDkStKImf","expiry":"2021-05-04T13:05:05.324202978Z"}

team_drive =

root_folder_id =


Edit remote

** See help for drive backend at: Google drive **

Value "client_id" = "

Edit? (y/n)>

y) Yes

n) No (default)

y/n>

A log from the command with the -vv flag

Paste  log here

Can you please type rclone version and share the full output.

rclone v1.55.1

  • os/type: linux
  • os/arch: amd64
  • go/version: go1.16.3
  • go/linking: static
  • go/tags: none

Can you adjust that to:

rclone mount tdrive: /mnt/Tdrive --allow-other -vv

and share the full output.

2021/05/04 14:10:44 DEBUG : Using config file from "/root/.config/rclone/rclone.conf"
2021/05/04 14:10:44 DEBUG : rclone: Version "v1.55.1" starting with parameters ["rclone" "mount" "tdrive:" "/mnt/Tdrive" "--allow-other" "-vv"]
2021/05/04 14:10:44 DEBUG : Creating backend with remote "tdrive:"
2021/05/04 14:10:44 DEBUG : tdrive: Loaded invalid token from config file - ignoring
2021/05/04 14:10:50 DEBUG : Saving config "token" = "{"access_token":"ya29.a0AfH6SMB6GSebTfvIv2yojELThSwy-l374ymuybgl0GKMYhoVYQbTq3ho6GwzzuzSTKnTAtXir376l3BcqwMkoh90wGtztiNJ81zdWqGNpP31cBRK5i1G35ImBYk9lO2iE4lbloNxTrHPz_aF-yARGOZS4Ehh","token_type":"Bearer","refresh_token":"1//03xX0tQ6vip6LCgYIARAAGAMSNwF-L9Ir_4QnP4t55YPVopERSNiQVcQHURwjeURwcz-5obq9XKu6GkRUOuz3A49C9Rgg3vJHBG0","expiry":"2021-05-04T15:10:49.108284313Z"}" in section "tdrive" of the config file
2021/05/04 14:10:50 DEBUG : tdrive: Saved new token in config file
2021/05/04 14:10:50 DEBUG : Google drive root '': Mounting on "/mnt/Tdrive"
2021/05/04 14:10:50 DEBUG : : Root:
2021/05/04 14:10:50 DEBUG : : >Root: node=/, err=
2021/05/04 14:10:59 DEBUG : /: Attr:
2021/05/04 14:10:59 DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxr-xr-x, err=
2021/05/04 14:11:10 DEBUG : /: Attr:
2021/05/04 14:11:10 DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxr-xr-x, err=
2021/05/04 14:11:20 DEBUG : /: Attr:
2021/05/04 14:11:20 DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxr-xr-x, err=
2021/05/04 14:11:30 DEBUG : /: Attr:
2021/05/04 14:11:30 DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxr-xr-x, err=
2021/05/04 14:11:40 DEBUG : /: Attr:
2021/05/04 14:11:40 DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxr-xr-x, err=
2021/05/04 14:11:50 DEBUG : Google drive root '': Checking for changes on remote
2021/05/04 14:11:51 DEBUG : /: Attr:
2021/05/04 14:11:51 DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxr-xr-x, err=
2021/05/04 14:12:01 DEBUG : /: Attr:
2021/05/04 14:12:01 DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxr-xr-x, err=
2021/05/04 14:12:11 DEBUG : /: Attr:
2021/05/04 14:12:11 DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxr-xr-x, err=
2021/05/04 14:12:21 DEBUG : /: Attr:
2021/05/04 14:12:21 DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxr-xr-x, err=
2021/05/04 14:12:32 DEBUG : /: Attr:
2021/05/04 14:12:32 DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxr-xr-x, err=
2021/05/04 14:12:42 DEBUG : /: Attr:
2021/05/04 14:12:42 DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxr-xr-x, err=

That seems to be mounting with an issue. What problem are you having?

I can not get rclone to mnt so I can use it

The log you just shared showed it mounted and was available on:

/mnt/Tdrive

Did you stop the process or something?

If you change into that directory, you should see more logging on the screen as well.

Now I can see it before when I went into /mnt/Tdrive nothing showed

How would I add my rclone to fstab so it mounts automatically

I don't use fstab as I use a systemd service instead.

I use a number of settings which I document here:

[Unit]
Description=Google Drive (rclone)
Requires=systemd-networkd.service
AssertPathIsDirectory=/mnt/Tdrive
After=network-online.target

[Service]
Type=simple
ExecStart=/usr/bin/rclone mount
--config=/home/spoonsy1480/.config/rclone/rclone.conf
--allow-other
--fast-access
--cache-tmp-upload-path=/tmp/rclone/upload
--cache-chunk-path=/tmp/rclone/chunks
--cache-workers=4
--cache-writes
--cache-dir=/tmp/rclone/vfs
--cache-db-path=/tmp/rclone/db
--no-modtime
--drive-use-trash
--stats=0
--checkers=8
--dir-cache-time=60m
--cache-info-age=60m tdrive :confused: /mnt/Tdrive
ExecStop=/bin/fusermount -u /mnt/Tdrive
Restart=always
RestartSec=10
TimeoutSec=45

[Install]
WantedBy=multi-user.target
This is the one I have used is this ok?

Oof, that's bad one.

Lots of that stuff has nothing to do with your setup.

That's all for the cache backend, which you aren't using.

No idea what that is as it's not a rclone flag.

That's the wrong type as it should be inotify.

That's really low and means it only caches information for 60 minutes. Google Drive is a polling remote which means you can set this value super high.

What should I change the —dir-cache-time to?

As I shared in my link above, I use:

# Google Drive is a polling remote so this value can be set very high and any changes are detected via polling.
--dir-cache-time 1000h \

I have just seen I will change it to this
[Unit]
Description=Google Drive (rclone)
Requires=systemd-networkd.service
AssertPathIsDirectory=/mnt/Tdrive
After=network-online.target

[Service]
Type=inotify
ExecStart=/usr/bin/rclone mount
--config=/home/spoonsy1480/.config/rclone/rclone.conf
--allow-other
--cache-dir=/tmp/rclone/vfs
--no-modtime
--drive-use-trash
--stats=0
--checkers=8
--dir-cache-time=1000h
--tdrive :confused: /mnt/Tdrive
ExecStop=/bin/fusermount -u /mnt/Tdrive
Restart=always
RestartSec=10
TimeoutSec=45

[Install]
WantedBy=multi-user.target
Is this ok so I can run plex not worried about uploading anything to my tdrive I have a vps doing that