{"action":"created","issue":{"url":"https://api.github.com/repos/NamelessMC/Nameless/issues/46","labels_url":"https://api.github.com/repos/NamelessMC/Nameless/issues/46/labels{/name}","comments_url":"https://api.github.com/repos/NamelessMC/Nameless/issues/46/comments","events_url":"https://api.github.com/repos/NamelessMC/Nameless/issues/46/events","html_url":"https://github.com/NamelessMC/Nameless/issues/46","id":120716482,"number":46,"title":"Error while upgrading from previous version","user":{"login":"HexaCubist","id":8563277,"avatar_url":"https://avatars.githubusercontent.com/u/8563277?v=3","gravatar_id":"","url":"https://api.github.com/users/HexaCubist","html_url":"https://github.com/HexaCubist","followers_url":"https://api.github.com/users/HexaCubist/followers","following_url":"https://api.github.com/users/HexaCubist/following{/other_user}","gists_url":"https://api.github.com/users/HexaCubist/gists{/gist_id}","starred_url":"https://api.github.com/users/HexaCubist/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HexaCubist/subscriptions","organizations_url":"https://api.github.com/users/HexaCubist/orgs","repos_url":"https://api.github.com/users/HexaCubist/repos","events_url":"https://api.github.com/users/HexaCubist/events{/privacy}","received_events_url":"https://api.github.com/users/HexaCubist/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-12-07T07:33:25Z","updated_at":"2015-12-07T07:33:59Z","closed_at":null,"body":"Attempted to upgrade the website with the new features from the commits, won't go past the upgrade page on the install.php. Following error is given:\r\n```\r\nFatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '1' for key 'PRIMARY'' in /storage/web/websites/minecraft/core/classes/DB.php:68 Stack trace: #0 /storage/web/websites/minecraft/core/classes/DB.php(68): PDOStatement->execute() #1 /storage/web/websites/minecraft/core/classes/DB.php(167): DB->createQuery('INSERT INTO nl1...', Array) #2 /storage/web/websites/minecraft/core/classes/Queries.php(42): DB->insert('groups', Array) #3 /storage/web/websites/minecraft/pages/install.php(323): Queries->create('groups', Array) #4 /storage/web/websites/minecraft/index.php(33): require('/storage/web/we...') #5 {main} thrown in /storage/web/websites/minecraft/core/classes/DB.php on line 68\r\n```"},"comment":{"url":"https://api.github.com/repos/NamelessMC/Nameless/issues/comments/162437835","html_url":"https://github.com/NamelessMC/Nameless/issues/46#issuecomment-162437835","issue_url":"https://api.github.com/repos/NamelessMC/Nameless/issues/46","id":162437835,"user":{"login":"HexaCubist","id":8563277,"avatar_url":"https://avatars.githubusercontent.com/u/8563277?v=3","gravatar_id":"","url":"https://api.github.com/users/HexaCubist","html_url":"https://github.com/HexaCubist","followers_url":"https://api.github.com/users/HexaCubist/followers","following_url":"https://api.github.com/users/HexaCubist/following{/other_user}","gists_url":"https://api.github.com/users/HexaCubist/gists{/gist_id}","starred_url":"https://api.github.com/users/HexaCubist/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HexaCubist/subscriptions","organizations_url":"https://api.github.com/users/HexaCubist/orgs","repos_url":"https://api.github.com/users/HexaCubist/repos","events_url":"https://api.github.com/users/HexaCubist/events{/privacy}","received_events_url":"https://api.github.com/users/HexaCubist/received_events","type":"User","site_admin":false},"created_at":"2015-12-07T07:33:59Z","updated_at":"2015-12-07T07:33:59Z","body":"Had to manually enable error reporting for that to show, otherwise page would just be blank"}}