It hangs when trying to mount google drive
rclone version)rclone v1.45
raspbian buster
Google drive
rclone copy /tmp remote:tmp)rclone mount gdrive: /home/pi/mnt/gdrive
-vv flag (eg output from rclone -vv copy /tmp remote:tmp)2020/02/08 14:23:24 DEBUG : rclone: Version "v1.45" starting with parameters ["rclone" "mount" "gdrive:" "/home/pi/mnt/gdrive" "-vv"]
2020/02/08 14:23:24 DEBUG : Using config file from "/home/pi/.config/rclone/rclone.conf"
2020/02/08 14:23:24 DEBUG : Google drive root '': Mounting on "/home/pi/mnt/gdrive"
2020/02/08 14:23:24 DEBUG : Adding path "vfs/forget" to remote control registry
2020/02/08 14:23:24 DEBUG : Adding path "vfs/refresh" to remote control registry
2020/02/08 14:23:24 DEBUG : Adding path "vfs/poll-interval" to remote control registry
2020/02/08 14:23:24 DEBUG : : Root:
2020/02/08 14:23:24 DEBUG : : >Root: node=/, err=
2020/02/08 14:24:24 DEBUG : Google drive root '': Checking for changes on remote
2020/02/08 14:25:24 DEBUG : Google drive root '': Checking for changes on remote
2020/02/08 14:26:24 DEBUG : Google drive root '': Checking for changes on remote
rclone mount doesn't return - it stays running to run the mount.
If you want it to daemonize then add the --daemon flag.
Ah. Seems obvious now you mention it. I guess because a regular mount command does return I was expecting something similar. For my needs I haven't even bothered with a mount and just run the rclone commands in bash using /usr/local/bin/rclone. Thanks for the info, I will give it a try.
behaviour as per design.
Most helpful comment
Ah. Seems obvious now you mention it. I guess because a regular mount command does return I was expecting something similar. For my needs I haven't even bothered with a mount and just run the rclone commands in bash using /usr/local/bin/rclone. Thanks for the info, I will give it a try.