Questions tagged [rclone]

98 questions
1
vote
1 answer

Installing rclone according to the official instructions but permission denied

Noob question, but hear me out So I installed rclone word-for-word according to this (https://rclone.org/install/) However, when I got around to rclone config the terminal returned 2020/02/28 11:37:29 Failed to load config file…
AngryWeeb
  • 65
  • 1
  • 9
1
vote
1 answer

Rclone installation in docker on heroku with telegram bot [Help]

I want to install rclone on a docker image in heroku to able to use Rclone with python telegram bot I made a heroku.yml file build: docker: worker: Dockerfile run: worker: bash start.sh And start.sh as python3 -m bot And Dockerfile as FROM…
1
vote
1 answer

How to configure python-rclone?

I installed the package rclone in Debian server and It's work. rclone ls mygdrive:mypath Now, I want to use rclone in my python script so I installed python-rclone pip install python-rclone But how can I configure it to use the main config file…
Omidreza Bagheri
  • 781
  • 1
  • 11
  • 22
0
votes
0 answers

Crontab working for everything but rclone

I am trying to get my rclone backups to run daily, but for some reason my cron executes everything but my rclone. 52 7 * * * rclone sync /home/piserver/homeassistant GoogleDrive:/homeassistant_partial_$((date +%A)|tr '[:upper:]' '[:lower:]') -vv…
AleXSR700
  • 11
  • 2
0
votes
2 answers

Run sh file as root in python file

i´m trying to run an .sh file from my python skript to manually start a synch process with clone. is there an easy way? I tryed: os.system('sudo su') os.system('cd /home/pi/Desktop/webcam') os.system('./clone.sh') but after the first comand nothing…
zzzw3838
  • 39
  • 1
  • 5
0
votes
0 answers

Github Action Writing Large TIFF file to AWS S3 with GDAL via RCLONE: file not created

Situation Trying to merge 4 files (each 700MB) with GDAL which are stored on S3. created a mosaic.vrt which is stored on S3 bucket and accessible. Dat can be accessed with rclone mount from github action with python module subprocess. For smale…
0
votes
0 answers

rclone config not listing shared drives for configuration

I am configuring "rclone v1.61.1" in Raspberry Pi Model4 using command rclone config. After processing the client ID and secret key, its not listing shared drives as shown below: Configure this as a Shared Drive (Team Drive)? y) Yes n) No…
linux01
  • 41
  • 2
  • 7
0
votes
1 answer

prefect-shell: Task run encountered an exception: RuntimeError: PID xxx failed with return code 6

When I run Rclone to list the difference between a local folder and a S3 folder in shell directly, it succeed. ➜ rclone copy --dry-run --include="*.tdms" --use-json-log /Users/hongbo-miao/Documents/motor…
Hongbo Miao
  • 45,290
  • 60
  • 174
  • 267
0
votes
0 answers

aws s3 restored image files, has the extension jpg, but were all gzip

we had some files stored in AWS S3 in the storage class of Glacier Deep Archive, and they have been restored and can be downloaded. all of them are images and videos. when i download it directly from browser, it is ok, all can be opened…
jimzcc
  • 142
  • 4
  • 13
0
votes
0 answers

rclone does not fit screen when using --progress with --transfers 400

How do I make rclone just show transferred and elapsed time, as showing everything that is transferred at --transfers 400 does not fit the screen anymore and bugs out, especially when under the screen Terminal command.
Mark Lopez
  • 770
  • 1
  • 6
  • 10
0
votes
0 answers

Rclone error: status code: 400, request id: tx000007de-xxxxx-default, host id: 2023/03/28 03:38:16 ERROR : path/to/data Failed to copy: BadDigest

We are trying to rclone sync from one Ceph s3 bucket to another, both in different Ceph clusters. Around 10% of the uploads are failing with below error: status code: 400, request id: tx00--some-id-default, host id: 2023/03/28 03:38:16 ERROR :…
Anurag Arya
  • 32
  • 1
  • 5
0
votes
1 answer

How to specify file extension when using inotifywait

How do I specify file extensions to be monitored when using inotifywait ? Given this code cd "tmp" inotifywait -me close_write --format %f . | while read file do rclone move "$file" … done Where to add the file extensions in the code? I tried…
0
votes
2 answers

Shell script rclone push to object storage works when run manually but not programmatically

Background I have a docker container that runs nginx-rtmp module On this container I receive an rtmp stream, that is recorded, transformed to hls and displayed on an html page the streaming and displaying via hls works fine Goal My goal is to…
Merlin Duty
  • 25
  • 1
  • 7
0
votes
1 answer

Efficiently list a few directories among many with rclone filtering

Running the following produces a quick listing of a directory with e.g. 10 objects: $ rclone ls s3:bucket/dir1/ ... In an attempt to perform some other operation (besides listing) on the objects in this and one or two other directories, I'm using a…
davidvandebunte
  • 1,286
  • 18
  • 25
0
votes
0 answers

Rclone S3 mount not working on Windows EC2 machine startup

I'm able to mount S3 as a file system in Windows by manually triggering a script rclone mount aws:dev-bucket S: --vfs-cache-mode full Im trying to automate it by executing the script on EC2 instance startup using Task Scheduler The mount does not…