Rclone mount automated

What is the problem you are having with rclone?

I am trying to get my rclone mount to sync changes

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

rclone v1.53.3-DEV

  • os/arch: linux/amd64
  • go version: go1.18.1
    (the apt version)

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

Storj as an s3 bucket

I removed the command things because I don't know how to do something.
I'd like my mount to "sync" everytime I change something (e.g. I upload a photo from my phone, I can see it on my pc only if I unmount the remote and I re execute the command).
I'd like this to be automated.
I'm sorry for my bad English and my poor knowledge of the software.

welcome to the forum,

first thing, need to update to v1.63.0

and as it is apt version run first:

sudo apt remove rclone

It looks like debian ancient repo version

I am doing this.

if you upload a file on your phone, it should appear in the mount after 5 minutes.

that can be tweaked by changing
--dir-cache-time duration Time to cache directory entries for (default 5m0s)

nicolo@pop-os:~$ rclone mount fotocloud:cloud/moto_e(7)_power/media/image/DCIM/Camera/ foto/ --daemon
2023/07/06 21:23:01 NOTICE: s3: s3 provider "other" not known - please set correctly
Now the command doesn't work anymore

I didn't know about that. Thanks!

please post the full output of rclone version

rclone v1.63.0

  • os/version: debian bookworm/sid (64 bit)
  • os/kernel: 6.2.6-76060206-generic (x86_64)
  • os/type: linux
  • os/arch: amd64
  • go/version: go1.20.5
  • go/linking: static
  • go/tags: none

for testing your mount command

  1. remove --daemon
  2. add -vv

rclone mount fotocloud:cloud/moto_e(7)_power/media/image/DCIM/Camera/ foto/ -vv

and post the output of rclone config show fotocloud:
make sure to remove private info such as access_key_id and secret_access_key
should look something like

rclone config show remote:
type = s3
provider = Wasabi
access_key_id = redacted
secret_access_key = redacted
region = us-east-2
endpoint = s3.us-east-2.wasabisys.com
nicolo@pop-os:~$ rclone mount fotocloud:cloud/moto_e\(7\)_power/media/image/DCIM/Camera/ foto/ -vv
2023/07/06 21:30:27 DEBUG : rclone: Version "v1.63.0" starting with parameters ["rclone" "mount" "fotocloud:cloud/moto_e(7)_power/media/image/DCIM/Camera/" "foto/" "-vv"]
2023/07/06 21:30:27 DEBUG : Creating backend with remote "fotocloud:cloud/moto_e(7)_power/media/image/DCIM/Camera/"
2023/07/06 21:30:27 DEBUG : Using config file from "/home/nicolo/.config/rclone/rclone.conf"
2023/07/06 21:30:27 DEBUG : name = "fotocloud", root = "cloud/moto_e(7)_power/media/image/DCIM/Camera/", opt = &s3.Options{Provider:"other", EnvAuth:false, AccessKeyID:"jw6sytrl7vxg2jpd7pwqyo5qko3q", SecretAccessKey:"j2ezsmq3xrxfzukiekrapdgxtqtehfuromjcspyocy6wdtfmau67s", Region:"", Endpoint:"https://gateway.storjshare.io", STSEndpoint:"", LocationConstraint:"", ACL:"private", BucketACL:"", RequesterPays:false, ServerSideEncryption:"", SSEKMSKeyID:"", SSECustomerAlgorithm:"", SSECustomerKey:"", SSECustomerKeyBase64:"", SSECustomerKeyMD5:"", StorageClass:"", UploadCutoff:209715200, CopyCutoff:4999341932, ChunkSize:5242880, MaxUploadParts:10000, DisableChecksum:false, SharedCredentialsFile:"", Profile:"", SessionToken:"", UploadConcurrency:4, ForcePathStyle:true, V2Auth:false, UseAccelerateEndpoint:false, LeavePartsOnError:false, ListChunk:1000, ListVersion:0, ListURLEncode:fs.Tristate{Value:false, Valid:false}, NoCheckBucket:false, NoHead:false, NoHeadObject:false, Enc:0x3000002, MemoryPoolFlushTime:60000000000, MemoryPoolUseMmap:false, DisableHTTP2:false, DownloadURL:"", DirectoryMarkers:false, UseMultipartEtag:fs.Tristate{Value:false, Valid:false}, UsePresignedRequest:false, Versions:false, VersionAt:fs.Time{wall:0x0, ext:0, loc:(*time.Location)(nil)}, Decompress:false, MightGzip:fs.Tristate{Value:false, Valid:false}, UseAcceptEncodingGzip:fs.Tristate{Value:false, Valid:false}, NoSystemMetadata:false}
2023/07/06 21:30:27 NOTICE: s3: s3 provider "other" not known - please set correctly
2023/07/06 21:30:27 DEBUG : Resolving service "s3" region "us-east-1"
2023/07/06 21:30:27 DEBUG : fs cache: renaming cache item "fotocloud:cloud/moto_e(7)_power/media/image/DCIM/Camera/" to be canonical "fotocloud:cloud/moto_e(7)_power/media/image/DCIM/Camera"
2023/07/06 21:30:27 INFO  : S3 bucket cloud path moto_e(7)_power/media/image/DCIM/Camera: poll-interval is not supported by this remote
2023/07/06 21:30:27 Fatal error: failed to mount FUSE fs: directory already mounted, use --allow-non-empty to mount anyway: /home/nicolo/foto
type = s3
provider = other
env_auth = false
access_key_id = x
secret_access_key = x
endpoint = https://gateway.storjshare.io
acl = private

that means you already have a rclone mount command running since you are using --daemon
need to kill that.

Sorry, unmounted and now it works

ok, anything else you need help with?

even with --daemon, it was only a warning

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