Jump to content


Become a part of the community today! Registration is quick and easy and will enable you to post, send personal messages, and join in on the chat! It's as simple as clicking on the links above.

Linux - all settings are gone after stopping btsync

Linux btsync settings save

  • Please log in to reply
5 replies to this topic

#1 Nomen

Nomen

    New User

  • Members
  • Pip
  • 6 posts

Posted 28 April 2013 - 03:01 PM

I have a problem. Linux doesn't remember my settings. When I kill btsync and start it again it starts as a fresh aplication without any settings in it.
I have it installed on Ubuntu 12.10.

#2 Automatic Coding

Automatic Coding

    Advanced Member

  • Members
  • PipPipPip
  • 223 posts

Posted 28 April 2013 - 03:23 PM

Are you using a configuration file? I had that issue before I set up my configuration file.

Use:-
./btsync --dump-sample-config


to acquire a default configuration file, then:-
./btsync --config /path/to/the/config/file

To use the configuration file.

#3 Nomen

Nomen

    New User

  • Members
  • Pip
  • 6 posts

Posted 28 April 2013 - 03:32 PM

Yeah. I've tried that. The only problem is I can't get webgui to work when I'm starting btsync witm my own config file.
There is a warning in config file about share folders but the whole section is commented so with /* */ so it shouldn't be loaded anyway.

#4 Nomen

Nomen

    New User

  • Members
  • Pip
  • 6 posts

Posted 28 April 2013 - 03:45 PM

Here is my config file:


{
"device_name": "My Sync Device",
"listening_port" : 0, // 0 - randomize port

/* storage_path dir contains auxilliary app files
if no storage_path field: .sync dir created in the directory
where binary is located.
otherwise user-defined directory will be used
*/
"storage_path" : "/home/marcin/.sync",

// uncomment next line if you want to set location of pid file
// "pid_file" : "/var/run/syncapp/syncapp.pid",


"check_for_updates" : true,
"use_upnp" : true, // use UPnP for port mapping


/* limits in kB/s
0 - no limit
*/
"download_limit" : 0,
"upload_limit" : 0,

/* remove "listen" field to disable WebUI
remove "login" and "password" fields to disable credentials check
*/
"webui" :
{
"listen" : "192.168.20.250:8888",
"login" : "admin",
"password" : "password"
}

/* !!! if you set shared folders in config file WebUI will be DISABLED !!!
shared directories specified in config file
override the folders previously added from WebUI.
*/
/*
,
"shared_folders" :
[
{
// use --generate-secret in command line to create new secret
"secret" : "MY_SECRET_1", // * required field
"dir" : "/home/user/bittorrent/sync_test", // * required field

// use relay server when direct connection fails
"use_relay_server" : true,
"use_tracker" : true,
"use_dht" : false,
"search_lan" : true,
// enable sync trash to store files deleted on remote devices
"use_sync_trash" : true,
// specify hosts to attempt connection without additional search
"known_hosts" :
[
"192.168.1.2:44444",
"myhost.com:6881"
]
}
]
*/

// Advanced preferences can be added to config file.
// Info is available in BitTorrent Sync User Guide.

}

#5 kos13

kos13

    BitTorrent Sync Team

  • Employees
  • 688 posts

Posted 29 April 2013 - 07:03 AM

This is a bug. Will be fixed in next version.

#6 Nomen

Nomen

    New User

  • Members
  • Pip
  • 6 posts

Posted 29 April 2013 - 09:30 AM

This is a bug. Will be fixed in next version.


Is it a bug with a web browser cookies cache or something else ? Because I've managed to make it work by clearing cookies cache in web browser. But then the btsync demon crashed during operation after syncing and indexing around 500GB. After crash everything has been reset to default settings.
When will the new version be coming for Linux ?