[Solved] Bug? Creates new remote folder on restart

What is the problem you are having with rclone?

On every restart it makes a new folder on google drive instead of mounting the existing one

What is your rclone version (output from rclone version)

1.49.5

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

Debian 10

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 mount gcrypt: /mnt/gdrive --allow-other --allow-non-empty --buffer-size 256M --dir-cache-time 72h --drive-chunk-size 32M --timeout 1h --vfs-cache-mode minimal --vfs-read-chunk-size 128M --vfs-read-chunk-size-limit 1G

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

2019/10/11 18:34:22 DEBUG : Using config file from "/root/.config/rclone/rclone.conf"
2019/10/11 18:34:22 DEBUG : gcache: wrapped gdrive:gdrive/crypt at root crypt
2019/10/11 18:34:22 INFO : gcache: Cache DB path: /root/.cache/rclone/cache-backend/gcache.db
2019/10/11 18:34:22 INFO : gcache: Cache chunk path: /root/.cache/rclone/cache-backend/gcache
2019/10/11 18:34:22 INFO : gcache: Chunk Memory: true
2019/10/11 18:34:22 INFO : gcache: Chunk Size: 5M
2019/10/11 18:34:22 INFO : gcache: Chunk Total Size: 10G
2019/10/11 18:34:22 INFO : gcache: Chunk Clean Interval: 1m0s
2019/10/11 18:34:22 INFO : gcache: Workers: 4
2019/10/11 18:34:22 INFO : gcache: File Age: 6h0m0s
2019/10/11 18:34:22 DEBUG : Adding path "cache/expire" to remote control registry
2019/10/11 18:34:22 DEBUG : Adding path "cache/stats" to remote control registry
2019/10/11 18:34:22 DEBUG : Adding path "cache/fetch" to remote control registry
2019/10/11 18:34:23 DEBUG : gcache: wrapped gdrive:gdrive/crypt at root crypt
2019/10/11 18:34:23 INFO : gcache: Cache DB path: /root/.cache/rclone/cache-backend/gcache.db
2019/10/11 18:34:23 INFO : gcache: Cache chunk path: /root/.cache/rclone/cache-backend/gcache
2019/10/11 18:34:23 INFO : gcache: Chunk Memory: true
2019/10/11 18:34:23 INFO : gcache: Chunk Size: 5M
2019/10/11 18:34:23 INFO : gcache: Chunk Total Size: 10G
2019/10/11 18:34:23 INFO : gcache: Chunk Clean Interval: 1m0s
2019/10/11 18:34:23 INFO : gcache: Workers: 4
2019/10/11 18:34:23 INFO : gcache: File Age: 6h0m0s
2019/10/11 18:34:23 DEBUG : Adding path "cache/expire" to remote control registry
2019/10/11 18:34:23 DEBUG : Adding path "cache/stats" to remote control registry
2019/10/11 18:34:23 DEBUG : Adding path "cache/fetch" to remote control registry
2019/10/11 18:34:23 DEBUG : Encrypted drive 'gcrypt:': Mounting on "/mnt/gdrive"
2019/10/11 18:34:23 DEBUG : Cache remote gcache:crypt: subscribing to ChangeNotify
2019/10/11 18:34:23 DEBUG : vfs cache root is "/root/.cache/rclone/vfs/gcrypt"
2019/10/11 18:34:23 DEBUG : Adding path "vfs/forget" to remote control registry
2019/10/11 18:34:23 DEBUG : Adding path "vfs/refresh" to remote control registry
2019/10/11 18:34:23 DEBUG : Adding path "vfs/poll-interval" to remote control registry
2019/10/11 18:34:23 DEBUG : : Root:
2019/10/11 18:34:23 DEBUG : : >Root: node=/, err=

Config file

[gdrive]
type = drive
client_id = .apps.googleusercontent.com
client_secret =
token = {"access_token":"ya29.-tS8","token_type":"Bearer","refresh_token":"1/","expiry":"2019-10-11T19:16:44.091364582Z"}
shared_with_me = true
team_drive = 0000dfaksnf

[gcache]
type = cache
remote = gdrive:/gdrive
plex_url = http://127.0.0.1:32400
plex_username = 0000
plex_password = 000
plex_token = -

[gcrypt]
type = crypt
remote = gcache:/crypt
filename_encryption = standard
directory_name_encryption = true
password =
password2 =

Solved by removing "shared_with_me = true" from config. Topic can be closed.

You can mark your own reply as the answer :slight_smile:

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