From 5105bc6f6402d9d09ee89f28639d4dcb52b621f2 Mon Sep 17 00:00:00 2001 From: James Cole Date: Wed, 7 Mar 2018 20:55:11 +0100 Subject: [PATCH] Add more debug logging to output. --- app/Http/Controllers/System/InstallController.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/app/Http/Controllers/System/InstallController.php b/app/Http/Controllers/System/InstallController.php index 17fcc8cd63..4df5e5f6f9 100644 --- a/app/Http/Controllers/System/InstallController.php +++ b/app/Http/Controllers/System/InstallController.php @@ -28,6 +28,8 @@ use Artisan; use FireflyIII\Http\Controllers\Controller; use Laravel\Passport\Passport; use phpseclib\Crypt\RSA; +use Log; +use Symfony\Component\Console\Output\BufferedOutput; /** * Class InstallController @@ -47,7 +49,11 @@ class InstallController extends Controller */ public function migrate() { + Log::debug('Am now calling migrate routine...'); + $output = new BufferedOutput(); Artisan::call('migrate', ['--seed' => true]); + $result = $output->fetch(); + Log::debug($result); // create keys manually because for some reason the passport namespace // does not exist