ipsingh06 / seedsync

Sync your seedbox. Fast. And more.
https://ipsingh06.github.io/seedsync/
Apache License 2.0
312 stars 43 forks source link

Ignore list? #105

Open casperse opened 3 years ago

casperse commented 3 years ago

I really need Seedhost to stop overwriting my ".folders" is there anyway to make it ignore any folder starting with "." I have to many files and subdirs to create a "whitelist" so somekind of ignore filter? Maybee this is possible using the existing AutoQueeue? sofar the solution have eluded me :-)

Anyway big thanks for creating this docker - I was struggeling to get rsync working and this is a life saver!

quadcom commented 3 years ago

What are you trying to do with it?

How do you have things set up? What is in '.folders'? Is that a folder that is on the server that holds config files?

quadcom commented 3 years ago

How I have my seedbox configured is there is the primary downloads folder "files". As seeds are coming in that is where they are saved. When the download is done it gets a hard link copy into a sync folder '11-sync'. It's that sync folder that Seedsync pulls from. That way I can sync my downloads with SS, delete when the SS download is done and still seed the torrent correctly from the primary downloads folder 'files'.

What I am not doing is setting Seedsync to sync at a top-level folder. That would be a nightmare.

root
    files
        [this is where all torrents are saved while downloading and seeding]
        11-SYNC (the folder Seedsync downloads from. Prepended with '11-' to keep it at the top)
            [this is where a hardlink copy of the completed seed is saved]
    .config
    .tmp
    scanner (where I tell SS to upload the scanner script)

image image image

casperse commented 3 years ago

"Seedsync to sync at a top-level folder." not exactly but the subfolders do have some other subfolders used by Resilio sync that creates these .ignore folders to keep track of some special synch to my devices.

I just keep the files on the seedhost server no hardlink (There is a temp folder and the remote server moves them to each category subfolder when they are downloaded - TV - Music etc... then Radarr or Sonarr moves and renames the files accordingly locally - sofar this have worked perfectly but the download sync is to delayed creating problems for local Radarr and Sonarr

quadcom commented 3 years ago

Seedsync will download whatever it's pointed at. Keep this in mind when creating the file structure. The hardlink step is used to keep SS grabbing the correct files, ignoring incomplete files while also not consuming extra HDD space. That's the point of a hardlink.

IMO, this is not a Seedsync problem. This is a Resilio problem. Why you are still using Resilio when you are also using SS is confusing me. I dumped Resilio when I found SS. They both do the same thing and SS does it 1000 times better.

If the problem is SS is messing up Resilio's .ignore folders, dump Resilio.

casperse commented 3 years ago

Okay that's a fair point - I needed it because Seedhost is a server to server and Resilio can run on small devices I think I accomplish the same thing as your hardlink not consuming any extra HD space and keep seeding - just having the download client moving files when finished downloading and keep seeding - any other reason to use hardlink?

I have enabled debugging - its crashed with 1 CPU and 2G of RAM, I then added 4G RAM and 2 CPU cores to the docker Now I can see that it stopped during the night? (No restrictions of the docker made it use ALL 64G of RAM and all cores! - very impressive! it was very hard to even get it contact with the server to stop the docker)

Enabled Debugging and started it again? Any idea on what could be causing this? Do I need to set some --auto-restart?

Thanks for helping me out! Much appreciated

casperse commented 3 years ago

I think I got it working BUT....Sometimes Seedsync just puts a folder on "Pause" icon if I then go and press the "Queue" it starts again. Can it be the naming of my selected folders? do I need some wildcard? I was thinking that some other folder was downloading (MAX 1) put they where all showing the "OK" sign for all downloaded

Right now I just added the DIR names exactly as they are on the Host for the AutoQueue function

"#TV-COMPLETE" but the queue stops and I have to press "Queue to resume. the connection is still ok and the transfers is done correctly - I just need to push the button :-)