Impossible to add gdrive

What is the problem you are having with rclone?

I've installed rclone everything is ok but at then end I dont have gdrive as device in my manager files.

Run the command 'rclone version' and share the full output of the command.

$ rclone version
rclone v1.62.0-beta.6737.ce8b1cd86
- os/version: arch "rolling" (64 bit)
- os/kernel: 6.1.12-arch1-1 (x86_64)
- os/type: linux
- os/arch: amd64
- go/version: go1.20.1
- go/linking: static
- go/tags: none

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

I'm using ggogle drive

rclone ls gdrivemedia: -vv
<7>DEBUG : rclone: Version "v1.62.0-beta.6737.ce8b1cd86" starting with parameters ["rclone" "ls" "gdrivemedia:" "-vv"]
<7>DEBUG : rclone: systemd logging support activated
<7>DEBUG : Creating backend with remote "gdrivemedia:"
<7>DEBUG : Using config file from "/home/james/.config/rclone/rclone.conf"
Failed to create file system for "gdrivemedia:": didn't find section in config file

$ rclone mount mygdrive: ~/gdrive/

and nothing happens, the terminal freezes

hello and welcome to the forum,

best to use stable rclone, not beta.

you posted two remote names, which one is correct?
gdrivemedia or mygdrive

to get a name of the remotes you created, rclone listremotes

that is correct. need to keep the command running.
if you kill the rclone mount command, then cannot access the files.

I tried the stable too.

you posted two remote names, which one is correct?

weird, I just created mygdrive

$ rclone listremotes
mygdrive:

does this command work, rclone lsd mygdrive: -vv

and to the monut command, try adding --allow-other -vv

 rclone lsd mygdrive: -vv
<7>DEBUG : rclone: Version "v1.62.0-beta.6737.ce8b1cd86" starting with parameters ["rclone" "lsd" "mygdrive:" "-vv"]
<7>DEBUG : rclone: systemd logging support activated
<7>DEBUG : Creating backend with remote "mygdrive:"
<7>DEBUG : Using config file from "/home/james/.config/rclone/rclone.conf"
<7>DEBUG : Google drive root '': 'root_folder_id = 0ADgfrXXXXX9PVA' - save this in the config to speed up startup
          -1 2023-02-22 07:56:26        -1 .Trash-1000
          -1 2020-09-05 14:20:40        -1 Angyyy
          -1 2017-06-06 15:42:08        -1 CCB entrainement
          -1 2022-10-30 07:04:22        -1 Contact google jim
          -1 2023-01-07 12:30:37        -1 XXXXX
          -1 2017-02-07 09:05:05        -1 XXXXX
          -1 2022-02-18 11:45:24        -1 OpenWrt_builds
          -1 2021-11-14 11:29:50        -1 back up
          -1 2021-02-21 12:41:35        -1 cascade
          -1 2020-02-16 11:48:49        -1 xxxxx
<7>DEBUG : 4 go routines active

rclone mount --allow-other -vv mygdrive: ~/gdrive/
<7>DEBUG : rclone: Version "v1.62.0-beta.6737.ce8b1cd86" starting with parameters ["rclone" "mount" "--allow-other" "-vv" "mygdrive:" "/home/james/gdrive/"]
<7>DEBUG : rclone: systemd logging support activated
<7>DEBUG : Creating backend with remote "mygdrive:"
<7>DEBUG : Using config file from "/home/james/.config/rclone/rclone.conf"
<7>DEBUG : Google drive root '': 'root_folder_id = 0ADgfrxf7zXXXXA' - save this in the config to speed up startup
Fatal error: failed to mount FUSE fs: directory already mounted, use --allow-non-empty to mount anyway: /home/james/gdrive

make sure no other rclone mount command are running in the background.

after a reboot;

rclone mount --allow-other -vv mygdrive: ~/gdrive/
<7>DEBUG : rclone: Version "v1.62.0-beta.6737.ce8b1cd86" starting with parameters ["rclone" "mount" "--allow-other" "-vv" "mygdrive:" "/home/james/gdrive/"]
<7>DEBUG : rclone: systemd logging support activated
<7>DEBUG : Creating backend with remote "mygdrive:"
<7>DEBUG : Using config file from "/home/james/.config/rclone/rclone.conf"
<7>DEBUG : mygdrive: Loaded invalid token from config file - ignoring
<7>DEBUG : Saving config "token" in section "mygdrive" of the config file
<7>DEBUG : mygdrive: Saved new token in config file
<7>DEBUG : Google drive root '': 'root_folder_id = 0ADgfrxfXXXXX' - save this in the config to speed up startup
<7>DEBUG : Google drive root '': Mounting on "/home/james/gdrive/"
mount helper error: fusermount3: option allow_other only allowed if 'user_allow_other' is set in /etc/fuse.conf
Fatal error: failed to mount FUSE fs: fusermount: exit status 1

that is a linux issue, not a rclone issue
need to add user_allow_other to /etc/fuse.conf

ok thanks

$ sudo nano /etc/fuse.conf
[sudo] password for james: 
[james@ninja ~]$ rclone mount --allow-other -vv mygdrive: ~/gdrive/
<7>DEBUG : rclone: Version "v1.62.0-beta.6737.ce8b1cd86" starting with parameters ["rclone" "mount" "--allow-other" "-vv" "mygdrive:" "/home/james/gdrive/"]
<7>DEBUG : rclone: systemd logging support activated
<7>DEBUG : Creating backend with remote "mygdrive:"
<7>DEBUG : Using config file from "/home/james/.config/rclone/rclone.conf"
<7>DEBUG : Google drive root '': 'root_folder_id = 0ADgfrxf7XXXXXXX' - save this in the config to speed up startup
<7>DEBUG : Google drive root '': Mounting on "/home/james/gdrive/"
<7>DEBUG : : Root: 
<7>DEBUG : : >Root: node=/, err=<nil>

and what about that ;

Google drive root '': 'root_folder_id = XXXXXXXXXXX' - save this in the config to speed up startup

does not really matter one way or another. i never do that.
tho, if you want to add that text, go ahead.

1 Like

but my real problem is when I used rclone 2 years ago, I saw gdrive as a drive /device where my D is

no idea what the screenshot is about?

and as i mentioned, would use stable rclone, not beta.

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