{"action":"created","issue":{"url":"https://api.github.com/repos/haiwen/seafile/issues/1332","labels_url":"https://api.github.com/repos/haiwen/seafile/issues/1332/labels{/name}","comments_url":"https://api.github.com/repos/haiwen/seafile/issues/1332/comments","events_url":"https://api.github.com/repos/haiwen/seafile/issues/1332/events","html_url":"https://github.com/haiwen/seafile/issues/1332","id":98317189,"number":1332,"title":"Running seafile-server 4.2.3 seafile linux client 4.2.8 and getting errors on a repo sync.","user":{"login":"caniwi","id":9203521,"avatar_url":"https://avatars.githubusercontent.com/u/9203521?v=3","gravatar_id":"","url":"https://api.github.com/users/caniwi","html_url":"https://github.com/caniwi","followers_url":"https://api.github.com/users/caniwi/followers","following_url":"https://api.github.com/users/caniwi/following{/other_user}","gists_url":"https://api.github.com/users/caniwi/gists{/gist_id}","starred_url":"https://api.github.com/users/caniwi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/caniwi/subscriptions","organizations_url":"https://api.github.com/users/caniwi/orgs","repos_url":"https://api.github.com/users/caniwi/repos","events_url":"https://api.github.com/users/caniwi/events{/privacy}","received_events_url":"https://api.github.com/users/caniwi/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-07-31T05:04:04Z","updated_at":"2015-08-03T01:36:32Z","closed_at":null,"body":"the logs/seafile.log is filled with \r\n[07/31/2015 04:51:13 PM] http-server.c(902): Failed to get commit b65d8f0d33e63dbe10b8d80cd21f0e81205eb14d for repo da32ec94-def2-4225-a5ff-df577e6cd4ec.\r\n[07/31/2015 04:51:44 PM] http-server.c(902): Failed to get commit b65d8f0d33e63dbe10b8d80cd21f0e81205eb14d for repo da32ec94-def2-4225-a5ff-df577e6cd4ec.\r\n[07/31/2015 04:52:15 PM] http-server.c(902): Failed to get commit b65d8f0d33e63dbe10b8d80cd21f0e81205eb14d for repo da32ec94-def2-4225-a5ff-df577e6cd4ec.\r\n[07/31/2015 04:52:46 PM] http-server.c(902): Failed to get commit b65d8f0d33e63dbe10b8d80cd21f0e81205eb14d for repo da32ec94-def2-4225-a5ff-df577e6cd4ec.\r\n[07/31/2015 04:53:25 PM] http-server.c(902): Failed to get commit b65d8f0d33e63dbe10b8d80cd21f0e81205eb14d for repo da32ec94-def2-4225-a5ff-df577e6cd4ec.\r\n[07/31/2015 04:53:48 PM] http-server.c(902): Failed to get commit b65d8f0d33e63dbe10b8d80cd21f0e81205eb14d for repo da32ec94-def2-4225-a5ff-df577e6cd4ec.\r\n\r\nMessages on client \r\n[07/30/15 12:51:37] sync-mgr.c(656): Repo 'Catalyst Australia' sync state transition from 'synchronized' to 'uploading'.\r\n> [07/30/15 12:51:37] http-tx-mgr.c(2660): Upload with HTTP sync protocol version 1.\r\n> [07/30/15 12:51:37] http-tx-mgr.c(938): Transfer repo 'da32ec94': ('normal', 'init') --> ('normal', 'check')\r\n> [07/30/15 12:51:38] http-tx-mgr.c(938): Transfer repo 'da32ec94': ('normal', 'check') --> ('normal', 'commit')\r\n> [07/30/15 12:51:38] http-tx-mgr.c(938): Transfer repo 'da32ec94': ('normal', 'commit') --> ('normal', 'fs')\r\n> [07/30/15 12:51:38] http-tx-mgr.c(938): Transfer repo 'da32ec94': ('normal', 'fs') --> ('normal', 'data')\r\n> [07/30/15 12:51:38] http-tx-mgr.c(938): Transfer repo 'da32ec94': ('normal', 'data') --> ('normal', 'update-branch')\r\n> [07/30/15 12:51:38] http-tx-mgr.c(2566): Bad response code for PUT https://seafile.catalyst.net.nz/seafhttp/repo ... f080bf0f355a2f2f88b7e30ada7f2: 500.\r\n> [07/30/15 12:51:38] http-tx-mgr.c(2795): Failed to update branch of repo da32ec94.\r\n> [07/30/15 12:51:38] http-tx-mgr.c(938): Transfer repo 'da32ec94': ('normal', 'update-branch') --> ('error', 'finished')\r\n> [07/30/15 12:51:38] sync-mgr.c(724): Repo 'Catalyst Australia' sync state transition from uploading to 'error': 'Error occured in upload.'.\r\n\r\nI have done a seaf-fsck with no errors on the repo.  I have also done a seaf-gc with nothing reclaimed.\r\n\r\nThe seaf-gc output shows....\r\n[07/31/15 16:36:59] gc-core.c(438): GC version 1 repo Catalyst Australia(da32ec94-def2-4225-a5ff-df577e6cd4ec)\r\n[07/31/15 16:36:59] gc-core.c(313): GC started. Total block number is 20088.\r\n[07/31/15 16:36:59] gc-core.c(46): GC index size is 10044 Byte.\r\n[07/31/15 16:36:59] gc-core.c(327): Populating index.\r\n[07/31/15 16:36:59] gc-core.c(181): Populating index for repo da32ec94.\r\n[07/31/15 16:37:09] gc-core.c(234): Traversed 7344 commits, 20132 blocks.\r\n[07/31/15 16:37:09] gc-core.c(341): Scanning and deleting unused blocks.\r\n[07/31/15 16:37:09] gc-core.c(364): GC finished. 20088 blocks total, about 20132 reachable blocks, 0 blocks are removed.\r\nwhich looks odd...differing blocks total from reachable.\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/haiwen/seafile/issues/comments/127095659","html_url":"https://github.com/haiwen/seafile/issues/1332#issuecomment-127095659","issue_url":"https://api.github.com/repos/haiwen/seafile/issues/1332","id":127095659,"user":{"login":"caniwi","id":9203521,"avatar_url":"https://avatars.githubusercontent.com/u/9203521?v=3","gravatar_id":"","url":"https://api.github.com/users/caniwi","html_url":"https://github.com/caniwi","followers_url":"https://api.github.com/users/caniwi/followers","following_url":"https://api.github.com/users/caniwi/following{/other_user}","gists_url":"https://api.github.com/users/caniwi/gists{/gist_id}","starred_url":"https://api.github.com/users/caniwi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/caniwi/subscriptions","organizations_url":"https://api.github.com/users/caniwi/orgs","repos_url":"https://api.github.com/users/caniwi/repos","events_url":"https://api.github.com/users/caniwi/events{/privacy}","received_events_url":"https://api.github.com/users/caniwi/received_events","type":"User","site_admin":false},"created_at":"2015-08-03T01:36:32Z","updated_at":"2015-08-03T01:36:32Z","body":"Did not mean to close the issue."}}