{"action":"created","issue":{"url":"https://api.github.com/repos/haiwen/seafile-client/issues/39","labels_url":"https://api.github.com/repos/haiwen/seafile-client/issues/39/labels{/name}","comments_url":"https://api.github.com/repos/haiwen/seafile-client/issues/39/comments","events_url":"https://api.github.com/repos/haiwen/seafile-client/issues/39/events","html_url":"https://github.com/haiwen/seafile-client/issues/39","id":22523508,"number":39,"title":"Syncing to external HDD doesn't work","user":{"login":"oal","id":371103,"avatar_url":"https://avatars.githubusercontent.com/u/371103?v=3","gravatar_id":"","url":"https://api.github.com/users/oal","html_url":"https://github.com/oal","followers_url":"https://api.github.com/users/oal/followers","following_url":"https://api.github.com/users/oal/following{/other_user}","gists_url":"https://api.github.com/users/oal/gists{/gist_id}","starred_url":"https://api.github.com/users/oal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oal/subscriptions","organizations_url":"https://api.github.com/users/oal/orgs","repos_url":"https://api.github.com/users/oal/repos","events_url":"https://api.github.com/users/oal/events{/privacy}","received_events_url":"https://api.github.com/users/oal/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/haiwen/seafile-client/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2013-11-12T14:51:43Z","updated_at":"2015-04-03T00:18:57Z","closed_at":null,"body":"I tried setting up a library, and set its sync destination to my external hard drive. It syncs as expected, but after rebooting my computer, it's desynced. I think this may be because the external drive isn't spinning when the Seafile client is started, and Seafile doesn't see it immediately. If I sync libraries to my internal hard drive, everything works as expected. Maybe the Seacloud client should try looking for the sync destination a few times before giving up, so that the sleeping HDD has time to spin up.\r\n\r\nI'm running the latest version of Seafile (server and client), in Ubuntu."},"comment":{"url":"https://api.github.com/repos/haiwen/seafile-client/issues/comments/89091083","html_url":"https://github.com/haiwen/seafile-client/issues/39#issuecomment-89091083","issue_url":"https://api.github.com/repos/haiwen/seafile-client/issues/39","id":89091083,"user":{"login":"lins05","id":717363,"avatar_url":"https://avatars.githubusercontent.com/u/717363?v=3","gravatar_id":"","url":"https://api.github.com/users/lins05","html_url":"https://github.com/lins05","followers_url":"https://api.github.com/users/lins05/followers","following_url":"https://api.github.com/users/lins05/following{/other_user}","gists_url":"https://api.github.com/users/lins05/gists{/gist_id}","starred_url":"https://api.github.com/users/lins05/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lins05/subscriptions","organizations_url":"https://api.github.com/users/lins05/orgs","repos_url":"https://api.github.com/users/lins05/repos","events_url":"https://api.github.com/users/lins05/events{/privacy}","received_events_url":"https://api.github.com/users/lins05/received_events","type":"User","site_admin":false},"created_at":"2015-04-03T00:18:57Z","updated_at":"2015-04-03T00:18:57Z","body":"Seafile client may not be able to access the local folder of a library in\ntwo cases:\n\n- The user has deleted the folder from your local drive, or\n- The library is synced to a usb disk or network shared drive, and the usb\ndisk or network drive is unavailable (e.g. seafile client is started but\nnetwork drive has not been mounted) at that moment.\n\nFor the former case the user would like the library to be \"desynced\"\nautomatically. For the latter they don't want that.\n\nSinc seafile client can't tell between the two cases and the former case is\nmore common, we make it the default behavior to \"desync\" the library when\nseafile client can't access the local folder of a library, and offer a\nsettings option to change the behavior.\n\n\nOn Fri, Apr 3, 2015 at 1:07 AM, George Gkitsas <notifications@github.com>\nwrote:\n\n> What is the reason of not having this option enabled by default?\n>\n> —\n> Reply to this email directly or view it on GitHub\n> <https://github.com/haiwen/seafile-client/issues/39#issuecomment-88976133>\n> .\n>\n"}}