mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-05-31 15:14:35 -04: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");
|
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 ");
|
nlog("finished running composer install ");
|
||||||
|
|
||||||
|
|
||||||
|
@ -345,14 +345,14 @@ class MigrationController extends BaseController
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
try {
|
// try {
|
||||||
// StartMigration::dispatch(base_path("storage/app/public/$migration_file"), $user, $fresh_company)->delay(now()->addSeconds(5));
|
// StartMigration::dispatch(base_path("storage/app/public/$migration_file"), $user, $fresh_company)->delay(now()->addSeconds(5));
|
||||||
nlog("starting migration job");
|
nlog("starting migration job");
|
||||||
nlog($migration_file);
|
nlog($migration_file);
|
||||||
StartMigration::dispatch($migration_file, $user, $fresh_company);
|
StartMigration::dispatch($migration_file, $user, $fresh_company);
|
||||||
} catch (\Exception $e) {
|
// } catch (\Exception $e) {
|
||||||
nlog($e->getMessage());
|
// nlog($e->getMessage());
|
||||||
}
|
// }
|
||||||
}
|
}
|
||||||
|
|
||||||
return response()->json([
|
return response()->json([
|
||||||
|
Loading…
x
Reference in New Issue
Block a user