{"action":"created","issue":{"url":"https://api.github.com/repos/laurent22/joplin/issues/562","repository_url":"https://api.github.com/repos/laurent22/joplin","labels_url":"https://api.github.com/repos/laurent22/joplin/issues/562/labels{/name}","comments_url":"https://api.github.com/repos/laurent22/joplin/issues/562/comments","events_url":"https://api.github.com/repos/laurent22/joplin/issues/562/events","html_url":"https://github.com/laurent22/joplin/issues/562","id":326686512,"node_id":"MDU6SXNzdWUzMjY2ODY1MTI=","number":562,"title":"Sync stuck on getting resource","user":{"login":"marpada","id":2384745,"node_id":"MDQ6VXNlcjIzODQ3NDU=","avatar_url":"https://avatars3.githubusercontent.com/u/2384745?v=4","gravatar_id":"","url":"https://api.github.com/users/marpada","html_url":"https://github.com/marpada","followers_url":"https://api.github.com/users/marpada/followers","following_url":"https://api.github.com/users/marpada/following{/other_user}","gists_url":"https://api.github.com/users/marpada/gists{/gist_id}","starred_url":"https://api.github.com/users/marpada/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marpada/subscriptions","organizations_url":"https://api.github.com/users/marpada/orgs","repos_url":"https://api.github.com/users/marpada/repos","events_url":"https://api.github.com/users/marpada/events{/privacy}","received_events_url":"https://api.github.com/users/marpada/received_events","type":"User","site_admin":false},"labels":[{"id":519700741,"node_id":"MDU6TGFiZWw1MTk3MDA3NDE=","url":"https://api.github.com/repos/laurent22/joplin/labels/bug","name":"bug","color":"ee0701","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":12,"created_at":"2018-05-25T23:11:26Z","updated_at":"2018-06-16T21:55:34Z","closed_at":null,"author_association":"NONE","body":"### Operating system\r\n\r\n<!-- Please only leave those relevant to your request -->\r\n\r\n- Linux\r\n\r\n### Application\r\n\r\n<!-- Please only leave those relevant to your request -->\r\n\r\n- Desktop\r\n\r\n### Problem\r\n\r\nHi, I found Joplin a few days ago and ditched Evernote already and not looking back. I found a funny issue with the syncronization process though.\r\nOn my home computer my Dropbox sync process gets stuck at getting a resource, for example:\r\n\r\n```\r\n2018-05-26 10:48:38: \"Sync: createLocal: remote exists but local does not: (Remote b5ce09d23bc09825cce2c75effb6fec6.md)\"\r\n2018-05-26 10:48:38: \"Reducer action\", \"SYNC_REPORT_UPDATE\"\r\n2018-05-26 10:48:38: \"get .resource/b5ce09d23bc09825cce2c75effb6fec6\"\r\n2018-05-26 10:51:03: \"Running background sync on timer...\"\r\n2018-05-26 10:51:03: \"Scheduling sync operation...\"\r\n2018-05-26 10:51:03: \"Preparing scheduled sync\"\r\n2018-05-26 10:51:03: \"Starting scheduled sync\"\r\n2018-05-26 10:51:03: \"Synchronisation is already in progress. State: in_progress\"\r\n2018-05-26 10:51:03: \"Setting up recurrent sync with interval 300\"\r\n2018-05-26 10:56:03: \"Running background sync on timer...\"\r\n2018-05-26 10:56:03: \"Scheduling sync operation...\"\r\n2018-05-26 10:56:03: \"Preparing scheduled sync\"\r\n2018-05-26 10:56:03: \"Starting scheduled sync\"\r\n2018-05-26 10:56:03: \"Synchronisation is already in progress. State: in_progress\"\r\n2018-05-26 10:56:03: \"Setting up recurrent sync with interval 300\"\r\n2018-05-26 11:01:03: \"Running background sync on timer...\"\r\n2018-05-26 11:01:03: \"Scheduling sync operation...\"\r\n2018-05-26 11:01:03: \"Preparing scheduled sync\"\r\n2018-05-26 11:01:03: \"Starting scheduled sync\"\r\n2018-05-26 11:01:03: \"Synchronisation is already in progress. State: in_progress\"\r\n2018-05-26 11:01:03: \"Setting up recurrent sync with interval 300\"\r\n```\r\n\r\nIf I click anywhere on the Joplin window, for example click a tag or notebook, the sync process advances to the next item and gets stuck again\r\n\r\n```\r\n2018-05-26 11:01:03: \"Synchronisation is already in progress. State: in_progress\"\r\n2018-05-26 11:01:03: \"Setting up recurrent sync with interval 300\"\r\n2018-05-26 11:03:48: \"Reducer action\", \"TAG_SELECT, 34f9db02335942618c96fa0591c9a644\"\r\n2018-05-26 11:03:48: \"Refreshing notes:\", \"5\", \"34f9db02335942618c96fa0591c9a644\"\r\n2018-05-26 11:03:48: \"Reducer action\", \"NOTE_UPDATE_ALL, \"{\\\"options\\\":{\\\"order\\\":[{\\\"by\\\":\\\"user_updated_time\\\",\\\"dir\\\":\\\"DESC\\\"}],\\\"uncompletedTodosOnTop\\\":true,\\\"showCompletedTodos\\\":true,\\\"caseInsensitive\\\":true},\\\"parentId\\\":\\\"34f9db02335942618c96fa0591c9a644\\\"}\"\"\r\n2018-05-26 11:03:48: \"Reducer action\", \"NOTE_SELECT, 3cfa7c0e3453434db5461d3a878daf16\"\r\n2018-05-26 11:03:52: \"Sync: fetchingProcessed: Processing fetched item\"\r\n2018-05-26 11:03:52: \"Reducer action\", \"SYNC_REPORT_UPDATE\"\r\n2018-05-26 11:03:52: \"get f496a81769b42e529438bd19f4e85278.md\"\r\n2018-05-26 11:03:53: \"Sync: createLocal: remote exists but local does not: (Remote f496a81769b42e529438bd19f4e85278.md)\"\r\n2018-05-26 11:03:53: \"Reducer action\", \"SYNC_REPORT_UPDATE\"\r\n2018-05-26 11:03:53: \"get .resource/f496a81769b42e529438bd19f4e85278\"\r\n```\r\nThe resources exist on the Dropbox folder, but I need to randomly click on notes and tags to make the process advance, which is very tedious and time cosuming as I have 9k notes I imported from Evernote.\r\n\r\nI reproduced the issue on Joplin 0.93, 0.94 and 0.95 on Ubuntu 18.04\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/laurent22/joplin/issues/comments/397840944","html_url":"https://github.com/laurent22/joplin/issues/562#issuecomment-397840944","issue_url":"https://api.github.com/repos/laurent22/joplin/issues/562","id":397840944,"node_id":"MDEyOklzc3VlQ29tbWVudDM5Nzg0MDk0NA==","user":{"login":"marpada","id":2384745,"node_id":"MDQ6VXNlcjIzODQ3NDU=","avatar_url":"https://avatars3.githubusercontent.com/u/2384745?v=4","gravatar_id":"","url":"https://api.github.com/users/marpada","html_url":"https://github.com/marpada","followers_url":"https://api.github.com/users/marpada/followers","following_url":"https://api.github.com/users/marpada/following{/other_user}","gists_url":"https://api.github.com/users/marpada/gists{/gist_id}","starred_url":"https://api.github.com/users/marpada/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marpada/subscriptions","organizations_url":"https://api.github.com/users/marpada/orgs","repos_url":"https://api.github.com/users/marpada/repos","events_url":"https://api.github.com/users/marpada/events{/privacy}","received_events_url":"https://api.github.com/users/marpada/received_events","type":"User","site_admin":false},"created_at":"2018-06-16T21:55:34Z","updated_at":"2018-06-16T21:55:34Z","author_association":"NONE","body":"I don't see those messages neither in the development tools console nor in the debug log:\r\n\r\n```\r\n2018-06-17 09:42:52: \"Preparing scheduled sync\"\r\n2018-06-17 09:42:52: \"Saving updated Dropbox auth.\"\r\n2018-06-17 09:42:52: \"Starting scheduled sync\"\r\n2018-06-17 09:42:52: \"Reducer action\", \"SYNC_STARTED\"\r\n2018-06-17 09:42:52: \"Sync: starting: Starting synchronisation to target 7... [1529185372393]\"\r\n2018-06-17 09:42:52: \"Reducer action\", \"SYNC_REPORT_UPDATE\"\r\n2018-06-17 09:42:52: \"mkdir .sync\"\r\n2018-06-17 09:42:53: \"mkdir .resource\"\r\n2018-06-17 09:42:54: \"delta \"\r\n2018-06-17 09:42:58: \"Sync: fetchingTotal: Fetching delta items from sync target\"\r\n2018-06-17 09:42:58: \"Reducer action\", \"SYNC_REPORT_UPDATE\"\r\n2018-06-17 09:42:58: \"Sync: fetchingProcessed: Processing fetched item\"\r\n2018-06-17 09:42:58: \"Reducer action\", \"SYNC_REPORT_UPDATE\"\r\n2018-06-17 09:42:58: \"get 63f3d3bc1568f0cc32c9da19116565b7.md\"\r\n2018-06-17 09:42:58: \"Sync: fetchingProcessed: Processing fetched item\"\r\n2018-06-17 09:42:58: \"Reducer action\", \"SYNC_REPORT_UPDATE\"\r\n2018-06-17 09:42:58: \"get 8659c089075625b9286b612afee5b925.md\"\r\n```\r\n\r\n```\r\n2018-06-17 09:51:02: \"Synchronisation was cancelled.\"\r\n2018-06-17 09:51:02: \"Sync: finished: Synchronisation finished [1529185372393]\"\r\n2018-06-17 09:51:02: \"Reducer action\", \"SYNC_REPORT_UPDATE\"\r\n2018-06-17 09:51:02: \"Operations completed: \"\r\n2018-06-17 09:51:02: \"fetchingTotal: 2000\"\r\n2018-06-17 09:51:02: \"fetchingProcessed: 591\"\r\n2018-06-17 09:51:02: \"cancelling: 1\"\r\n2018-06-17 09:51:02: \"Total folders: 41\"\r\n2018-06-17 09:51:02: \"Total notes: 9171\"\r\n2018-06-17 09:51:02: \"Total resources: 10080\"\r\n```\r\n\r\nI use Linux Mint 18.3 (based on Ubuntu 16.04) with the Cinammon desktop, and Ubuntu 18.04 with the MATE desktop at work.\r\n"}}
{"actor":{"display_login":"marpada"}}