Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

[Support] binhex - Rclone

Featured Replies

Overview: Support for Docker image arch-rclone in the binhex repo.

Application: Rclone - https://rclone.org/

Docker Hub: https://hub.docker.com/r/binhex/arch-rclone/

GitHub: https://github.com/binhex/arch-rclone

Documentation: https://github.com/binhex/documentation

 

If you appreciate my work, then please consider buying me a beer 😁

 

btn_donate_SM.gif

 

For other Docker support threads and requests, news and Docker template support for the binhex repository please use the "General" thread here

  • Replies 196
  • Views 50.4k
  • Created
  • Last Reply

Top Posters In This Topic

Most Popular Posts

  • hi guys, this feature is now in, please pull down latest image then create new variable with key name 'RCLONE_DIRECTION', valid values are 'localtoremote', 'remotetolocal', or 'both', if you dont know

  • MyPoorUnraid
    MyPoorUnraid

    Hello, thanks for this docker. I've just finished setting it up, and wanted to share a possible workaround for the issue mentioned here: https://github.com/binhex/arch-rclone/issues/1   Note

  • Hello, i have installed the docker container on my Unraid and try to access on the Web-UI, but with an error "ERR_CONNECTION_REFUSED". In the container config, i have activated this with the

Posted Images

  • Author

IMPORTANT - Please note this image requires the user to create the rclone configuration file up front, more instruction on this will be added to the faq shortly.

Tried running this but it stops immediately after starting. tried changing ports incase that was the problem but that didn't work.

can't make it to the console to run rclone wizard.

  • Author
21 hours ago, Aussybob said:

Tried running this but it stops immediately after starting. tried changing ports incase that was the problem but that didn't work.

can't make it to the console to run rclone wizard.

ahh i think what is happening is the script is exiting out because there is no config file, ok i have relaxed this so that now it does an infinite pause which should give you enough time to configure, please pull down latest image by doing 'force update' and then follow faq q1:- https://github.com/binhex/documentation/blob/master/docker/faq/rclone.md

thanks mate. I had to create a config on another machine with rclone and then transferred it and the container starts :)

GUI looks great!

Not sure what to add to the rclone_media_shares variable? couldn't find any reference online..

image.thumb.png.83558c6079f578a92924eb7644d707ed.png

 

getting this error..

image.png.74611288187bca068c67a932511e8bb0.png

 

 

Edited by Aussybob

Hi,

 

I'm able to run the rclone config command successfully, but the config file is not appearing in the config folder. I can see the config while in the container terminal, but unraid does not see it

 

image.png.112eb189b541eee56494ead3c466ba92.png

 

image.thumb.png.25db8dda4345eeccee611ba2461a9308.png

 

image.png.09ae2201c4599b81017e8efbdb63ca12.png

image.png.6114e7dfce668016502dab596e11e760.png

 

Edited by dopeboeh

  • Author
On 7/15/2021 at 1:49 PM, Aussybob said:

thanks mate. I had to create a config on another machine with rclone and then transferred it and the container starts :)

GUI looks great!

Not sure what to add to the rclone_media_shares variable? couldn't find any reference online..

image.thumb.png.83558c6079f578a92924eb7644d707ed.png

 

getting this error..

image.png.74611288187bca068c67a932511e8bb0.png

 

 

yeah so RCLONE_MEDIA_SHARE is the share (or folder) that you want copied/sync'd to the cloud provider, so assuming you set /media to /mnt/user and you have a share name of Movies, you would set RCLONE_MEDIA_SHARE to /media/Movies, that would then do a recursive sync of all files and folders in the share 'Movies'.

 

if you want only part of the share copied up then specify RCLONE_MEDIA_SHARE as a sub directory of the share, e.g. /media/Movies/SD

  • Author
10 hours ago, dopeboeh said:

I'm able to run the rclone config command successfully, but the config file is not appearing in the config folder. I can see the config while in the container terminal, but unraid does not see it

what command did you issue inside the container?, if you want to save the config to a specific path then you need to run rclone config like this:-

 

rclone config --config /config/rclone.conf

if you dont specify the path with --config then it will use the default path which is inside the container, from memory its somewhere in the users home directory (/home/nobody/)

Hello,

i have installed the docker container on my Unraid and try to access on the Web-UI, but with an error "ERR_CONNECTION_REFUSED".

In the container config, i have activated this with the option "ENABLE_WEBUI" = yes

What is my error or what i should make to run it?

Thanks in advance

  • Author
17 hours ago, [email protected] said:

Hello,

i have installed the docker container on my Unraid and try to access on the Web-UI, but with an error "ERR_CONNECTION_REFUSED".

In the container config, i have activated this with the option "ENABLE_WEBUI" = yes

What is my error or what i should make to run it?

Thanks in advance

 

take a look at /config/supervisord.log, its probably that you havent run through the rclone config wizard yet see q1:- https://github.com/binhex/documentation/blob/master/docker/faq/rclone.md

Hello Binhex,

 

thanks for your help. Itµs working. 

Strange is; after restart the container, the config was Empty.

BR

Christophe 

On 7/20/2021 at 3:50 AM, [email protected] said:

Hello,

i have installed the docker container on my Unraid and try to access on the Web-UI, but with an error "ERR_CONNECTION_REFUSED".

In the container config, i have activated this with the option "ENABLE_WEBUI" = yes

What is my error or what i should make to run it?

Thanks in advance

 

On 7/20/2021 at 9:35 PM, binhex said:

 

take a look at /config/supervisord.log, its probably that you havent run through the rclone config wizard yet see q1:- https://github.com/binhex/documentation/blob/master/docker/faq/rclone.md

Hi,
similar story, I installed the container, followed the config wizard and setup 1 FTP server.
After that, I expected to then have access to the WebUI, sadly not.

 

Still have this error in the logs...
RCLONE_CONFIG_PATH '/config/rclone/config/rclone.conf' does not exist, please run 'rclone config --config /config/rclone/config/rclone.conf' from within the container

 

Also, each time the container restarts, the config seems to get lost.

 

Any suggestions that I could try would be very much appreciated.

Edited by JT24

  • Author
3 minutes ago, JT24 said:

Still have this error in the logs...
RCLONE_CONFIG_PATH '/config/rclone/config/rclone.conf' does not exist, please run 'rclone config --config /config/rclone/config/rclone.conf' from within the container

does the rclone config file exist at that location? '/config/rclone/config/rclone.conf'

Yes. Don't have permission to view it though.

 

From the logs after a restart just then...
2021-07-22 19:37:59.194454 [info] RCLONE_CONFIG_PATH defined as '/config/rclone/config/rclone.conf'
2021-07-22 19:37:59.326300 [crit] RCLONE_MEDIA_SHARES not defined,(via -e RCLONE_MEDIA_SHARES), exiting script...

  • Author
52 minutes ago, JT24 said:

Yes. Don't have permission to view it though.

 

From the logs after a restart just then...
2021-07-22 19:37:59.194454 [info] RCLONE_CONFIG_PATH defined as '/config/rclone/config/rclone.conf'
2021-07-22 19:37:59.326300 [crit] RCLONE_MEDIA_SHARES not defined,(via -e RCLONE_MEDIA_SHARES), exiting script...

hmm so you dont have the message:-

RCLONE_CONFIG_PATH '/config/rclone/config/rclone.conf' does not exist, please run 'rclone config --config /config/rclone/config/rclone.conf' from within the container

looking at the issue now its around the fact you haven't defined RCLONE_MEDIA_SHARES to backup, see here:-

https://forums.unraid.net/topic/111235-support-binhex-rclone/?do=findComment&comment=1016547

 

EDIT - its been asked twice so written up a FAQ for it now, see Q3:- https://github.com/binhex/documentation/blob/master/docker/faq/rclone.md

I had noticed when I was trying to do the config from the command line i would get the error "NOTICE: Config file "/home/nobody/.config/rclone/rclone.conf" not found - using defaults" and giving the rsync listremotes would not return any results even after adding my B2 through the web config. I was able to make a symlink with

ln -s /config/rclone/config/rclone.conf /home/nobody/.config/rclone/rclone.conf

This allowed b2 to show up when I run the config.

 

The question I am now facing is the line in the log files for "Failed to create file system for "remote:/media/Media/Photos": didn't find section in config file". I can see my photo folders if I use ls on the path /media/Media/Photos. Is there something I'm missing to do in the config? All I see is the B2, I'm guessing that I need to add another remote there, but don't see an option for local files.

 

Thanks in advance

 

  • 4 weeks later...

Is there currently a way to correctly configure rclone for us GDrive users to not run into issues with the 750GB upload limit?

Hi All

 

I have installed binhex rclone and i have connected to my google drive.  However i cannot get the mount option to work.

 

Is there anyone who would be interested in quick remote session and show me what im doing wrong

Edited by Mat1987

  • 3 weeks later...

Thanks for the docker, this is very hendy.

 

One issue I have is around the paths.  

 

Container Path: /media is /mnt/user/data
 

RCLONE_MEDIA_SHARES is /media/testrc

 

I am trying to setup rclone so it syncs the the /mnt/user/data/testrc directory to OneDrive:/testrc

with the current setup I end up with One:Drive:/media/testrc

 

What should the settings above be to get my desired result?

  • Author
Thanks for the docker, this is very hendy.
 
One issue I have is around the paths.  
 
Container Path: /media is /mnt/user/data
 
RCLONE_MEDIA_SHARES is /media/testrc
 
I am trying to setup rclone so it syncs the the /mnt/user/data/testrc directory to OneDrive:/testrc
with the current setup I end up with One:Drive:/media/testrc
 
What should the settings above be to get my desired result?
See this issue, same problem:- https://github.com/binhex/arch-rclone/issues/1

Sent from my CLT-L09 using Tapatalk

18 hours ago, binhex said:

See this issue, same problem:- https://github.com/binhex/arch-rclone/issues/1

Sent from my CLT-L09 using Tapatalk
 

OK, not me then.  Thanks.  I did think of adding another share name so that /data and /media are the same directory.  But I since realised rclone only offers 1-way sync to that doesn't address what I need.   I might still use it for 1-way synching for Google Drive and Dropbox.

 

https://hub.docker.com/r/driveone/onedrive 

This looks like it has 2-way synching for OneDrive, but trying to get it working in UnRaid has proven beyond my capabilities.

Edited by dalben

  • Author
On 9/5/2021 at 4:45 AM, dalben said:

 I might still use it for 1-way synching for Google Drive and Dropbox.

i use this docker image myself for exactly that, i use foldersync on my android phone to sync to unraid, then i use this docker image to sync from unraid to both google drive and onedrive, works really well.

30 minutes ago, binhex said:

i use this docker image myself for exactly that, i use foldersync on my android phone to sync to unraid, then i use this docker image to sync from unraid to both google drive and onedrive, works really well.

My use case is where 3 people share a OneDrive on laptops and mobiles, where as I am fixated on saving to my unraid server. Hence the need for 2 way syncing between unraid and OneDrive. 

 

Dropbox and Gmail are just additional backups

  • Author
On 9/5/2021 at 4:45 AM, dalben said:

OK, not me then.  Thanks.  I did think of adding another share name so that /data and /media are the same directory.  But I since realised rclone only offers 1-way sync to that doesn't address what I need.   I might still use it for 1-way synching for Google Drive and Dropbox.

 

https://hub.docker.com/r/driveone/onedrive 

This looks like it has 2-way synching for OneDrive, but trying to get it working in UnRaid has proven beyond my capabilities.

i get it, hmm interesting, so i think rclone can do this but i would need to do some additional coding, probably another env var something like RCLONE_DIRECTION which would have values of 'localtoremote', 'remotetolocal', or 'both', then have additional code to detect the env var and perform the required sync operation, it would take a bit of testing but should be possible i think, no promises but i might take a look in the next few days.

51 minutes ago, binhex said:

i get it, hmm interesting, so i think rclone can do this but i would need to do some additional coding, probably another env var something like RCLONE_DIRECTION which would have values of 'localtoremote', 'remotetolocal', or 'both', then have additional code to detect the env var and perform the required sync operation, it would take a bit of testing but should be possible i think, no promises but i might take a look in the next few days.

 

There's a bit of talk about 2-way synching for rclone online. There doesn't seem to be much drive from the rclone devs but there are a couple of add-on scripts to rclone that can achieve 2-way.

 

Don't waste too much time on a fix though, my use case is probably an edge case.

Edited by dalben

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.