Jump to content
linuxserver.io

[Support] Linuxserver.io - Resilio Sync

89 posts in this topic Last Reply

Recommended Posts

Could someone explain to me the difference between the sync and downloads folders?
  -v :/sync \ -v :/downloads \

I'm guessing that you can sync from /sync and to /downloads

Sent from my LG-H815 using Tapatalk

Share this post


Link to post

Pretty sure the /sync folder is where you keep your folders, but the /download one is where the chunks of the files are stored while it get transferred.

 

Like any bitTorrent client, one place to download, one place to store the end result.

 

In the case of unRaid, the /download would require a lot write and read, so put that in a cache if you can, then the /sync might be where the final file is moved and no more write on it?

Share this post


Link to post
On 2/6/2018 at 8:34 PM, Sniff said:

Is there a method to change some of the settings within resilio sync?  Specifically the advanced power settings.  Sync is set by default to rescan the directories every 10 minutes.  Folder_Rescan_Interval is set to 600 seconds.  Sync allows the change in the menu, then advises to restart to take effect.  Upon restart, all changes revert.  Is there a config file somewhere that we can alter?

 

Sync is spinning up my drives numerous times per day just to scan.  

 

I had this same issue and found a solution here: https://github.com/linuxserver/docker-resilio-sync/issues/7

 

I'm totally new to all of this so, to be clear, here are the steps I made: 

  • Update power user preferences in web-ui
  • Run the following code in unRAID terminal: sudo docker exec resilio-sync /bin/bash -c 'kill $(pidof rslsync)'
  • To test, I restarted my Resilio docker and verified the settings were saved. 

I changed my rescan interval to 86400 (one day). Also set config_refresh_interval, config_save_interval to the same value (as per this link). I have to wait to see if this allows my drives to sleep. My current sync is 30% complete. I feel like it should still sleep because the server sending to me is only scheduled to work from 10 PM to 8 AM (it's 4 PM now), but it may just keep the drive active while it waits. 

 

After my initial sync is complete I'm going to toy with the idea of rescanning once per week. According to this Resilio article it's really just a backup check. I'm amazed it's this difficult to change. I'm syncing a few TB and I don't think that's uncommon. 

Edited by SaintAlfonzo

Share this post


Link to post

Dumb question about these rescan intervals and similar parameters: As it is on the unRaid/NAS machine, technically it will never have any change from there, but only from my peers folders (other computers). How does these settings influence this kind of settings?

 

I am confused with this sentence from your article above:

Quote
  • You've got really many files on your storage, so folder rescan time is comparable to the rescan period.

 

Edited by Polopollo

Share this post


Link to post

I've been using Resilio-sync successfully for quite some time now, but recently it seems to have gotten stuck "indexing" one of my read only shares, which in this case, is /mnt/disk1. Indexing ran constantly overnight, I woke up to over 44 million reads on disk1 at the main unraid management page. I know I can view the logs for resilio on the docker page, but how do I grab those out short of a copy/paste of the log window?

Share this post


Link to post

I copied out the resilio log from the link on the  unraid docker page, hopefully that's enough to go on. For what it's worth, resilio still is able to copy files from my local system to the destination system, all the while endlessly indexing disk1.

resilio_log.txt

Share this post


Link to post

I mapped another path (in addition to /sync and /downloads) in the container.

The path is mapped to an unassigned device, so mapped to /mnt/disks/,,,, 

 

I disconnected a synced folder, moved the folder to that path, and when I reconnect the folder and tries to change it's location 

to the new path I get the following error:

Sync Home does not have permission to access this folder.

 

 

 

Share this post


Link to post

How do i mount another sync path in the docker? is it possible?

 

Im trying to setup my nextcloud folder so i can encrypt/sync to a remote server but i dont want to copy the nextcloud folder to the resilio Sync folder i have.?

 

Any suggestions please?

Share this post


Link to post

So, I have managed to get eh docker running with Unraid (as a trial) but I cannot seem to find out how to get the Sync to see the folders on my share as I want to sync folders over the internet between 2 servers.

 

Can someone point me in the right direction please

Share this post


Link to post

I set mine up like this. (see attached)

 

You can always add another host path for more folders.

Udklip.PNG

Share this post


Link to post

I have got a problem with this docker container. On one of my unraid servers I am unable for days now to reach the web UI with chrome (and any other browser) on my PC, but I can reach it with my phone without problems via wifi. It just redirects to /gui and asks for the password and then loads indefinately.

 

I do not know if it would be very helpful if I upload my docker log, since it is spammed with all info messages from the resilio client. (It created multiple GB logfiles over two days, so I rotate it now to 10MB, this should be fixed too, since the unraid resilio container does not do this, I am using it on another server)

 

Could someone please assist me in what information you would need to diagnose that problem.

 

This is a part of my docker log file, from the time I tried to access the page. I do not know if it is relevant at all, since it writes multiple 100 lines with information about my folders per minute... I removed the Hex code in the brackets, I did not know if it is personal data or not.

[20190215 21:25:50.106] PD[5BDB] [DDBA] (a:5): checking tunnel[0x1] connection to 192.168.1.20:27757/TCP
[20190215 21:25:51.106] 21TunnelCheckConnection[0x2]: raised error SE_NET_TIMEOUT TunnelCheckConnection: timeout
[20190215 21:25:51.106] PD[E773] [B249] (a:2): failed to open tunnel[0x2] to 172.17.0.3:55555/TCP - error: SE_NET_TIMEOUT TunnelCheckConnection: timeout enc: SRP, tunnels: 1
[20190215 21:25:51.106] 21TunnelCheckConnection[0x2][<NULL>] [B249]: destroyed
[20190215 21:25:51.106] 21TunnelCheckConnection[0x3]: raised error SE_NET_TIMEOUT TunnelCheckConnection: timeout
[20190215 21:25:51.106] PD[590B] [B249] (a:2): failed to open tunnel[0x3] to 172.17.0.3:55555/TCP - error: SE_NET_TIMEOUT TunnelCheckConnection: timeout enc: SRP, tunnels: 1
[20190215 21:25:51.106] 21TunnelCheckConnection[0x3][<NULL>] [B249]: destroyed
[20190215 21:25:51.106] 21TunnelCheckConnection[0x4]: raised error SE_NET_TIMEOUT TunnelCheckConnection: timeout
[20190215 21:25:51.106] PD[2481] [B249] (a:2): failed to open tunnel[0x4] to 172.17.0.3:55555/TCP - error: SE_NET_TIMEOUT TunnelCheckConnection: timeout enc: SRP, tunnels: 1
[20190215 21:25:51.106] 21TunnelCheckConnection[0x4][<NULL>] [B249]: destroyed
[20190215 21:25:51.106] 21TunnelCheckConnection[0x5][<NULL>] [B249]: created outgoing
[20190215 21:25:51.106] 21TunnelCheckConnection[0x5][<NULL>] [B249]: Connect to 172.17.0.3:55555 via TCP
[20190215 21:25:51.106] PD[E773] [B249] (a:2): checking tunnel[0x5] connection to 172.17.0.3:55555/TCP
[20190215 21:25:51.106] 21TunnelCheckConnection[0x6][<NULL>] [B249]: created outgoing
[20190215 21:25:51.106] 21TunnelCheckConnection[0x6][<NULL>] [B249]: Connect to 172.17.0.3:55555 via TCP
[20190215 21:25:51.106] PD[590B] [B249] (a:2): checking tunnel[0x6] connection to 172.17.0.3:55555/TCP
[20190215 21:25:51.106] 21TunnelCheckConnection[0x7][<NULL>] [B249]: created outgoing
[20190215 21:25:51.106] 21TunnelCheckConnection[0x7][<NULL>] [B249]: Connect to 172.17.0.3:55555 via TCP
[20190215 21:25:51.106] PD[2481] [B249] (a:2): checking tunnel[0x7] connection to 172.17.0.3:55555/TCP
[20190215 21:25:54.613] 16TunnelConnection[0x8]: received ping
[20190215 21:25:54.614] 16TunnelConnection[0x9]: received ping

This is my config:

config1.thumb.PNG.a6c826e53a4176eeed18879eb08c1308.PNGconfig2.thumb.PNG.f1b8aca8b72fedaa292a71fc777a4aa6.PNG

Edited by alexhalbi
added config

Share this post


Link to post
Posted (edited)

Hi guys, i try setup resilio sync to sync my unraid share folder to network share. Where i can put source and destination?  I don't know how tu setup resilio sync. How to setup schedule sync?

Can you help me please?

Edited by Kristijan

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now