Sync Deletes Settings On Reboot - Linux (Arm - Raspian)

Recommended Posts

I've been using BTSync for a while now and it's absolutely fantastic! I've just set it up to sync a load of my files between my computer, an external hard drive in my house connected to a Raspberry Pi, and a second Raspberry Pi and external hard drive in my parents house.


This had been working very well but today I rebooted the Pi at my parents house and when it came on the GUI (ipAddress:8888/gui) prompted for an account to be created and then showed the no folders message. On the other syncing devices it shows it as offline.


I copied the contents of the .sync folder somewhere else so I could preserve it. Looking inside I saw that there were files called history.dat.old, settings.dat.old and sync.dat.old along side the same files without the .old extension. history.dat.old and sync.dat.old contain different things to their "new" counterparts but settings.dat.old appears to be the same (although it is just one long line so I may well have missed something).


I tried renaming the .dat.old files to be the .dat files and the .dat files to be the .dat.old files and then restarting again but basically the same happened again.


I've got quite a number of large folders synced between the two so I'd really rather not have to redo all the syncing if I can possibly avoid it. More than that I'd like to know how it happened and how I can stop it from happening again.


Any help would be greatly appreciated.

Share this post

Link to post
Share on other sites

willpow1993, thank you for your feedback.

Could you check, if you don't have permissions to write to that folder? Usually all settings stored in the sync.dat. So you can delete sync.dat.old, after checking permissions and try to setup test folder to see if it will remain after btsync restart.


Also could you tell us where your .sync folder located: on the external hard drive, in your ~ folder or somewhere else?

How did you mount your external hard drive and what file system is there?


Another part of information we can get in the logs. Please collect them according to this instruction.

Share this post

Link to post
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.

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.