Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Проблемы при установке #99

Open
vvp33 opened this issue Jul 23, 2016 · 0 comments
Open

Проблемы при установке #99

vvp33 opened this issue Jul 23, 2016 · 0 comments

Comments

@vvp33
Copy link

vvp33 commented Jul 23, 2016

На шаге:
Скопировать .env.example в .env и настроить подключение к БД, затем выполнить комманду (Copy .env.example and rename to .env. Configure database connection, then run artisan command) php artisan modules:migrate --seed

[2016-07-23 18:03:46] local.ERROR: exception 'PDOException' with message 'SQLSTATE[42S02]: Base table or view not found: 1146 Table 'u2349006_kodicms.roles' doesn't exist' in /var/www/u2349006/public_html/kodicms/vendor/laravel/framework/src/Illuminate/Database/Connection.php:453
Stack trace:
#0 /var/www/u2349006/public_html/kodicms/vendor/laravel/framework/src/Illuminate/Database/Connection.php(453): PDOStatement->execute(Array)
#1 /var/www/u2349006/public_html/kodicms/vendor/laravel/framework/src/Illuminate/Database/Connection.php(718): Illuminate\Database\Connection->Illuminate\Database\{closure}(Object(Illuminate\Database\MySqlConnection), 'truncate `roles...', Array)
#2 /var/www/u2349006/public_html/kodicms/vendor/laravel/framework/src/Illuminate/Database/Connection.php(681): Illuminate\Database\Connection->runQueryCallback('truncate `roles...', Array, Object(Closure))
#3 /var/www/u2349006/public_html/kodicms/vendor/laravel/framework/src/Illuminate/Database/Connection.php(454): Illuminate\Database\Connection->run('truncate `roles...', Array, Object(Closure))
#4 /var/www/u2349006/public_html/kodicms/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(2153): Illuminate\Database\Connection->statement('truncate `roles...', Array)
#5 [internal function]: Illuminate\Database\Query\Builder->truncate()
#6 /var/www/u2349006/public_html/kodicms/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php(1426): call_user_func_array(Array, Array)
#7 [internal function]: Illuminate\Database\Eloquent\Builder->__call('truncate', Array)
#8 [internal function]: Illuminate\Database\Eloquent\Builder->truncate()
#9 /var/www/u2349006/public_html/kodicms/bootstrap/cache/compiled.php(11655): call_user_func_array(Array, Array)
#10 [internal function]: Illuminate\Database\Eloquent\Model->__call('truncate', Array)
#11 [internal function]: KodiCMS\Users\Model\Role->truncate()
#12 /var/www/u2349006/public_html/kodicms/bootstrap/cache/compiled.php(11660): call_user_func_array(Array, Array)
#13 /var/www/u2349006/public_html/kodicms/vendor/kodicms/users/src/database/seeds/RolesTableSeeder.php(18): Illuminate\Database\Eloquent\Model::__callStatic('truncate', Array)
#14 /var/www/u2349006/public_html/kodicms/vendor/kodicms/users/src/database/seeds/RolesTableSeeder.php(18): KodiCMS\Users\Model\Role::truncate()
#15 /var/www/u2349006/public_html/kodicms/vendor/laravel/framework/src/Illuminate/Database/Seeder.php(39): KodiCMS\Users\database\seeds\RolesTableSeeder->run()
#16 /var/www/u2349006/public_html/kodicms/vendor/kodicms/users/src/database/seeds/DatabaseSeeder.php(21): Illuminate\Database\Seeder->call('KodiCMS\\Users\\d...')
#17 /var/www/u2349006/public_html/kodicms/vendor/kodicms/module-loader/src/ModulesInstaller.php(181): KodiCMS\Users\database\seeds\DatabaseSeeder->run()
#18 /var/www/u2349006/public_html/kodicms/vendor/kodicms/module-loader/src/ModulesInstaller.php(158): KodiCMS\ModulesLoader\ModulesInstaller->seedModule(Object(KodiCMS\Support\Loader\ModuleContainer), Array)
#19 /var/www/u2349006/public_html/kodicms/vendor/kodicms/module-loader/src/Console/Commands/ModulesSeedCommand.php(33): KodiCMS\ModulesLoader\ModulesInstaller->seedModules()
#20 [internal function]: KodiCMS\ModulesLoader\Console\Commands\ModulesSeedCommand->fire()
#21 /var/www/u2349006/public_html/kodicms/bootstrap/cache/compiled.php(1257): call_user_func_array(Array, Array)
#22 /var/www/u2349006/public_html/kodicms/vendor/laravel/framework/src/Illuminate/Console/Command.php(169): Illuminate\Container\Container->call(Array)
#23 /var/www/u2349006/public_html/kodicms/vendor/symfony/console/Command/Command.php(256): Illuminate\Console\Command->execute(Object(Symfony\Component\Console\Input\ArrayInput), Object(Illuminate\Console\OutputStyle))
#24 /var/www/u2349006/public_html/kodicms/vendor/laravel/framework/src/Illuminate/Console/Command.php(155): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArrayInput), Object(Illuminate\Console\OutputStyle))
#25 /var/www/u2349006/public_html/kodicms/vendor/laravel/framework/src/Illuminate/Console/Command.php(185): Illuminate\Console\Command->run(Object(Symfony\Component\Console\Input\ArrayInput), Object(Illuminate\Console\OutputStyle))
#26 /var/www/u2349006/public_html/kodicms/vendor/kodicms/module-loader/src/Console/Commands/ModulesMigrateCommand.php(54): Illuminate\Console\Command->call('modules:seed')
#27 [internal function]: KodiCMS\ModulesLoader\Console\Commands\ModulesMigrateCommand->fire(Object(Illuminate\Foundation\Application))
#28 /var/www/u2349006/public_html/kodicms/bootstrap/cache/compiled.php(1257): call_user_func_array(Array, Array)
#29 /var/www/u2349006/public_html/kodicms/vendor/laravel/framework/src/Illuminate/Console/Command.php(169): Illuminate\Container\Container->call(Array)
#30 /var/www/u2349006/public_html/kodicms/vendor/symfony/console/Command/Command.php(256): Illuminate\Console\Command->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#31 /var/www/u2349006/public_html/kodicms/vendor/laravel/framework/src/Illuminate/Console/Command.php(155): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#32 /var/www/u2349006/public_html/kodicms/vendor/symfony/console/Application.php(791): Illuminate\Console\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#33 /var/www/u2349006/public_html/kodicms/vendor/symfony/console/Application.php(186): Symfony\Component\Console\Application->doRunCommand(Object(KodiCMS\ModulesLoader\Console\Commands\ModulesMigrateCommand), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#34 /var/www/u2349006/public_html/kodicms/vendor/symfony/console/Application.php(117): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#35 /var/www/u2349006/public_html/kodicms/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(107): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#36 /var/www/u2349006/public_html/kodicms/artisan(36): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#37 {main}

Next exception 'Illuminate\Database\QueryException' with message 'SQLSTATE[42S02]: Base table or view not found: 1146 Table 'u2349006_kodicms.roles' doesn't exist (SQL: truncate `roles`)' in /var/www/u2349006/public_html/kodicms/vendor/laravel/framework/src/Illuminate/Database/Connection.php:725
Stack trace:
#0 /var/www/u2349006/public_html/kodicms/vendor/laravel/framework/src/Illuminate/Database/Connection.php(681): Illuminate\Database\Connection->runQueryCallback('truncate `roles...', Array, Object(Closure))
#1 /var/www/u2349006/public_html/kodicms/vendor/laravel/framework/src/Illuminate/Database/Connection.php(454): Illuminate\Database\Connection->run('truncate `roles...', Array, Object(Closure))
#2 /var/www/u2349006/public_html/kodicms/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(2153): Illuminate\Database\Connection->statement('truncate `roles...', Array)
#3 [internal function]: Illuminate\Database\Query\Builder->truncate()
#4 /var/www/u2349006/public_html/kodicms/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php(1426): call_user_func_array(Array, Array)
#5 [internal function]: Illuminate\Database\Eloquent\Builder->__call('truncate', Array)
#6 [internal function]: Illuminate\Database\Eloquent\Builder->truncate()
#7 /var/www/u2349006/public_html/kodicms/bootstrap/cache/compiled.php(11655): call_user_func_array(Array, Array)
#8 [internal function]: Illuminate\Database\Eloquent\Model->__call('truncate', Array)
#9 [internal function]: KodiCMS\Users\Model\Role->truncate()
#10 /var/www/u2349006/public_html/kodicms/bootstrap/cache/compiled.php(11660): call_user_func_array(Array, Array)
#11 /var/www/u2349006/public_html/kodicms/vendor/kodicms/users/src/database/seeds/RolesTableSeeder.php(18): Illuminate\Database\Eloquent\Model::__callStatic('truncate', Array)
#12 /var/www/u2349006/public_html/kodicms/vendor/kodicms/users/src/database/seeds/RolesTableSeeder.php(18): KodiCMS\Users\Model\Role::truncate()
#13 /var/www/u2349006/public_html/kodicms/vendor/laravel/framework/src/Illuminate/Database/Seeder.php(39): KodiCMS\Users\database\seeds\RolesTableSeeder->run()
#14 /var/www/u2349006/public_html/kodicms/vendor/kodicms/users/src/database/seeds/DatabaseSeeder.php(21): Illuminate\Database\Seeder->call('KodiCMS\\Users\\d...')
#15 /var/www/u2349006/public_html/kodicms/vendor/kodicms/module-loader/src/ModulesInstaller.php(181): KodiCMS\Users\database\seeds\DatabaseSeeder->run()
#16 /var/www/u2349006/public_html/kodicms/vendor/kodicms/module-loader/src/ModulesInstaller.php(158): KodiCMS\ModulesLoader\ModulesInstaller->seedModule(Object(KodiCMS\Support\Loader\ModuleContainer), Array)
#17 /var/www/u2349006/public_html/kodicms/vendor/kodicms/module-loader/src/Console/Commands/ModulesSeedCommand.php(33): KodiCMS\ModulesLoader\ModulesInstaller->seedModules()
#18 [internal function]: KodiCMS\ModulesLoader\Console\Commands\ModulesSeedCommand->fire()
#19 /var/www/u2349006/public_html/kodicms/bootstrap/cache/compiled.php(1257): call_user_func_array(Array, Array)
#20 /var/www/u2349006/public_html/kodicms/vendor/laravel/framework/src/Illuminate/Console/Command.php(169): Illuminate\Container\Container->call(Array)
#21 /var/www/u2349006/public_html/kodicms/vendor/symfony/console/Command/Command.php(256): Illuminate\Console\Command->execute(Object(Symfony\Component\Console\Input\ArrayInput), Object(Illuminate\Console\OutputStyle))
#22 /var/www/u2349006/public_html/kodicms/vendor/laravel/framework/src/Illuminate/Console/Command.php(155): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArrayInput), Object(Illuminate\Console\OutputStyle))
#23 /var/www/u2349006/public_html/kodicms/vendor/laravel/framework/src/Illuminate/Console/Command.php(185): Illuminate\Console\Command->run(Object(Symfony\Component\Console\Input\ArrayInput), Object(Illuminate\Console\OutputStyle))
#24 /var/www/u2349006/public_html/kodicms/vendor/kodicms/module-loader/src/Console/Commands/ModulesMigrateCommand.php(54): Illuminate\Console\Command->call('modules:seed')
#25 [internal function]: KodiCMS\ModulesLoader\Console\Commands\ModulesMigrateCommand->fire(Object(Illuminate\Foundation\Application))
#26 /var/www/u2349006/public_html/kodicms/bootstrap/cache/compiled.php(1257): call_user_func_array(Array, Array)
#27 /var/www/u2349006/public_html/kodicms/vendor/laravel/framework/src/Illuminate/Console/Command.php(169): Illuminate\Container\Container->call(Array)
#28 /var/www/u2349006/public_html/kodicms/vendor/symfony/console/Command/Command.php(256): Illuminate\Console\Command->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#29 /var/www/u2349006/public_html/kodicms/vendor/laravel/framework/src/Illuminate/Console/Command.php(155): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#30 /var/www/u2349006/public_html/kodicms/vendor/symfony/console/Application.php(791): Illuminate\Console\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#31 /var/www/u2349006/public_html/kodicms/vendor/symfony/console/Application.php(186): Symfony\Component\Console\Application->doRunCommand(Object(KodiCMS\ModulesLoader\Console\Commands\ModulesMigrateCommand), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#32 /var/www/u2349006/public_html/kodicms/vendor/symfony/console/Application.php(117): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#33 /var/www/u2349006/public_html/kodicms/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(107): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#34 /var/www/u2349006/public_html/kodicms/artisan(36): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#35 {main}  
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants