Jump to content
linuxserver.io

[Support] Linuxserver.io - Resilio Sync

135 posts in this topic Last Reply

Recommended Posts

I have a resilio-sync file that is taking up 5.4 GB of space on my appdata folder.  This is helping to cause my docker image to fill quickly.  Is there something that i may have set up wrong?

 

image.thumb.png.1e4d887a9ea3415e046e2d6496c0c26b.png

Share this post


Link to post

I need help!

 

I have installed and used Resilio Sync on Mac and Synology without any issues.

 

I cannot configure Resilio Sync for UNRAID.

I do not know how and where to add share folders.

When I want to choose a folder to sync, I do not see the list of my share folders, but some other folders I do not recognize (bd_build, bin, boot, config..etc).

When I want to create a new folder, error message states "You do not have permissions to write to this directory".

There is an annoying alert that asks me to update app. Then routes me to https://www.resilio.com/platforms/desktop/ which does NOT list download site for UNRAID.

 

I have never encountered these difficulties when setting up Sync on Mac or Synology. This is frustrating.

 

Does anyone know how to set up Resilio sync so that I can normally select shares to sync with???

 

Below are screen shots.

 

Sync 0.jpg

Sync 1.jpg

sync 2.jpg

sync 3.jpg

sync 4.jpg

Share this post


Link to post

It's been a bit since I've installed the docker, but it looks from your screenshot that you're missing some configuration options. Here's what mine looks like. "Host Path 2" is what shares I'm syncing. In my case I passed through /mnt because I'm syncing disk-to-disk between two Unraid systems.

 

EDIT: I see you're actually using the Resilio from the limetech repository, I'm using Linuxserver's repo. Not sure what settings to use or not use on the Limetech version.

 

Capture.JPG

Edited by master.h

Share this post


Link to post

Hi, 

I configured Resiolio-sync, and it's running

 

NEW ISSUE!

- My docker image filled up to 93% (from 20GB of total space)

 

When going to Docker-->Container Size, it shows:

Name           Container .   Wrtiable      Log

resilio-sync .  122 MB        302 kB        15.3 GB

 

 

It's clear Resiolio-sync is filling up my docker image with log files.

 

How do I flush (clear) log files?

How do I prevent this from happening again?

 

thanks.

Share this post


Link to post

I can't remember off the top of my head how to clear logs, I think you can force an update on the docker and it'll wipe all the logs. To prevent it you can add this to the "extra parameters" field week you're editing the docker with the advanced settings button turned on. It will limit your max log size to 50 megabytes

 

--log-opt max-size=50m

 

Share this post


Link to post
1 hour ago, emod said:

Hi, 

I configured Resiolio-sync, and it's running

 

NEW ISSUE!

- My docker image filled up to 93% (from 20GB of total space)

 

When going to Docker-->Container Size, it shows:

Name           Container .   Wrtiable      Log

resilio-sync .  122 MB        302 kB        15.3 GB

 

 

It's clear Resiolio-sync is filling up my docker image with log files.

 

How do I flush (clear) log files?

How do I prevent this from happening again?

 

thanks.

I had the same issue with resilio sync. If you follow the first post on this page it will help you delete the logs from resilio sync then follow what master.h mentioned to keep the logs from getting crazy in size. 

 

Share this post


Link to post
On 6/27/2019 at 4:57 PM, master.h said:

It's been a bit since I've installed the docker, but it looks from your screenshot that you're missing some configuration options. Here's what mine looks like. "Host Path 2" is what shares I'm syncing. In my case I passed through /mnt because I'm syncing disk-to-disk between two Unraid systems.

 

EDIT: I see you're actually using the Resilio from the limetech repository, I'm using Linuxserver's repo. Not sure what settings to use or not use on the Limetech version.

 

Capture.JPG

Thanks.

I deinstalled Resilio-sync and my docker image went down significantly. It's normal now. I want to reinstall Resilio Sync from linux repository (and not from NOT limeware repository via CA )

 

 

This is dumb question, but I've never done this before.

 

How do I pull linux/resilio-sync image to my unraid?

 

I see image is on:

https://hub.docker.com/r/linuxserver/resilio-sync/

https://github.com/linuxserver/docker-resilio-sync

 

What do I do in UNRAID to load this?

 

In UNRAID, I went to DOCKER tab, clicked on "Add Container", then under "Repository: entered above link. The command failed. With both links.

So, how do I do it?

 

Do I go into terminal window and then enter "docker pull linuxserver/resilio-sync". If that is correct, please tell me in WHICH folder in terminal should I be "sitting in" when I execute the command?

docker1.jpg

docker2.jpg

docker3.jpg

Edited by emod

Share this post


Link to post
16 minutes ago, emod said:

How do I pull linux/resilio-sync image to my unraid?

 

 

I installed the plugin Community Applications on my server. It will add an "apps" tab to your main Unraid webpage. It's sort of like the iOS app store, or Google Play app store. Search/browse for the docker/plugin you want, and it automatically installs from there. You can download the plugin here: https://forums.unraid.net/topic/38582-plug-in-community-applications/

 

That's how I install all my dockers. I don't know how to add repos in manually.

 

Share this post


Link to post
Just now, master.h said:

 

 

I installed the plugin Community Applications on my server. It will add an "apps" tab to your main Unraid webpage. It's sort of like the iOS app store, or Google Play app store. Search/browse for the docker/plugin you want, and it automatically installs from there. You can download the plugin here: https://forums.unraid.net/topic/38582-plug-in-community-applications/

 

That's how I install all my dockers. I don't know how to add repos in manually.

 

Ah, ok. 

 

I just realized there are TWO docker images in APP tab for Resilio Sync. I installed the one from linux server via APP tab and Community Applications.

 

Let's see if it works.......and if, with correct /downloads PATH , it doesn't baloon my docker image.

Share this post


Link to post

Just for future reference, (and for anyone else that reads this post), forget that the "Docker Repositories" tab ever exists.  You'll never use it if CA is installed.  Unfortunately, for various reasons (none of which make sense to me) that section is part of unRaid's GUI, and I am not in the mood to have CA actually delete it.

Share this post


Link to post

Wondering if anyone can help me. ive downloaded sync on unraid and ios iphone. im able to send single photos to sync in unraid but if i make a standard folder on sync iphone and try to send that to unraid sync get a message saying "sync home does not have permission to access this folder". Downloading sync for desktop and trying the links that the phone made for the folder on the desktop app does work fine and making a folder on sync desktop and trying to send that to unraid sync does not work as well get the same message.
 

Share this post


Link to post

Can someone shed some light?

Resilio is supposedly the successor of BitTorrent Sync.

Yet I think this thread is older than the other (with the docker made by limetech).

Also I think resilio has no real free version, right?

 

Share this post


Link to post

What is the /download path in the container used for if you are syncing two folders?

Share this post


Link to post

I am trying to reduce the amount of data that is in my docker image as it seems to be filling up. My resilio-sync is taking up 12 GB which is way too much. Not sure why this is happening or what to do to fix it. I have the 

 

--log-opt max-size=50m --log-opt max-file=1

 

option in to reduce my log size already. My /sync path is /mnt/user which could be the problem but not sure how to get around this. I have data in /mnt/user/appdata that I want to sync and also /mnt/user/Media I want to sync so if I put any more information in the path I wont be able to get to the other folder

 

Any advice?

 

 

Share this post


Link to post
1 hour ago, rbronco21 said:

1. Can I set /downloads to /mnt/cache/docker/appdata/resilio-sync/downloads so the temp data goes to the cache drive instead of a user share?

 

General rule, you can set any path to go anywhere on your array.  PS, just because its a user share doesn't mean that it has to sit on the array.  Nothing is stopping you from creating a cache only user share.

 

1 hour ago, rbronco21 said:

2. Why does my container always say apply update? I just installed this using CA and only have https://github.com/MediaBrowser/Emby.Build/tree/master/unraid-templates/emby in repositories.

You're running 6.7.2  If you install CA Auto Update Applications, it will patch unRaid (whether or not you use the auto update) to reflect a change made at dockerHub that is causing an update to always show as being available.  (Alternatively, update to 6.8)

Share this post


Link to post

Yup, I'm on 6.7.0. I'll get an update done and get my Dockers squared away so it'll be ready for a new drive in a week or 2. Thanks for the help. 

Share this post


Link to post

Hello - Hope this is the correct thred to post in - also hope someone can help.

 

I have setup my sync to work and it does. 

 

When I download an item using UTorrent it sync's the files to the local server (UNRAID) but when I go to delete the files from the unraid box it tells me I dont have permission and wont remove them. When I delete them from the UTorrent server they are then removed from the local UNRAID server. 

What have I got wrong? I though I hadnt applied the correct file rights in the docker, but I cant see anywhere to do this...  Attached is a copy of the settings for the docker. 

 

Would be nice for files to be deleted on the local UNRAID server to be then deleted on the UTORRENT box. But I cant work out where I have gone wrong. 

sync.PNG

Edited by IKWeb

Share this post


Link to post

I've used Resilio way back to sync my data from my primary box to a secondary NAS.

I've recently purchased a SOC motherboard and set up another home NAS to replicate this.

Unfortunately, resilio seems content to sit at around 120mb/s.

If I disable tracker options and set it to use LAN only, it does nothing.

I've tried fiddling with the power user settings, encryption to see if that was the overhead and whatever else I can think of. Any ideas?

Both boxes have dual gigabit NICs and should be able to at least get gigabit for the transfers.

It will get there.. eventually.. of course, but the idea was to turn on the backup box for a few days a month to get synced and to run a parity check and otherwise keep it spun down.

Any suggestions as to where I might be wise to look? They're both set to bridge on the respective docker containers, would host maybe have an impact?

 

Solved it myself;

Setting the share on the receiving box to forced LAN and changing the docker containers on both sides to host mode proved to drastically increase speed.

Edited by Froberg
Solved.

Share this post


Link to post

Morning everyone.

 

Is there a way to setup sync without giving the container access to my entire server (/mnt/user)

 

Currently the /sync share needs mapping to this, but i only wish to sync 5 different shares between two servers - Sync really shouldn't need access to everything (not best practice)

Share this post


Link to post
52 minutes ago, sdamaged said:

Morning everyone.

 

Is there a way to setup sync without giving the container access to my entire server (/mnt/user)

 

Currently the /sync share needs mapping to this, but i only wish to sync 5 different shares between two servers - Sync really shouldn't need access to everything (not best practice)

 

Just add however many volume mappings you want and specify the specific folders? The default set-up is intended, I believe, for simple 1:1 sync between two folders on two devices, using it to sync multiple locations is outside of normal usage, but should work fine regardless.

Adding the specific volume mappings should make them visible in the UI just fine though.

Share this post


Link to post

Hey @Froberg, so i did try that first, and removed the /sync folder.  However the container then won't start, it seems like if it doesn't have the /sync folder mapped, the container won't run.

 

One would assume that when you start sync and then go to add a share, you would see the folders you had mapped, but it only shows /sync, with no way to move beyond that folder and access the other mappings you made

 

 

Sync.JPG

FLAC.JPG

Edited by sdamaged

Share this post


Link to post

Sorted issue with the people at linuxserver.  You need to map the container path using a prefix of /sync

 

Example below

 

Sorted now.  I found another bug whereby if you remove the /sync share completely the container won't start.  They have raised as a bug.

FLAC.JPG

Share this post


Link to post

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...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.