denisgillier
2 weeks ago
134
4
Laravel

Systemic DB error during and after Composer install ???

Posted 2 weeks ago by denisgillier

Hello, I'm pretty new to Laravel and I'm trying to deploy my app on EC2 (from github). After doing a git clone and filling up the .env file, I'm doing a composer install...

Everything seems to be installed correctly but at the end of it I'm having the following :

@php artisan package:discover --ansi

   Illuminate\Database\QueryException 

  SQLSTATE[42S02]: Base table or view not found: 1146 Table 'bms0.languages' doesn't exist (SQL: select * from `languages` where `languages`.`deleted_at` is null)

Looks like composer install is expecting a DB with existing tables (and of course I haven't done artisan migrate yet)... And whatever composer or php artisan command I'm doing thereafter is generating the same error again ???


  SQLSTATE[42S02]: Base table or view not found: 1146 Table 'bms0.languages' doesn't exist (SQL: select * from `languages` where `languages`.`deleted_at` is null)

  at vendor/laravel/framework/src/Illuminate/Database/Connection.php:671

Any idea of what's going on ?

Thanks for your precious help, Denis

Please sign in or create an account to participate in this conversation.