Sync 2.0 Linux - Cannot Sync /home/username Directory After Upgrade From 1.4


barichardson

Recommended Posts

I use sync to keep a copy of the entire /home/username/ directory on my laptop so I will always have an up to date copy of all of my data on my file server in case something ever happens to my laptop. This setup has worked great for me through version 1.4.x. However, after upgrading my systems to version 2.0.85 I am no longer able to sync my home directory to my file server.

 

When I attempt to add my home directory as a new sync folder I get the message: "This folder cannot be added to sync. It contains a folder that is already syncing." I have no other sync folders on my laptop. I have also tested this problem on a fresh Linux install in a virtual machine and get the same error so I know it isn't something left over from version 1.4.x. The only idea I can come up with is that the sync client thinks that the directory storing the config files (/home/username/.config/sync/) is a sync folder so it will not allow me to create a sync folder in the directory above.

 

The log file does not go into detail about where it believes the sync folder is located:

MD[1E67]: Folder not added. Error 202: This folder cannot be added to BitTorrent Sync. It contains a folder that is already syncing.

Is anyone else experiencing this problem after upgrading to version 2.0 or know of a workaround? The only idea I can think of is having the sync client ignore the /home/username/.config/sync directory somehow, if that is even possible without breaking things.

 

Edited by barichardson
Link to comment
Share on other sites

  • 2 weeks later...

I'm having this exact problem, although I arrived to it in a different manner.

 

The only way I can think of evading this is to define a config file which points storage_path to a folder outside the scope of your home folder... which wouldn't exactly serve as an entire backup of your home folder, but it's something.

Link to comment
Share on other sites

  • 3 weeks later...
  • 1 month later...

Hi everyone, if you are using a windows computer and you are ok using classic folders, you can follow this steeps so you can sync the whole user home folder:

 

1. Install BTSync 1.4.111 and then sync the whole user directory.

 

2. Edit the IgnoreList with something like that "at your taste :)"

# IgnoreList is a UTF-8 encoded .txt file that helps you specify single files, paths and rules 
# for ignoring during the synchronization job. It supports "?" and "*" wildcard symbols.
#
#
# OS generated files #
.DS_Store
.Spotlight-V100
.Trashes
~*
ehthumbs.db
ntuser.dat.LOG1
ntuser.dat.LOG2
ntuser.dat.LOG3
ntuser.ini
desktop.ini
Thumbs.db
AppData
AppData\*
Dropbox
Dropbox\*
Local Settings
Links
Cookies
Application Data
Start Menu
SendTo
PrintHood
NetHood
Searches
SendTo
Saved Games
Recent
Cache
._*
*.pst
*.regtrans-ms
*.DAT
*.LOG1
*.LOG2
*.TM.blf
*.blf
*.pol
*.app
*.cache
*.filerun.thumbnails
.filerun.thumbnails
*.ithmb
 
3. Upgrade to Sync v2 and done :)
 
Hope this will help someone.
Link to comment
Share on other sites

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.   Paste as plain text instead

  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.