{"action":"created","issue":{"url":"https://api.github.com/repos/owncloud/client/issues/2691","labels_url":"https://api.github.com/repos/owncloud/client/issues/2691/labels{/name}","comments_url":"https://api.github.com/repos/owncloud/client/issues/2691/comments","events_url":"https://api.github.com/repos/owncloud/client/issues/2691/events","html_url":"https://github.com/owncloud/client/issues/2691","id":53991214,"number":2691,"title":"Download stalling for some files","user":{"login":"simonspa","id":1677436,"avatar_url":"https://avatars.githubusercontent.com/u/1677436?v=3","gravatar_id":"","url":"https://api.github.com/users/simonspa","html_url":"https://github.com/simonspa","followers_url":"https://api.github.com/users/simonspa/followers","following_url":"https://api.github.com/users/simonspa/following{/other_user}","gists_url":"https://api.github.com/users/simonspa/gists{/gist_id}","starred_url":"https://api.github.com/users/simonspa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/simonspa/subscriptions","organizations_url":"https://api.github.com/users/simonspa/orgs","repos_url":"https://api.github.com/users/simonspa/repos","events_url":"https://api.github.com/users/simonspa/events{/privacy}","received_events_url":"https://api.github.com/users/simonspa/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/owncloud/client/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/owncloud/client/labels/Needs%20info","name":"Needs info","color":"0b02e1"},{"url":"https://api.github.com/repos/owncloud/client/labels/Server%20Involved","name":"Server Involved","color":"fad8c7"},{"url":"https://api.github.com/repos/owncloud/client/labels/sev2-high","name":"sev2-high","color":"fc2929"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/owncloud/client/milestones/13","html_url":"https://github.com/owncloud/client/milestones/1.9%20-%20Multi-account","labels_url":"https://api.github.com/repos/owncloud/client/milestones/13/labels","id":518715,"number":13,"title":"1.9 - Multi-account","description":"","creator":{"login":"MTRichards","id":1818977,"avatar_url":"https://avatars.githubusercontent.com/u/1818977?v=3","gravatar_id":"","url":"https://api.github.com/users/MTRichards","html_url":"https://github.com/MTRichards","followers_url":"https://api.github.com/users/MTRichards/followers","following_url":"https://api.github.com/users/MTRichards/following{/other_user}","gists_url":"https://api.github.com/users/MTRichards/gists{/gist_id}","starred_url":"https://api.github.com/users/MTRichards/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MTRichards/subscriptions","organizations_url":"https://api.github.com/users/MTRichards/orgs","repos_url":"https://api.github.com/users/MTRichards/repos","events_url":"https://api.github.com/users/MTRichards/events{/privacy}","received_events_url":"https://api.github.com/users/MTRichards/received_events","type":"User","site_admin":false},"open_issues":88,"closed_issues":29,"state":"open","created_at":"2013-12-20T19:31:27Z","updated_at":"2015-03-27T14:39:09Z","due_on":null,"closed_at":null},"comments":10,"created_at":"2015-01-11T13:03:43Z","updated_at":"2015-03-31T11:04:08Z","closed_at":"2015-03-27T12:49:09Z","body":"### Expected behaviour\r\nowncloud client is started with an empty local folder, all files should be downloaded.\r\n\r\n### Actual behaviour\r\nThe client fails to fetch some files (apparently only large files are problematic). That specific user has some 6 GB of data on the server, split into several thousand files. The problematic files are comparatively big (around 500 MB).\r\n\r\nHowever, for test purposes I created another user and uploaded as well as downloaded files as large as 2 GB without problems, so the problem somehow seems to appear only for these specific files.\r\n\r\nI do not get any message in the server log files during this process, neither in the owncloud log nor in the nginx error log - so it does not seem to be a server issue as far as I can tell.\r\n\r\n### Steps to reproduce\r\n\r\n### Server configuration\r\nOperating system: Debian 7.6\r\n\r\nWeb server: nginx / FPM/FastCGI \r\n\r\nDatabase: MySQL\r\n\r\nPHP version:  5.4.36\r\n\r\nownCloud version: 7.0.4\r\n\r\nStorage backend: local storage\r\n\r\n### Client configuration\r\nClient version: 1.7.1\r\n\r\nOperating system: Ubuntu 14.10 64bit\r\n\r\nOS language: English\r\n\r\nInstallation path of client: /usr/bin/owncloud\r\n\r\n### Logs\r\n\r\nThe owncloud client starts the sync and outputs the following log chunk when reaching one of the files in question:\r\n```\r\n01-11 13:37:40:972 0x17be5e8 void Mirall::SyncJournalDb::commitInternal(const QString&, bool) Transaction commit  \"download file start2\" and starting new transaction \r\n01-11 13:37:40:973 0x17be5e8 \"INSERT OR REPLACE INTO downloadinfo (path, tmpfile, etag, errorcount) VALUES ( ?1 , ?2, ?3, ?4 )\" \"my/big/file.ext\" \"my/big/file.ext.~7f6af5df\" \"54aff82d1eedc\" 0 \r\n01-11 13:37:40:973 0x17be5e8 void Mirall::SyncJournalDb::commitInternal(const QString&, bool) Transaction commit  \"download file start\" and starting new transaction \r\n01-11 13:37:41:693 0x17be5e8 Content encoding ist <empty> with status 200\r\n01-11 13:37:53:049 0x12f3590 void Mirall::FolderMan::slotEtagPollTimerTimeout() No folders need to check for the remote ETag \r\n01-11 13:37:57:354 0x12f3590 !!! Mirall::CheckQuotaJob created for  QUrl( \"https://myurl.com/owncloud\" )  querying \"/\" \r\n01-11 13:38:23:050 0x12f3590 void Mirall::FolderMan::slotEtagPollTimerTimeout() No folders need to check for the remote ETag \r\n01-11 13:38:53:049 0x12f3590 void Mirall::FolderMan::slotEtagPollTimerTimeout() No folders need to check for the remote ETag \r\n01-11 13:39:23:052 0x12f3590 void Mirall::FolderMan::slotEtagPollTimerTimeout() No folders need to check for the remote ETag \r\n01-11 13:39:53:049 0x12f3590 void Mirall::FolderMan::slotEtagPollTimerTimeout() No folders need to check for the remote ETag \r\n01-11 13:40:23:054 0x12f3590 void Mirall::FolderMan::slotEtagPollTimerTimeout() No folders need to check for the remote ETag \r\n01-11 13:40:53:049 0x12f3590 void Mirall::FolderMan::slotEtagPollTimerTimeout() No folders need to check for the remote ETag \r\n01-11 13:41:23:050 0x12f3590 void Mirall::FolderMan::slotEtagPollTimerTimeout() No folders need to check for the remote ETag \r\n01-11 13:41:53:049 0x12f3590 void Mirall::FolderMan::slotEtagPollTimerTimeout() No folders need to check for the remote ETag \r\n01-11 13:42:23:055 0x12f3590 void Mirall::FolderMan::slotEtagPollTimerTimeout() No folders need to check for the remote ETag \r\n01-11 13:42:53:055 0x12f3590 void Mirall::FolderMan::slotEtagPollTimerTimeout() No folders need to check for the remote ETag \r\n01-11 13:42:57:360 0x12f3590 Mirall::CheckQuotaJob(0x17c36e0) Timeout \r\n01-11 13:42:57:361 0x12f3590 void Mirall::AbstractNetworkJob::slotFinished() 5 \"Operation canceled\" \r\n01-11 13:42:57:364 0x12f3590 folder  \"ownCloud\"  Terminating! \r\n01-11 13:42:57:365 0x12f3590 void Mirall::SyncJournalDb::walCheckpoint() took 0 msec \r\n01-11 13:42:57:366 0x12f3590 void Mirall::SyncJournalDb::commitInternal(const QString&, bool) Transaction commit  \"All Finished.\"  \r\n01-11 13:43:47:380 0x17be5e8 Neon error code was 1\r\n01-11 13:43:47:382 0x17be5e8 bool Mirall::PropagateNeonJob::updateErrorFromSession(int, ne_request*, int) NE_ERROR \"Sync was aborted by user.\" 0 0 \r\n01-11 13:43:47:382 0x17be5e8 Error GET: Neon: 1\r\n01-11 13:43:47:382 0x12f3590 CSync run took  381248 \r\n01-11 13:43:47:390 0x12f3590 -> SyncEngine finished without problem. \r\n```\r\n\r\nFor the large files of the other user (download working fine) the log looks like the following:\r\n```\r\n01-10 18:19:20:604 0xebc1d8 \"INSERT OR REPLACE INTO downloadinfo (path, tmpfile, etag, errorcount) VALUES ( ?1 , ?2, ?3, ?4 )\" \"largefile.ext\" \".largefile.ext.~1c69fb81\" \"54b153ce578b2\" 0 \r\n01-10 18:19:20:604 0xebc1d8 void Mirall::SyncJournalDb::commitInternal(const QString&, bool) Transaction commit  \"download file start\" and starting new transaction \r\n01-10 18:19:36:198 0xaec590 void Mirall::FolderMan::slotEtagPollTimerTimeout() No folders need to check for the remote ETag \r\n01-10 18:19:36:682 0xaec590 !!! Mirall::CheckQuotaJob created for  QUrl( \"https://myurl.com/owncloud\" )  querying \"/\" \r\n01-10 18:20:06:197 0xaec590 void Mirall::FolderMan::slotEtagPollTimerTimeout() No folders need to check for the remote ETag \r\n01-10 18:20:11:394 0xaec590 !!! Mirall::CheckQuotaJob created for  QUrl( \"https://myurl.com/owncloud\" )  querying \"/\" \r\n01-10 18:20:18:756 0xebc1d8 Content encoding ist <empty> with status 200\r\n01-10 18:20:36:197 0xaec590 void Mirall::FolderMan::slotEtagPollTimerTimeout() No folders need to check for the remote ETag \r\n01-10 18:20:48:243 0xaec590 !!! Mirall::CheckQuotaJob created for  QUrl( \"https://myurl.com/owncloud\" )  querying \"/\" \r\n\r\n[ repeats a few dozen times ]\r\n\r\n01-10 18:45:06:197 0xaec590 void Mirall::FolderMan::slotEtagPollTimerTimeout() No folders need to check for the remote ETag \r\n01-10 18:45:22:317 0xaec590 !!! Mirall::CheckQuotaJob created for  QUrl( \"https://myurl.com/owncloud\" )  querying \"/\" \r\n01-10 18:45:36:197 0xaec590 void Mirall::FolderMan::slotEtagPollTimerTimeout() No folders need to check for the remote ETag \r\n01-10 18:45:54:136 0xaec590 !!! Mirall::CheckQuotaJob created for  QUrl( \"https://myurl.com/owncloud\" )  querying \"/\" \r\n01-10 18:46:06:197 0xaec590 void Mirall::FolderMan::slotEtagPollTimerTimeout() No folders need to check for the remote ETag \r\n01-10 18:46:25:374 0xaec590 !!! Mirall::CheckQuotaJob created for  QUrl( \"https://myurl.com/owncloud\" )  querying \"/\" \r\n01-10 18:46:36:197 0xaec590 void Mirall::FolderMan::slotEtagPollTimerTimeout() No folders need to check for the remote ETag \r\n01-10 18:46:56:157 0xaec590 !!! Mirall::CheckQuotaJob created for  QUrl( \"https://myurl.com/owncloud\" )  querying \"/\" \r\n01-10 18:47:06:197 0xaec590 void Mirall::FolderMan::slotEtagPollTimerTimeout() No folders need to check for the remote ETag \r\n01-10 18:47:27:108 0xaec590 !!! Mirall::CheckQuotaJob created for  QUrl( \"https://myurl.com/owncloud\" )  querying \"/\" \r\n01-10 18:47:36:197 0xaec590 void Mirall::FolderMan::slotEtagPollTimerTimeout() No folders need to check for the remote ETag \r\n01-10 18:47:58:312 0xaec590 !!! Mirall::CheckQuotaJob created for  QUrl( \"https://myurl.com/owncloud\" )  querying \"/\" \r\n01-10 18:48:06:197 0xaec590 void Mirall::FolderMan::slotEtagPollTimerTimeout() No folders need to check for the remote ETag \r\n01-10 18:48:26:743 0xebc1d8 Mirall::SyncJournalFileRecord::SyncJournalFileRecord(const Mirall::SyncFileItem&, const QString&) \"/path/to/owncloud/largefile.ext\" Retrieved inode  7081117 (previous item inode:  0 ) \r\n01-10 18:48:26:743 0xebc1d8 \"INSERT OR REPLACE INTO metadata (phash, pathlen, path, inode, uid, gid, mode, modtime, type, md5, fileid, remotePerm) VALUES (?1 , ?2, ?3 , ?4 , ?5 , ?6 , ?7,  ?8 , ?9 , ?10, ?11, ?12);\" -5767160252499301926 12 \"largefile.ext\" 7081117 0 \"1406561609\" \"0\" \"54b153ce578b2\" \"00026504511a994fee2cc\" \"RDNVW\" \r\n01-10 18:48:26:743 0xebc1d8 \"DELETE FROM downloadinfo WHERE path=?1\" \"VTS_01_1.VOB\" \r\n01-10 18:48:26:746 0xaec590 void Mirall::SyncEngine::slotJobCompleted(const Mirall::SyncFileItem&) \"VTS_01_1.VOB\" 4 \"\" \r\n```\r\n\r\nCan anyone help me with this or give me some clues where to look for more information?\r\nThanks!"},"comment":{"url":"https://api.github.com/repos/owncloud/client/issues/comments/88043635","html_url":"https://github.com/owncloud/client/issues/2691#issuecomment-88043635","issue_url":"https://api.github.com/repos/owncloud/client/issues/2691","id":88043635,"user":{"login":"dragetd","id":3639577,"avatar_url":"https://avatars.githubusercontent.com/u/3639577?v=3","gravatar_id":"","url":"https://api.github.com/users/dragetd","html_url":"https://github.com/dragetd","followers_url":"https://api.github.com/users/dragetd/followers","following_url":"https://api.github.com/users/dragetd/following{/other_user}","gists_url":"https://api.github.com/users/dragetd/gists{/gist_id}","starred_url":"https://api.github.com/users/dragetd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dragetd/subscriptions","organizations_url":"https://api.github.com/users/dragetd/orgs","repos_url":"https://api.github.com/users/dragetd/repos","events_url":"https://api.github.com/users/dragetd/events{/privacy}","received_events_url":"https://api.github.com/users/dragetd/received_events","type":"User","site_admin":false},"created_at":"2015-03-31T11:04:08Z","updated_at":"2015-03-31T11:04:08Z","body":"I tried the 1.8 release. No change whatsoever. The log still shows multiple slotEtagPollTimerTimeout() - could you confirm that this means the Client aborted the sync for this folder? - and my external storages are unable to sync.\r\n\r\nPlus, the tray-icon shows a red cross first just like the main GUI when opened. But after closing it and a few seconds later, the tray-icon returns to a green checkmark, despite the sync is still failed or waiting.\r\n\r\nThis bug is not resolved."}}