Trying to setup an encrypted gdrive remote, service appears to be running but nothing shows up in the local directory that I am using as the mount point.
Run the command 'rclone version' and share the full output of the command.
rclone v1.64.0
os/version: ubuntu 22.04 (64 bit)
os/kernel: 5.15.0-1040-oracle (aarch64)
os/type: linux
os/arch: arm64 (ARMv8 compatible)
go/version: go1.21.1
go/linking: static
go/tags: none
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)
(i know my service file is garbage, but it should be functional. I'l make another post after I get this working for people to help me add correct/useful flags etc)
Please run 'rclone config redacted' and share the full output. If you get command not found, please make sure to update rclone.
deleting my previous reply as I figure out one piece and now have another. I removed my service file as it was creating problems with a manual attempt to mount. Now I'm getting a fuser error:
ubuntu@jellyfin-gdrive-optimized:~$ rclone mount gcrypt: /home/ubuntu/media --al low-other -vv
2023/09/12 13:30:53 DEBUG : rclone: Version "v1.64.0" starting with parameters [ "rclone" "mount" "gcrypt:" "/home/ubuntu/media" "--allow-other" "-vv"]
2023/09/12 13:30:53 DEBUG : Creating backend with remote "gcrypt:"
2023/09/12 13:30:53 DEBUG : Using config file from "/home/ubuntu/.config/rclone/ rclone.conf"
2023/09/12 13:30:54 DEBUG : Creating backend with remote "gdrive:/mediacrypt"
2023/09/12 13:30:54 DEBUG : Google drive root 'mediacrypt': 'root_folder_id = 0A PxVJMubsWSDUk9PVA' - save this in the config to speed up startup
2023/09/12 13:30:54 DEBUG : fs cache: renaming cache item "gdrive:/mediacrypt" t o be canonical "gdrive:mediacrypt"
2023/09/12 13:30:54 DEBUG : Encrypted drive 'gcrypt:': Mounting on "/home/ubuntu /media"
2023/09/12 13:30:54 mount helper error: fusermount3: option allow_other only all owed if 'user_allow_other' is set in /etc/fuse.conf
2023/09/12 13:30:54 Fatal error: failed to mount FUSE fs: fusermount: exit statu s 1
OK. I went at uncommented user_allow_other in fuse.conf and that seems to have made SOME progress. Now when I run the command, it seems to mount but it hangs here and just sits:
ubuntu@jellyfin-gdrive-optimized:~$ rclone mount gcrypt: /home/ubuntu/media --allow-other -vv 2023/09/12 13:40:52 DEBUG : rclone: Version "v1.64.0" starting with parameters ["rclone" "mount" "gcrypt:" "/home/u buntu/media" "--allow-other" "-vv"]
2023/09/12 13:40:52 DEBUG : Creating backend with remote "gcrypt:"
2023/09/12 13:40:52 DEBUG : Using config file from "/home/ubuntu/.config/rclone/rclone.conf"
2023/09/12 13:40:52 DEBUG : Creating backend with remote "gdrive:/mediacrypt"
2023/09/12 13:40:52 DEBUG : gdrive: Loaded invalid token from config file - ignoring
2023/09/12 13:40:52 DEBUG : Saving config "token" in section "gdrive" of the config file
2023/09/12 13:40:52 DEBUG : gdrive: Saved new token in config file
2023/09/12 13:40:52 DEBUG : Google drive root 'mediacrypt': 'root_folder_id = 0APxVJMubsWSDUk9PVA' - save this in the config to speed up startup
2023/09/12 13:40:52 DEBUG : fs cache: renaming cache item "gdrive:/mediacrypt" to be canonical "gdrive:mediacrypt"
2023/09/12 13:40:52 DEBUG : Encrypted drive 'gcrypt:': Mounting on "/home/ubuntu/media"
2023/09/12 13:40:52 DEBUG : : Root:
2023/09/12 13:40:52 DEBUG : : >Root: node=/, err=<nil>
2023/09/12 13:41:52 DEBUG : Google drive root 'mediacrypt': Checking for changes on remote
Hi again, I feel like I'm getting there thanks to your help. I am mounting the encrypted mount without errors but when i open a new SSH window and check the directory, nothing is there.
ubuntu@jellyfin-gdrive-optimized:~/media$ rclone mount gcrypt: /home/ubuntu/medi a --allow-other -vv
2023/09/12 16:34:48 DEBUG : rclone: Version "v1.64.0" starting with parameters [ "rclone" "mount" "gcrypt:" "/home/ubuntu/media" "--allow-other" "-vv"]
2023/09/12 16:34:48 DEBUG : Creating backend with remote "gcrypt:"
2023/09/12 16:34:48 DEBUG : Using config file from "/home/ubuntu/.config/rclone/ rclone.conf"
2023/09/12 16:34:48 DEBUG : Creating backend with remote "gdrive:/home/ubuntu/me dia"
2023/09/12 16:34:48 DEBUG : Google drive root 'home/ubuntu/media': 'root_folder_ id = 0APxVJMubsWSDUk9PVA' - save this in the config to speed up startup
2023/09/12 16:34:49 DEBUG : fs cache: renaming cache item "gdrive:/home/ubuntu/m edia" to be canonical "gdrive:home/ubuntu/media"
2023/09/12 16:34:49 DEBUG : Encrypted drive 'gcrypt:': Mounting on "/home/ubuntu /media"
2023/09/12 16:34:49 DEBUG : : Root:
2023/09/12 16:34:49 DEBUG : : >Root: node=/, err=<nil>
If I mount the NON-encrypted version of this mount 'gdrive' it works just fine.
do I need to manually create a directory for the encrypted mount? I created the gdrive remote. I created the gcrypt to place the gdrive remote at /home/ubuntu/media.
If I just mount gdrive it works great. But if I unmount and kill that process and try again with gcrypt, I get nothing