Error when mounting google drive to a local folder

The problem I'm having

I am having a problem mounting google drive with rclone, but the connection to my google drive seems to be working (commands like rclone ls are working properly).

I have also noticed that the rclone mount --daemon gdrive: ~/gdrive command is causing the issue visible in the log, but it seems to work fine even after I cntrl-C out of it.

The only problem is the giant error that can be seem in the log and the non-ending mount command.

Rclone version

I am running the latest version.

rclone v1.56.0
- os/version: arch (64 bit)
- os/kernel: 5.13.6-arch1-1 (x86_64)
- os/type: linux
- os/arch: amd64
- go/version: go1.16.6
- go/linking: dynamic
- go/tags: none

The cloud storage system I use

I am using google drive (enterprise).

The command I am trying to run

$ rclone mount --daemon gdrive: ~/gdrive

Rclone config contents with secrets removed

type = drive
scope = drive
token = {"token_type":"Bearer","expiry":"2021-08-01T16:25:46.489796939-03:00"}

I removed my access and refresh tokens.

Log from the command with the -vv flag

2021/08/01 15:43:05 DEBUG : rclone: Version "v1.56.0" starting with parameters ["rclone" "-vv" "mount" "--daemon" "gdrive:" "/home/gc/gdrive"]
2021/08/01 15:43:05 DEBUG : Creating backend with remote "gdrive:"
2021/08/01 15:43:05 DEBUG : Using config file from "/home/gc/.config/rclone/rclone.conf"
2021/08/01 15:43:06 DEBUG : Google drive root '': 'root_folder_id = 0ALSXKThPoRBCUk9PVA' - save this in the config to speed up startup
^C2021/08/01 15:46:19 INFO  : Signal received: interrupt
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x555ff244a971]

goroutine 67 [running]:*MountPoint).Wait.func1.1() +0x51
sync.(*Once).doSlow(0xc000d17270, 0xc000074e38)
	sync/once.go:68 +0xee
	sync/once.go:59*MountPoint).Wait.func1() +0x65 +0x7f
sync.(*Once).doSlow(0x555ff3ae8080, 0x555ff2df2718)
	sync/once.go:68 +0xee
	sync/once.go:59 +0xb8 +0xea
created by +0x96

Executed in  193.93 secs      fish           external
   usr time  194.80 millis    5.74 millis  189.06 millis
   sys time   57.87 millis    3.45 millis   54.42 millis

There is a bug with daemon and 1.56. You can upgrade to the beta or wait for the point release.

I'm sorry, I had not seen that!
Thanks for the fast response, I think I'll wait for the point release.

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