mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-12 22:22:32 +01:00
Output results on exec()
This commit is contained in:
parent
342b383115
commit
003303a83b
@ -52,8 +52,14 @@ class PostUpdate extends Command
|
||||
|
||||
nlog("finished migrating");
|
||||
|
||||
exec('vendor/bin/composer install --no-dev -o');
|
||||
$output = [];
|
||||
|
||||
exec('vendor/bin/composer install --no-dev -o', $output);
|
||||
|
||||
info(print_r($output,1));
|
||||
|
||||
nlog($output);
|
||||
|
||||
nlog("finished running composer install ");
|
||||
|
||||
|
||||
|
@ -345,14 +345,14 @@ class MigrationController extends BaseController
|
||||
return;
|
||||
}
|
||||
|
||||
try {
|
||||
// try {
|
||||
// StartMigration::dispatch(base_path("storage/app/public/$migration_file"), $user, $fresh_company)->delay(now()->addSeconds(5));
|
||||
nlog("starting migration job");
|
||||
nlog($migration_file);
|
||||
StartMigration::dispatch($migration_file, $user, $fresh_company);
|
||||
} catch (\Exception $e) {
|
||||
nlog($e->getMessage());
|
||||
}
|
||||
// } catch (\Exception $e) {
|
||||
// nlog($e->getMessage());
|
||||
// }
|
||||
}
|
||||
|
||||
return response()->json([
|
||||
|
Loading…
Reference in New Issue
Block a user