{"action":"created","issue":{"url":"https://api.github.com/repos/invoiceninja/invoiceninja/issues/1024","repository_url":"https://api.github.com/repos/invoiceninja/invoiceninja","labels_url":"https://api.github.com/repos/invoiceninja/invoiceninja/issues/1024/labels{/name}","comments_url":"https://api.github.com/repos/invoiceninja/invoiceninja/issues/1024/comments","events_url":"https://api.github.com/repos/invoiceninja/invoiceninja/issues/1024/events","html_url":"https://github.com/invoiceninja/invoiceninja/issues/1024","id":168401446,"number":1024,"title":"Installing ninja - Self host","user":{"login":"planetahuevo","id":2963191,"avatar_url":"https://avatars.githubusercontent.com/u/2963191?v=3","gravatar_id":"","url":"https://api.github.com/users/planetahuevo","html_url":"https://github.com/planetahuevo","followers_url":"https://api.github.com/users/planetahuevo/followers","following_url":"https://api.github.com/users/planetahuevo/following{/other_user}","gists_url":"https://api.github.com/users/planetahuevo/gists{/gist_id}","starred_url":"https://api.github.com/users/planetahuevo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/planetahuevo/subscriptions","organizations_url":"https://api.github.com/users/planetahuevo/orgs","repos_url":"https://api.github.com/users/planetahuevo/repos","events_url":"https://api.github.com/users/planetahuevo/events{/privacy}","received_events_url":"https://api.github.com/users/planetahuevo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-07-29T19:53:41Z","updated_at":"2016-07-29T21:06:06Z","closed_at":null,"body":"I am finding this error:\r\n```\r\nPHP Fatal error:  Cannot redeclare class CreatePasswordResetsTable in /home/2XXXXXX/public_html/database/migrations/2015_03_30_100000_create_password_resets_table.php on line 28\r\n\r\n\r\n  [Symfony\\Component\\Debug\\Exception\\FatalErrorException]\r\n  Cannot redeclare class CreatePasswordResetsTable\r\n```\r\nThis happens just after I enter all the information on the setup screen. \r\nIf I go and rename the function there to bypass the problem, i found this other error instead: \r\n```\r\n  [Illuminate\\Database\\QueryException]\r\n  SQLSTATE[42S01]: Base table or view already exists: 1050 Table 'users' already exists (SQL: create table `users` (`id` in\r\n  t unsigned not null auto_increment primary key, `name` varchar(255) not null, `email` varchar(255) not null, `password` v\r\n  archar(255) not null, `remember_token` varchar(100) null, `created_at` timestamp null, `updated_at` timestamp null) defau\r\n  lt character set utf8 collate utf8_unicode_ci)\r\n\r\n\r\n\r\n  [PDOException]\r\n  SQLSTATE[42S01]: Base table or view already exists: 1050 Table 'users' already exists\r\n```\r\n\r\nAnd I am not able to move forward...\r\nAny ideas?"},"comment":{"url":"https://api.github.com/repos/invoiceninja/invoiceninja/issues/comments/236293472","html_url":"https://github.com/invoiceninja/invoiceninja/issues/1024#issuecomment-236293472","issue_url":"https://api.github.com/repos/invoiceninja/invoiceninja/issues/1024","id":236293472,"user":{"login":"codedge","id":4409904,"avatar_url":"https://avatars.githubusercontent.com/u/4409904?v=3","gravatar_id":"","url":"https://api.github.com/users/codedge","html_url":"https://github.com/codedge","followers_url":"https://api.github.com/users/codedge/followers","following_url":"https://api.github.com/users/codedge/following{/other_user}","gists_url":"https://api.github.com/users/codedge/gists{/gist_id}","starred_url":"https://api.github.com/users/codedge/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codedge/subscriptions","organizations_url":"https://api.github.com/users/codedge/orgs","repos_url":"https://api.github.com/users/codedge/repos","events_url":"https://api.github.com/users/codedge/events{/privacy}","received_events_url":"https://api.github.com/users/codedge/received_events","type":"User","site_admin":false},"created_at":"2016-07-29T21:06:05Z","updated_at":"2016-07-29T21:06:05Z","body":"@planetahuevo \r\nLooks like you got the correct latest version - just wanted to make sure.\r\nNormally after configuring your Vhost and browsing to your URL, you will be prompted with the install page. After filling all the details on that page the app is configured and your good to go. No further steps needed.\r\n\r\nWhat really look weird is the first error your getting `Cannot redeclare...` . That looks like there is already a class called `CreatePasswordResetsTable`, which is definitely not the case.\r\n\r\nSo you're doing a fresh install with the latest version.. hmm .. what you could do is:\r\n- Create an empty db\r\n- Fill in all the db details in your `.env` file with **your own** credentials:\r\n  - `DB_TYPE=mysql`\r\n  - `DB_HOST=localhost`\r\n  - `DB_DATABASE=homestead`\r\n  - `DB_USERNAME=homestead`\r\n  - `DB_PASSWORD=secret`\r\n\r\n@hillelcoren any idea?\r\n"}}
{"actor":{"display_login":"codedge"}}