Problem mounting the remote and folder disappearing

What is the problem you are having with rclone?

Hello everyone, I'm having a problem mounting my rclone on a server, ubuntu. When executing the code to mount, the folder disappears. I've been researching and trying for 2 days.
I created a OneDrive remote and a crypt for the OneDrive "Midias" folder. When using the following command to mount and test, the target folder disappears and nothing else happens.
Many thanks!

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

rclone v1.64.2
- os/version: ubuntu 20.04 (64 bit)
- os/kernel: 5.15.0-1045-oracle (aarch64)
- os/type: linux
- os/arch: arm64 (ARMv8 compatible)
- go/version: go1.21.3
- go/linking: static
- go/tags: none

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

Onedrive Professional (E5)

The command you were trying to run (eg rclone copy /tmp remote:tmp)

sudo rclone mount --vfs-cache-mode=full crypt-odrive: /home/rclone/cloud

Please run 'rclone config redacted' and share the full output. If you get command not found, please make sure to update rclone.

[crypt-odrive]
type = crypt
remote = odrive:Midias
password = XXX

[odrive]
type = onedrive
token = XXX
drive_id = XXX
drive_type = business

A log from the command that you were trying to run with the -vv flag

2023/10/23 20:01:27 DEBUG : rclone: Version "v1.64.2" starting with parameters ["rclone" "mount" "--log-file" "/home/rclone/logs/rclone.log" "--vfs-cache-mode=full" "crypt-odrive:" "/home/rclone/cloud" "-vv"]
2023/10/23 20:01:27 DEBUG : Creating backend with remote "crypt-odrive:"
2023/10/23 20:01:27 DEBUG : Using config file from "/root/.config/rclone/rclone.conf"
2023/10/23 20:01:27 DEBUG : Creating backend with remote "odrive:Midias"
2023/10/23 20:01:27 DEBUG : OneDrive root 'Midias': Next delta token is: *
2023/10/23 20:01:27 DEBUG : vfs cache: root is "/root/.cache/rclone"
2023/10/23 20:01:27 DEBUG : vfs cache: data root is "/root/.cache/rclone/vfs/crypt-odrive"
2023/10/23 20:01:27 DEBUG : vfs cache: metadata root is "/root/.cache/rclone/vfsMeta/crypt-odrive"
2023/10/23 20:01:27 DEBUG : Creating backend with remote "/root/.cache/rclone/vfs/crypt-odrive/"
2023/10/23 20:01:27 DEBUG : fs cache: renaming cache item "/root/.cache/rclone/vfs/crypt-odrive/" to be canonical "/root/.cache/rclone/vfs/crypt-odrive"
2023/10/23 20:01:27 DEBUG : Creating backend with remote "/root/.cache/rclone/vfsMeta/crypt-odrive/"
2023/10/23 20:01:27 DEBUG : fs cache: renaming cache item "/root/.cache/rclone/vfsMeta/crypt-odrive/" to be canonical "/root/.cache/rclone/vfsMeta/crypt-odrive"
2023/10/23 20:01:27 DEBUG : Encrypted drive 'crypt-odrive:': Mounting on "/home/rclone/cloud"
2023/10/23 20:01:27 INFO  : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0)
2023/10/23 20:01:28 DEBUG : : Root: 
2023/10/23 20:01:28 DEBUG : : >Root: node=/, err=<nil>
2023/10/23 20:02:27 DEBUG : OneDrive root 'Midias': Checking for changes on remote
2023/10/23 20:02:27 INFO  : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0)
2023/10/23 20:03:27 DEBUG : OneDrive root 'Midias': Checking for changes on remote
2023/10/23 20:03:27 INFO  : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0)

For fuse mounts, they are only mounted by default in the user running rclone.

Add --allow-other to your mount flag if you want users other than root to be able to see the mount.

1 Like

Oh, this little detail, I'm a newbie, sorry, but thank you very much. It worked and so does the service now.

I always tell folks, it seems very simple when you know the answer. I try to just keep asking until I know the answer too :slight_smile:

Happy you got it working!

1 Like

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