{"action":"created","issue":{"url":"https://api.github.com/repos/bitpay/insight-api/issues/311","labels_url":"https://api.github.com/repos/bitpay/insight-api/issues/311/labels{/name}","comments_url":"https://api.github.com/repos/bitpay/insight-api/issues/311/comments","events_url":"https://api.github.com/repos/bitpay/insight-api/issues/311/events","html_url":"https://github.com/bitpay/insight-api/issues/311","id":73151208,"number":311,"title":"error: Previous Tip block tip height differs by 7. Please delete and resync (-D)","user":{"login":"lekanovic","id":3911096,"avatar_url":"https://avatars.githubusercontent.com/u/3911096?v=3","gravatar_id":"","url":"https://api.github.com/users/lekanovic","html_url":"https://github.com/lekanovic","followers_url":"https://api.github.com/users/lekanovic/followers","following_url":"https://api.github.com/users/lekanovic/following{/other_user}","gists_url":"https://api.github.com/users/lekanovic/gists{/gist_id}","starred_url":"https://api.github.com/users/lekanovic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lekanovic/subscriptions","organizations_url":"https://api.github.com/users/lekanovic/orgs","repos_url":"https://api.github.com/users/lekanovic/repos","events_url":"https://api.github.com/users/lekanovic/events{/privacy}","received_events_url":"https://api.github.com/users/lekanovic/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-05-04T22:52:17Z","updated_at":"2015-06-09T17:16:31Z","closed_at":null,"body":"I keep on getting this error after a while.\r\n\r\nInfo:\r\n* bitcoind 0.10.0\r\n* insight-api branch master: e1341150d7ac457485d47cb78184412dab88597c\r\n\r\nI have tried this \r\n* INSIGHT_FORCE_RPC_SYNC = 1\r\n* node utils/sync.js -D -v --rpc\r\n* I have removed rm ~/.insight directory\r\n* in config.js I have commented out \"//dataDir: dataDir,\"\r\n\r\nSummary\r\nIf I remove the ~/.insight directory and do the resync it works for a while but after a while I get this error. Since I am on testnet this is not a big problem since syncing testnet takes 45min. But for mainnet this is not feasible since it takes days to sync that one.\r\n\r\nAny suggestion how to fix this problem, does anyone else have this problem. I all started out with the bitcoind version 0.10.0\r\n"},"comment":{"url":"https://api.github.com/repos/bitpay/insight-api/issues/comments/110437754","html_url":"https://github.com/bitpay/insight-api/issues/311#issuecomment-110437754","issue_url":"https://api.github.com/repos/bitpay/insight-api/issues/311","id":110437754,"user":{"login":"matiu","id":98844,"avatar_url":"https://avatars.githubusercontent.com/u/98844?v=3","gravatar_id":"","url":"https://api.github.com/users/matiu","html_url":"https://github.com/matiu","followers_url":"https://api.github.com/users/matiu/followers","following_url":"https://api.github.com/users/matiu/following{/other_user}","gists_url":"https://api.github.com/users/matiu/gists{/gist_id}","starred_url":"https://api.github.com/users/matiu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matiu/subscriptions","organizations_url":"https://api.github.com/users/matiu/orgs","repos_url":"https://api.github.com/users/matiu/repos","events_url":"https://api.github.com/users/matiu/events{/privacy}","received_events_url":"https://api.github.com/users/matiu/received_events","type":"User","site_admin":false},"created_at":"2015-06-09T17:16:31Z","updated_at":"2015-06-09T17:16:31Z","body":"We had the same problem in testnet.\n\nYou will need to to insight; delete de database, and resync from scratch.\n\nOn Tue, Jun 9, 2015 at 2:14 PM, Maciej Trębacz <notifications@github.com>\nwrote:\n\n> I just got the same problem. Anyone has a solution?\n>\n> —\n> Reply to this email directly or view it on GitHub\n> <https://github.com/bitpay/insight-api/issues/311#issuecomment-110437293>.\n>\n\n\n\n-- \nBitPay.com\n"}}