{"action":"created","issue":{"url":"https://api.github.com/repos/MPOS/php-mpos/issues/2768","repository_url":"https://api.github.com/repos/MPOS/php-mpos","labels_url":"https://api.github.com/repos/MPOS/php-mpos/issues/2768/labels{/name}","comments_url":"https://api.github.com/repos/MPOS/php-mpos/issues/2768/comments","events_url":"https://api.github.com/repos/MPOS/php-mpos/issues/2768/events","html_url":"https://github.com/MPOS/php-mpos/issues/2768","id":387095247,"node_id":"MDU6SXNzdWUzODcwOTUyNDc=","number":2768,"title":"E0081 Failed to insert new block into database","user":{"login":"thespice","id":40903768,"node_id":"MDQ6VXNlcjQwOTAzNzY4","avatar_url":"https://avatars0.githubusercontent.com/u/40903768?v=4","gravatar_id":"","url":"https://api.github.com/users/thespice","html_url":"https://github.com/thespice","followers_url":"https://api.github.com/users/thespice/followers","following_url":"https://api.github.com/users/thespice/following{/other_user}","gists_url":"https://api.github.com/users/thespice/gists{/gist_id}","starred_url":"https://api.github.com/users/thespice/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thespice/subscriptions","organizations_url":"https://api.github.com/users/thespice/orgs","repos_url":"https://api.github.com/users/thespice/repos","events_url":"https://api.github.com/users/thespice/events{/privacy}","received_events_url":"https://api.github.com/users/thespice/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":13,"created_at":"2018-12-04T02:45:27Z","updated_at":"2018-12-06T15:21:56Z","closed_at":null,"author_association":"NONE","body":"Hi,\r\n\r\nI'm getting an E0081 error which is reporting that sql is failing as while trying to add a duplicate entry to the database.\r\n\r\n`SQL Query failed: Duplicate entry '777507 - <hash>'  for key 'height'`\r\n\r\nI've gone in to the db and deleted that block, run the findblocks cron, that block gets re-added to the db and then I get the duplicate error warning again.\r\n\r\nIs this a blockchain issue or does findblocks have a cache somewhere that is storing this block height twice?\r\n\r\nAny ideas how to fix this please?"},"comment":{"url":"https://api.github.com/repos/MPOS/php-mpos/issues/comments/444908075","html_url":"https://github.com/MPOS/php-mpos/issues/2768#issuecomment-444908075","issue_url":"https://api.github.com/repos/MPOS/php-mpos/issues/2768","id":444908075,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0NDkwODA3NQ==","user":{"login":"cornac","id":36678821,"node_id":"MDQ6VXNlcjM2Njc4ODIx","avatar_url":"https://avatars0.githubusercontent.com/u/36678821?v=4","gravatar_id":"","url":"https://api.github.com/users/cornac","html_url":"https://github.com/cornac","followers_url":"https://api.github.com/users/cornac/followers","following_url":"https://api.github.com/users/cornac/following{/other_user}","gists_url":"https://api.github.com/users/cornac/gists{/gist_id}","starred_url":"https://api.github.com/users/cornac/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cornac/subscriptions","organizations_url":"https://api.github.com/users/cornac/orgs","repos_url":"https://api.github.com/users/cornac/repos","events_url":"https://api.github.com/users/cornac/events{/privacy}","received_events_url":"https://api.github.com/users/cornac/received_events","type":"User","site_admin":false},"created_at":"2018-12-06T15:21:56Z","updated_at":"2018-12-06T15:21:56Z","author_association":"NONE","body":"Try to add manually missing rows such as workername, account_id, shares and mark it as accounted. Then run crons. I think that stratum not insert share that was block’s solution. "}}
{"actor":{"display_login":"cornac"}}