Cloudflare r2 works on rclone copy but not on rclone mount

What is the problem you are having with rclone?

We are unable to amount r2 to Linux system. It can do a rclone copy but not rclone mount.

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

rclone v1.62.2

  • os/version: centos 7.9.2009 (64 bit)

  • os/kernel: 3.10.0-1160.66.1.el7.x86_64 (x86_64)

  • os/type: linux

  • os/arch: amd64

  • go/version: go1.20.2

  • go/linking: static

  • go/tags: none

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

CloudFlare R2

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

rclone mount --allow-other CloudflareR2:certificates certificates1/ --daemon -vv

The rclone config contents with secrets removed.

type = s3
provider = Cloudflare
access_key_id = 
secret_access_key = 
endpoint =
env_auth = false
bucket_acl = private
upload_concurrency = 8

A log from the command with the -vv flag

2023/03/26 16:18:39 DEBUG : rclone: Version "v1.62.2" starting with parameters ["rclone" "mount" "--allow-other" "CloudflareR2:certificates" "certificates1/" "--daemon" "-vv"]
2023/03/26 16:18:39 DEBUG : Creating backend with remote "CloudflareR2:certificates"
2023/03/26 16:18:39 DEBUG : Using config file from "/root/.config/rclone/rclone.conf"
2023/03/26 16:18:39 DEBUG : Resolving service "s3" region "us-east-1"
2023/03/26 16:19:39 DEBUG : Daemon timed out. Terminating daemon pid 21497
2023/03/26 16:19:39 Fatal error: mount not ready

You want to use --log-file /some/location/rclone.log -vv and share the log as if you use daemon, it puts it in the background and there isn't anything to check.

It would also be worth trying without --daemon and seeing if that works - if it does that eliminates a lot of potential problems.

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