snipe-it icon indicating copy to clipboard operation
snipe-it copied to clipboard

snipe-it installation issue

Open umerafridi opened this issue 11 years ago • 3 comments

Dear All,

i am trying to install snipe-it on Centos 6.5 and mysql 5.5 .but i facing the following error please help me. ErrorException (E_UNKNOWN)

SQLSTATE[42S02]: Base table or view not found: 1146 Table 'snipeit.settings' doesn't exist (SQL: select * from settings where settings.id = 1 limit 1) (View: /var/www/html/snipe-it-1.2.5/app/views/backend/layouts/default.blade.php) (View: /var/www/html/snipe-it-1.2.5/app/views/backend/layouts/default.blade.php)

umerafridi avatar Mar 02 '15 09:03 umerafridi

Have you run the command php artisan app:install ?

madd15 avatar Mar 02 '15 10:03 madd15

when i run this command at end i face this error [Illuminate\Database\QueryException] SQLSTATE[42S01]: Base table or view already exists: 1050 Table 'migrations' already exists (SQL: create table migrations (migration varchar(255) n ot null, batch int not null) default character set utf8 collate utf8_unic ode_ci)

umerafridi avatar Mar 03 '15 17:03 umerafridi

Had you run the install command without having run the migrate command?

madd15 avatar Mar 03 '15 22:03 madd15