{"action":"created","issue":{"url":"https://api.github.com/repos/phpipam/phpipam/issues/225","labels_url":"https://api.github.com/repos/phpipam/phpipam/issues/225/labels{/name}","comments_url":"https://api.github.com/repos/phpipam/phpipam/issues/225/comments","events_url":"https://api.github.com/repos/phpipam/phpipam/issues/225/events","html_url":"https://github.com/phpipam/phpipam/issues/225","id":119953523,"number":225,"title":"Upgrading database went OK, but tables fields are missing","user":{"login":"ricmik","id":6681390,"avatar_url":"https://avatars.githubusercontent.com/u/6681390?v=3","gravatar_id":"","url":"https://api.github.com/users/ricmik","html_url":"https://github.com/ricmik","followers_url":"https://api.github.com/users/ricmik/followers","following_url":"https://api.github.com/users/ricmik/following{/other_user}","gists_url":"https://api.github.com/users/ricmik/gists{/gist_id}","starred_url":"https://api.github.com/users/ricmik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ricmik/subscriptions","organizations_url":"https://api.github.com/users/ricmik/orgs","repos_url":"https://api.github.com/users/ricmik/repos","events_url":"https://api.github.com/users/ricmik/events{/privacy}","received_events_url":"https://api.github.com/users/ricmik/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-12-02T14:29:06Z","updated_at":"2015-12-03T08:56:59Z","closed_at":null,"body":"Most field errors were fixed by running \"fix field\" under \"verify database\", but some was unsuccessful.\r\nThis is an upgrade from 1.1.010 to 1.19.008\r\n\r\n![image](https://cloud.githubusercontent.com/assets/6681390/11533344/65818fe6-9909-11e5-8c03-304eed550c61.png)\r\n\r\nMissing fields:\r\n\r\n\r\nTable `settings`: missing field `scanPingType`;Fix field\r\n\r\nUpdate: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'scanFPingPath' in 'settings'\r\nquery: alter table `settings` add `scanPingType` SET('ping','pear','fping') NOT NULL DEFAULT 'ping' after `scanFPingPath`;;\r\n\r\n\r\nTable `subnets`: missing field `scanAgent`;Fix field\r\n\r\nUpdate: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'nameserverId' in 'subnets'\r\nquery: alter table `subnets` add `scanAgent` INT(11) DEFAULT NULL after `nameserverId`;;\r\n\r\n\r\nTable `users`: missing field `token_valid_until`;Fix field\r\n\r\nUpdate: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'token' in 'users'\r\nquery: alter table `users` add `token_valid_until` DATETIME NULL after `token`;;"},"comment":{"url":"https://api.github.com/repos/phpipam/phpipam/issues/comments/161556093","html_url":"https://github.com/phpipam/phpipam/issues/225#issuecomment-161556093","issue_url":"https://api.github.com/repos/phpipam/phpipam/issues/225","id":161556093,"user":{"login":"ricmik","id":6681390,"avatar_url":"https://avatars.githubusercontent.com/u/6681390?v=3","gravatar_id":"","url":"https://api.github.com/users/ricmik","html_url":"https://github.com/ricmik","followers_url":"https://api.github.com/users/ricmik/followers","following_url":"https://api.github.com/users/ricmik/following{/other_user}","gists_url":"https://api.github.com/users/ricmik/gists{/gist_id}","starred_url":"https://api.github.com/users/ricmik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ricmik/subscriptions","organizations_url":"https://api.github.com/users/ricmik/orgs","repos_url":"https://api.github.com/users/ricmik/repos","events_url":"https://api.github.com/users/ricmik/events{/privacy}","received_events_url":"https://api.github.com/users/ricmik/received_events","type":"User","site_admin":false},"created_at":"2015-12-03T08:56:58Z","updated_at":"2015-12-03T08:56:58Z","body":"Yes, I still have the original database. I'm running this on a test-database.\r\nThis was not from the latest master version, but from the \"beta 2\" tar file.\r\n\r\nI have also tried the latest master version, and this time, the database update fails completely.\r\n\r\n![image](https://cloud.githubusercontent.com/assets/6681390/11555973/2f8a7498-99a4-11e5-9ced-07fddb3c7d9f.png)\r\n"}}