Why does the value of folder_rescan_interval restore to default after I restart Resilio Sync on my linux VPS?


mycwcgr

Recommended Posts

I install Resilio Sync on my linux VPS, I set the value  of  folder_rescan_interval 10 via access the web http://myip:8888/gui/
then  I login to my remote VPS and launch  service resilio-sync stop and   service resilio-sync start

After I access my Resilio Sync via the web http://myip:8888/gui/, I find that the value of folder_rescan_interval restore to default,  why?

 

Link to comment
Share on other sites

Did you set up sync via configuration file? if yes you need to specify this setting there.

Please go to help.getsync.com and search for "configuration" you will find an article highlighting what you need to put in your configuration.

Link to comment
Share on other sites

That's weird for two reasons: 

1) not reproducible in the lab - setting is saved correctly. 
2) by default WebUI for the service is available only on loopback interface. Did you change it in WEbUI tab? 
And make sure that you have only one Sync process running . 

Anyway, service's config is /etc/resilio-sync/config.json. You can add "folder_rescan_interval": 1234 there: 
 

{
    "storage_path" : "/var/lib/resilio-sync/",
    "pid_file" : "/var/run/resilio-sync/sync.pid",

    "webui" :
    {
        "listen" : "127.0.0.1:8888"
    },
"folder_rescan_interval": 1234
}

Note that value 10 means 10 seconds - folder will be rescanned every 10 seconds. This may cause high CPU usage. 

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.