You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
you get these exceptions from visiting /projects/1
2/3 ErrorException in Model.php line 3198:
Undefined index: commands (View: /home/vagrant/Dev/deploy.dev/resources/views/projects/_partials/deployments.blade.php)
in Model.php line 3198
at CompilerEngine->handleViewException(object(ErrorException), '3') in PhpEngine.php line 44
at PhpEngine->evaluatePath('/home/vagrant/Dev/deploy.dev/storage/framework/views/24c5b9a420647ff24e0cf22a391fd3fc17264a8d.php', array('__env' => object(Factory), 'app' => object(Application), 'errors' => object(ViewErrorBag), 'obLevel' => '1', 'title' => 'Litho', 'deployments' => object(LengthAwarePaginator), 'today' => '3', 'last_week' => '0', 'project' => object(ProjectPresenter), 'servers' => object(Collection), 'notifications' => object(Collection), 'notifyEmails' => object(Collection), 'heartbeats' => object(Collection), 'sharedFiles' => object(Collection), 'projectFiles' => object(Collection), 'checkUrls' => object(Collection), 'variables' => object(Collection), 'optional' => object(Collection), 'tags' => object(Collection), 'branches' => object(Collection), 'route' => 'commands')) in CompilerEngine.php line 59
at CompilerEngine->get('/home/vagrant/Dev/deploy.dev/resources/views/projects/_partials/deployments.blade.php', array('__env' => object(Factory), 'app' => object(Application), 'errors' => object(ViewErrorBag), 'obLevel' => '1', 'title' => 'Litho', 'deployments' => object(LengthAwarePaginator), 'today' => '3', 'last_week' => '0', 'project' => object(ProjectPresenter), 'servers' => object(Collection), 'notifications' => object(Collection), 'notifyEmails' => object(Collection), 'heartbeats' => object(Collection), 'sharedFiles' => object(Collection), 'projectFiles' => object(Collection), 'checkUrls' => object(Collection), 'variables' => object(Collection), 'optional' => object(Collection), 'tags' => object(Collection), 'branches' => object(Collection), 'route' => 'commands')) in View.php line 147
at View->getContents() in View.php line 118
at View->renderContents() in View.php line 83
at View->render() in 435a8a5120da5d453fd0e920ee657b4daba473a2.php line 66
at include('/home/vagrant/Dev/deploy.dev/storage/framework/views/435a8a5120da5d453fd0e920ee657b4daba473a2.php') in PhpEngine.php line 42
at PhpEngine->evaluatePath('/home/vagrant/Dev/deploy.dev/storage/framework/views/435a8a5120da5d453fd0e920ee657b4daba473a2.php', array('__env' => object(Factory), 'app' => object(Application), 'errors' => object(ViewErrorBag), 'title' => 'Litho', 'deployments' => object(LengthAwarePaginator), 'today' => '3', 'last_week' => '0', 'project' => object(ProjectPresenter), 'servers' => object(Collection), 'notifications' => object(Collection), 'notifyEmails' => object(Collection), 'heartbeats' => object(Collection), 'sharedFiles' => object(Collection), 'projectFiles' => object(Collection), 'checkUrls' => object(Collection), 'variables' => object(Collection), 'optional' => object(Collection), 'tags' => object(Collection), 'branches' => object(Collection), 'route' => 'commands')) in CompilerEngine.php line 59
at CompilerEngine->get('/home/vagrant/Dev/deploy.dev/resources/views/projects/details.blade.php', array('__env' => object(Factory), 'app' => object(Application), 'errors' => object(ViewErrorBag), 'title' => 'Litho', 'deployments' => object(LengthAwarePaginator), 'today' => '3', 'last_week' => '0', 'project' => object(ProjectPresenter), 'servers' => object(Collection), 'notifications' => object(Collection), 'notifyEmails' => object(Collection), 'heartbeats' => object(Collection), 'sharedFiles' => object(Collection), 'projectFiles' => object(Collection), 'checkUrls' => object(Collection), 'variables' => object(Collection), 'optional' => object(Collection), 'tags' => object(Collection), 'branches' => object(Collection), 'route' => 'commands')) in View.php line 147
at View->getContents() in View.php line 118
at View->renderContents() in View.php line 83
at View->render() in Response.php line 53
at Response->setContent(object(View)) in Response.php line 199
at Response->__construct(object(View)) in Router.php line 1087
at Router->prepareResponse(object(Request), object(View)) in ControllerDispatcher.php line 95
at ControllerDispatcher->Illuminate\Routing\{closure}(object(Request))
at call_user_func(object(Closure), object(Request)) in Pipeline.php line 52
at Pipeline->Illuminate\Routing\{closure}(object(Request))
at call_user_func(object(Closure), object(Request)) in Pipeline.php line 103
at Pipeline->then(object(Closure)) in ControllerDispatcher.php line 96
at ControllerDispatcher->callWithinStack(object(DeploymentController), object(Route), object(Request), 'project') in ControllerDispatcher.php line 54
at ControllerDispatcher->dispatch(object(Route), object(Request), 'REBELinBLUE\Deployer\Http\Controllers\DeploymentController', 'project') in Route.php line 174
at Route->runController(object(Request)) in Route.php line 140
at Route->run(object(Request)) in Router.php line 724
at Router->Illuminate\Routing\{closure}(object(Request))
at call_user_func(object(Closure), object(Request)) in Pipeline.php line 52
at Pipeline->Illuminate\Routing\{closure}(object(Request)) in RefreshJsonWebToken.php line 74
at RefreshJsonWebToken->handle(object(Request), object(Closure))
at call_user_func_array(array(object(RefreshJsonWebToken), 'handle'), array(object(Request), object(Closure))) in Pipeline.php line 124
at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
at call_user_func(object(Closure), object(Request)) in Pipeline.php line 32
at Pipeline->Illuminate\Routing\{closure}(object(Request)) in Authenticate.php line 31
at Authenticate->handle(object(Request), object(Closure))
at call_user_func_array(array(object(Authenticate), 'handle'), array(object(Request), object(Closure))) in Pipeline.php line 124
at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
at call_user_func(object(Closure), object(Request)) in Pipeline.php line 32
at Pipeline->Illuminate\Routing\{closure}(object(Request)) in MinifyMiddleware.php line 54
at MinifyMiddleware->handle(object(Request), object(Closure))
at call_user_func_array(array(object(MinifyMiddleware), 'handle'), array(object(Request), object(Closure))) in Pipeline.php line 124
at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
at call_user_func(object(Closure), object(Request)) in Pipeline.php line 32
at Pipeline->Illuminate\Routing\{closure}(object(Request)) in ClockworkMiddleware.php line 41
at ClockworkMiddleware->handle(object(Request), object(Closure))
at call_user_func_array(array(object(ClockworkMiddleware), 'handle'), array(object(Request), object(Closure))) in Pipeline.php line 124
at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
at call_user_func(object(Closure), object(Request)) in Pipeline.php line 32
at Pipeline->Illuminate\Routing\{closure}(object(Request)) in VerifyCsrfToken.php line 64
at VerifyCsrfToken->handle(object(Request), object(Closure))
at call_user_func_array(array(object(VerifyCsrfToken), 'handle'), array(object(Request), object(Closure))) in Pipeline.php line 124
at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
at call_user_func(object(Closure), object(Request)) in Pipeline.php line 32
at Pipeline->Illuminate\Routing\{closure}(object(Request)) in ShareErrorsFromSession.php line 49
at ShareErrorsFromSession->handle(object(Request), object(Closure))
at call_user_func_array(array(object(ShareErrorsFromSession), 'handle'), array(object(Request), object(Closure))) in Pipeline.php line 124
at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
at call_user_func(object(Closure), object(Request)) in Pipeline.php line 32
at Pipeline->Illuminate\Routing\{closure}(object(Request)) in StartSession.php line 62
at StartSession->handle(object(Request), object(Closure))
at call_user_func_array(array(object(StartSession), 'handle'), array(object(Request), object(Closure))) in Pipeline.php line 124
at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
at call_user_func(object(Closure), object(Request)) in Pipeline.php line 32
at Pipeline->Illuminate\Routing\{closure}(object(Request)) in AddQueuedCookiesToResponse.php line 37
at AddQueuedCookiesToResponse->handle(object(Request), object(Closure))
at call_user_func_array(array(object(AddQueuedCookiesToResponse), 'handle'), array(object(Request), object(Closure))) in Pipeline.php line 124
at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
at call_user_func(object(Closure), object(Request)) in Pipeline.php line 32
at Pipeline->Illuminate\Routing\{closure}(object(Request)) in EncryptCookies.php line 59
at EncryptCookies->handle(object(Request), object(Closure))
at call_user_func_array(array(object(EncryptCookies), 'handle'), array(object(Request), object(Closure))) in Pipeline.php line 124
at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
at call_user_func(object(Closure), object(Request)) in Pipeline.php line 32
at Pipeline->Illuminate\Routing\{closure}(object(Request)) in LicenseCheck.php line 25
at LicenseCheck->handle(object(Request), object(Closure))
at call_user_func_array(array(object(LicenseCheck), 'handle'), array(object(Request), object(Closure))) in Pipeline.php line 124
at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
at call_user_func(object(Closure), object(Request)) in Pipeline.php line 32
at Pipeline->Illuminate\Routing\{closure}(object(Request))
at call_user_func(object(Closure), object(Request)) in Pipeline.php line 103
at Pipeline->then(object(Closure)) in Router.php line 726
at Router->runRouteWithinStack(object(Route), object(Request)) in Router.php line 699
at Router->dispatchToRoute(object(Request)) in Router.php line 675
at Router->dispatch(object(Request)) in Kernel.php line 246
at Kernel->Illuminate\Foundation\Http\{closure}(object(Request))
at call_user_func(object(Closure), object(Request)) in Pipeline.php line 52
at Pipeline->Illuminate\Routing\{closure}(object(Request)) in CheckForMaintenanceMode.php line 44
at CheckForMaintenanceMode->handle(object(Request), object(Closure))
at call_user_func_array(array(object(CheckForMaintenanceMode), 'handle'), array(object(Request), object(Closure))) in Pipeline.php line 124
at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
at call_user_func(object(Closure), object(Request)) in Pipeline.php line 32
at Pipeline->Illuminate\Routing\{closure}(object(Request))
at call_user_func(object(Closure), object(Request)) in Pipeline.php line 103
at Pipeline->then(object(Closure)) in Kernel.php line 132
at Kernel->sendRequestThroughRouter(object(Request)) in Kernel.php line 99
at Kernel->handle(object(Request)) in index.php line 53
1/3 ErrorException in Model.php line 3198:
Undefined index: commands
in Model.php line 3198
at HandleExceptions->handleError('8', 'Undefined index: commands', '/home/vagrant/Dev/deploy.dev/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php', '3198', array('relation' => 'commands')) in Model.php line 3198
at Model->getRelation('commands') in Deployment.php line 123
at Deployment->getCommandsAttribute(null) in Model.php line 2720
at Model->mutateAttribute('commands', null) in Model.php line 2622
at Model->getAttributeValue('commands') in Model.php line 2602
at Model->getAttribute('commands') in Model.php line 3395
at Model->__get('commands') in DeploymentPresenter.php line 67
at DeploymentPresenter->presentOptionalCommandsUsed() in Presenter.php line 145
at Presenter->__get('optional_commands_used') in 24c5b9a420647ff24e0cf22a391fd3fc17264a8d.php line 60
at include('/home/vagrant/Dev/deploy.dev/storage/framework/views/24c5b9a420647ff24e0cf22a391fd3fc17264a8d.php') in PhpEngine.php line 42
at PhpEngine->evaluatePath('/home/vagrant/Dev/deploy.dev/storage/framework/views/24c5b9a420647ff24e0cf22a391fd3fc17264a8d.php', array('__env' => object(Factory), 'app' => object(Application), 'errors' => object(ViewErrorBag), 'obLevel' => '1', 'title' => 'Litho', 'deployments' => object(LengthAwarePaginator), 'today' => '3', 'last_week' => '0', 'project' => object(ProjectPresenter), 'servers' => object(Collection), 'notifications' => object(Collection), 'notifyEmails' => object(Collection), 'heartbeats' => object(Collection), 'sharedFiles' => object(Collection), 'projectFiles' => object(Collection), 'checkUrls' => object(Collection), 'variables' => object(Collection), 'optional' => object(Collection), 'tags' => object(Collection), 'branches' => object(Collection), 'route' => 'commands')) in CompilerEngine.php line 59
at CompilerEngine->get('/home/vagrant/Dev/deploy.dev/resources/views/projects/_partials/deployments.blade.php', array('__env' => object(Factory), 'app' => object(Application), 'errors' => object(ViewErrorBag), 'obLevel' => '1', 'title' => 'Litho', 'deployments' => object(LengthAwarePaginator), 'today' => '3', 'last_week' => '0', 'project' => object(ProjectPresenter), 'servers' => object(Collection), 'notifications' => object(Collection), 'notifyEmails' => object(Collection), 'heartbeats' => object(Collection), 'sharedFiles' => object(Collection), 'projectFiles' => object(Collection), 'checkUrls' => object(Collection), 'variables' => object(Collection), 'optional' => object(Collection), 'tags' => object(Collection), 'branches' => object(Collection), 'route' => 'commands')) in View.php line 147
at View->getContents() in View.php line 118
at View->renderContents() in View.php line 83
at View->render() in 435a8a5120da5d453fd0e920ee657b4daba473a2.php line 66
at include('/home/vagrant/Dev/deploy.dev/storage/framework/views/435a8a5120da5d453fd0e920ee657b4daba473a2.php') in PhpEngine.php line 42
at PhpEngine->evaluatePath('/home/vagrant/Dev/deploy.dev/storage/framework/views/435a8a5120da5d453fd0e920ee657b4daba473a2.php', array('__env' => object(Factory), 'app' => object(Application), 'errors' => object(ViewErrorBag), 'title' => 'Litho', 'deployments' => object(LengthAwarePaginator), 'today' => '3', 'last_week' => '0', 'project' => object(ProjectPresenter), 'servers' => object(Collection), 'notifications' => object(Collection), 'notifyEmails' => object(Collection), 'heartbeats' => object(Collection), 'sharedFiles' => object(Collection), 'projectFiles' => object(Collection), 'checkUrls' => object(Collection), 'variables' => object(Collection), 'optional' => object(Collection), 'tags' => object(Collection), 'branches' => object(Collection), 'route' => 'commands')) in CompilerEngine.php line 59
at CompilerEngine->get('/home/vagrant/Dev/deploy.dev/resources/views/projects/details.blade.php', array('__env' => object(Factory), 'app' => object(Application), 'errors' => object(ViewErrorBag), 'title' => 'Litho', 'deployments' => object(LengthAwarePaginator), 'today' => '3', 'last_week' => '0', 'project' => object(ProjectPresenter), 'servers' => object(Collection), 'notifications' => object(Collection), 'notifyEmails' => object(Collection), 'heartbeats' => object(Collection), 'sharedFiles' => object(Collection), 'projectFiles' => object(Collection), 'checkUrls' => object(Collection), 'variables' => object(Collection), 'optional' => object(Collection), 'tags' => object(Collection), 'branches' => object(Collection), 'route' => 'commands')) in View.php line 147
at View->getContents() in View.php line 118
at View->renderContents() in View.php line 83
at View->render() in Response.php line 53
at Response->setContent(object(View)) in Response.php line 199
at Response->__construct(object(View)) in Router.php line 1087
at Router->prepareResponse(object(Request), object(View)) in ControllerDispatcher.php line 95
at ControllerDispatcher->Illuminate\Routing\{closure}(object(Request))
at call_user_func(object(Closure), object(Request)) in Pipeline.php line 52
at Pipeline->Illuminate\Routing\{closure}(object(Request))
at call_user_func(object(Closure), object(Request)) in Pipeline.php line 103
at Pipeline->then(object(Closure)) in ControllerDispatcher.php line 96
at ControllerDispatcher->callWithinStack(object(DeploymentController), object(Route), object(Request), 'project') in ControllerDispatcher.php line 54
at ControllerDispatcher->dispatch(object(Route), object(Request), 'REBELinBLUE\Deployer\Http\Controllers\DeploymentController', 'project') in Route.php line 174
at Route->runController(object(Request)) in Route.php line 140
at Route->run(object(Request)) in Router.php line 724
at Router->Illuminate\Routing\{closure}(object(Request))
at call_user_func(object(Closure), object(Request)) in Pipeline.php line 52
at Pipeline->Illuminate\Routing\{closure}(object(Request)) in RefreshJsonWebToken.php line 74
at RefreshJsonWebToken->handle(object(Request), object(Closure))
at call_user_func_array(array(object(RefreshJsonWebToken), 'handle'), array(object(Request), object(Closure))) in Pipeline.php line 124
at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
at call_user_func(object(Closure), object(Request)) in Pipeline.php line 32
at Pipeline->Illuminate\Routing\{closure}(object(Request)) in Authenticate.php line 31
at Authenticate->handle(object(Request), object(Closure))
at call_user_func_array(array(object(Authenticate), 'handle'), array(object(Request), object(Closure))) in Pipeline.php line 124
at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
at call_user_func(object(Closure), object(Request)) in Pipeline.php line 32
at Pipeline->Illuminate\Routing\{closure}(object(Request)) in MinifyMiddleware.php line 54
at MinifyMiddleware->handle(object(Request), object(Closure))
at call_user_func_array(array(object(MinifyMiddleware), 'handle'), array(object(Request), object(Closure))) in Pipeline.php line 124
at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
at call_user_func(object(Closure), object(Request)) in Pipeline.php line 32
at Pipeline->Illuminate\Routing\{closure}(object(Request)) in ClockworkMiddleware.php line 41
at ClockworkMiddleware->handle(object(Request), object(Closure))
at call_user_func_array(array(object(ClockworkMiddleware), 'handle'), array(object(Request), object(Closure))) in Pipeline.php line 124
at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
at call_user_func(object(Closure), object(Request)) in Pipeline.php line 32
at Pipeline->Illuminate\Routing\{closure}(object(Request)) in VerifyCsrfToken.php line 64
at VerifyCsrfToken->handle(object(Request), object(Closure))
at call_user_func_array(array(object(VerifyCsrfToken), 'handle'), array(object(Request), object(Closure))) in Pipeline.php line 124
at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
at call_user_func(object(Closure), object(Request)) in Pipeline.php line 32
at Pipeline->Illuminate\Routing\{closure}(object(Request)) in ShareErrorsFromSession.php line 49
at ShareErrorsFromSession->handle(object(Request), object(Closure))
at call_user_func_array(array(object(ShareErrorsFromSession), 'handle'), array(object(Request), object(Closure))) in Pipeline.php line 124
at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
at call_user_func(object(Closure), object(Request)) in Pipeline.php line 32
at Pipeline->Illuminate\Routing\{closure}(object(Request)) in StartSession.php line 62
at StartSession->handle(object(Request), object(Closure))
at call_user_func_array(array(object(StartSession), 'handle'), array(object(Request), object(Closure))) in Pipeline.php line 124
at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
at call_user_func(object(Closure), object(Request)) in Pipeline.php line 32
at Pipeline->Illuminate\Routing\{closure}(object(Request)) in AddQueuedCookiesToResponse.php line 37
at AddQueuedCookiesToResponse->handle(object(Request), object(Closure))
at call_user_func_array(array(object(AddQueuedCookiesToResponse), 'handle'), array(object(Request), object(Closure))) in Pipeline.php line 124
at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
at call_user_func(object(Closure), object(Request)) in Pipeline.php line 32
at Pipeline->Illuminate\Routing\{closure}(object(Request)) in EncryptCookies.php line 59
at EncryptCookies->handle(object(Request), object(Closure))
at call_user_func_array(array(object(EncryptCookies), 'handle'), array(object(Request), object(Closure))) in Pipeline.php line 124
at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
at call_user_func(object(Closure), object(Request)) in Pipeline.php line 32
at Pipeline->Illuminate\Routing\{closure}(object(Request)) in LicenseCheck.php line 25
at LicenseCheck->handle(object(Request), object(Closure))
at call_user_func_array(array(object(LicenseCheck), 'handle'), array(object(Request), object(Closure))) in Pipeline.php line 124
at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
at call_user_func(object(Closure), object(Request)) in Pipeline.php line 32
at Pipeline->Illuminate\Routing\{closure}(object(Request))
at call_user_func(object(Closure), object(Request)) in Pipeline.php line 103
at Pipeline->then(object(Closure)) in Router.php line 726
at Router->runRouteWithinStack(object(Route), object(Request)) in Router.php line 699
at Router->dispatchToRoute(object(Request)) in Router.php line 675
at Router->dispatch(object(Request)) in Kernel.php line 246
at Kernel->Illuminate\Foundation\Http\{closure}(object(Request))
at call_user_func(object(Closure), object(Request)) in Pipeline.php line 52
at Pipeline->Illuminate\Routing\{closure}(object(Request)) in CheckForMaintenanceMode.php line 44
at CheckForMaintenanceMode->handle(object(Request), object(Closure))
at call_user_func_array(array(object(CheckForMaintenanceMode), 'handle'), array(object(Request), object(Closure))) in Pipeline.php line 124
at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
at call_user_func(object(Closure), object(Request)) in Pipeline.php line 32
at Pipeline->Illuminate\Routing\{closure}(object(Request))
at call_user_func(object(Closure), object(Request)) in Pipeline.php line 103
at Pipeline->then(object(Closure)) in Kernel.php line 132
at Kernel->sendRequestThroughRouter(object(Request)) in Kernel.php line 99
at Kernel->handle(object(Request)) in index.php line 53
The text was updated successfully, but these errors were encountered:
REBELinBLUE
changed the title
Project page fails after successful deploy
Project page fails after successful deploy due to there being no optional commands
Mar 28, 2016
* master: (22 commits)
Updated CHANGELOG
Relocate Validators to the root of the app folder
Validate the build URL
Ensure the password entered during install is at least 6 characters long
Show the correct composer & npm commands
Added missing rsync and bash tests
Few more unneeded comments
No need for this comment as this is actually already possible
No need to move the writeEnvFile method as UpdateApp is now extending the installer for more than just that
Bit more cleanup
Clean up
Reduce code duplication for attribute changes
Added AuthServiceProvider to config
Added PHPDocblock
Suppress PHPMD warnings
Revert "Changed permissions on gitignore files to fix update problems due to files being modified"
Add missing repository
Ran php-cs-fixer
Fixes#197 to return an empty collection if there are no results
Clean up view service provider
...
/projects/1
The text was updated successfully, but these errors were encountered: