Rclone mount has no response

What is the problem you are having with rclone?

I tried to mount but get no responds

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

rclone v1.65.2

  • os/version: centos 7.9.2009 (64 bit)
  • os/kernel: 3.10.0-1160.108.1.el7.x86_64 (x86_64)
  • os/type: linux
  • os/arch: amd64
  • go/version: go1.21.6
  • go/linking: static
  • go/tags: none

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

OneDrive

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

I configured the rclone and mange to connected to Onedrive with only a test folder, after installing fuse3, I failed to mount the remote test folder to local test2 folder, it get no response

# rclone lsd OneDrive:
          -1 2024-02-21 09:41:16         1 test
# clone --vfs-cache-mode  writes mount OneDrive:/test /home/usr/test2

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

# rclone config redacted
[OneDrive]
type = onedrive
token = XXX
drive_id = XXX
drive_type = personal

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

# rclone --vfs-cache-mode  writes mount OneDrive:/test /home/lemy/test2 -v
2024/02/21 10:06:44 INFO  : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0)
2024/02/21 10:07:44 INFO  : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0)
2024/02/21 10:08:44 INFO  : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0)
2024/02/21 10:09:44 INFO  : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0)
2024/02/21 10:10:44 INFO  : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0)
2024/02/21 10:11:44 INFO  : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0)
2024/02/21 10:12:44 INFO  : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0)
2024/02/21 10:13:44 INFO  : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0)
2024/02/21 10:14:44 INFO  : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0)
2024/02/21 10:15:44 INFO  : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0)
2024/02/21 10:16:44 INFO  : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0)
2024/02/21 10:17:44 INFO  : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0)
2024/02/21 10:18:44 INFO  : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0)
2024/02/21 10:19:44 INFO  : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0)
2024/02/21 10:20:44 INFO  : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0)
2024/02/21 10:21:44 INFO  : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0)
2024/02/21 10:22:44 INFO  : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0)
2024/02/21 10:23:44 INFO  : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0)
2024/02/21 10:24:44 INFO  : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0)
2024/02/21 10:25:44 INFO  : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0)
2024/02/21 10:26:44 INFO  : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0)
2024/02/21 10:27:44 INFO  : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0)
2024/02/21 10:28:44 INFO  : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0)

What does it mean?

I meant that the terminal does not give any feedbacks for one hour, and I tried -v, the info said there is no objects, and keep checking it again and again (see above)

Not sure what you expect:) If you want to see more details than run your mount with -vv options.

But overall it looks like everything is working perfectly fine. Can you access your mount?

no I cannot access the mount, when I click the mount 'test2' in gnome window, it warns 'This location cannot be displayed, You do not have the permission necessary to view the contents of test2', and the folder is empty. Actually, I set up a test.txt file in the remote OneDrive folder, I cannot understand that why the -v said that there is no objects.

Another wired thing I want to mention is that, I set up the config with root user, but when I change to conventional user, there is no any remote in the rclone config, I am not sure that if this is related to my unaccessiability to the mount?

add user_allow_other to /opt/etc/fuse.conf file

then run:

rclone mount OneDrive:test /home/lemy/test2 --vfs-cache-mode  writes --allow-other -vv

and post output here

no need to use root for anything here.

Just create your remote again as normal user.

no I cannot

Thx to your reply, the fuse.conf is located under /etc but not under /opt/etc, I delete the # to allow the user_allow_other, here is the output

2024/02/21 20:09:40 DEBUG : rclone: Version "v1.65.2" starting with parameters ["rclone" "mount" "OneDrive:test" "/home/lemy/test2" "--vfs-cache-mode" "writes" "--allow-other" "-vv"]
2024/02/21 20:09:40 DEBUG : Creating backend with remote "OneDrive:test"
2024/02/21 20:09:40 DEBUG : Using config file from "/root/.config/rclone/rclone.conf"
2024/02/21 20:09:40 Failed to create file system for "OneDrive:test": didn't find section in config file

Good progress.

Now create remote called OneDrive using the same user you use to run rclone - run rclone config

Any reason you try to run rclone mount as root? It is not required especially if you are not familiar with Linux privileges etc.. You should never run anything as root - unless needed.

Fine it's OK now, I should use normal user, thank you!

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