diff --git a/.gitignore b/.gitignore index c67ac16146af..2568217402f3 100644 --- a/.gitignore +++ b/.gitignore @@ -17,7 +17,6 @@ local_version.txt /resources/assets/bower /public/logo -/storage/* .env.dusk.local /public/vendors/* *.log @@ -29,4 +28,4 @@ nbproject .php_cs.cache public/test.pdf public/storage/test.pdf -/Modules \ No newline at end of file +/Modules diff --git a/app/Console/Commands/PostUpdate.php b/app/Console/Commands/PostUpdate.php index 6991432ee30d..b8d57ff26400 100644 --- a/app/Console/Commands/PostUpdate.php +++ b/app/Console/Commands/PostUpdate.php @@ -56,7 +56,7 @@ class PostUpdate extends Command exec('vendor/bin/composer install --no-dev -o', $output); - info(print_r($output,1)); + info(print_r($output,1)); info("finished running composer install "); try { @@ -75,9 +75,17 @@ class PostUpdate extends Command info("view cleared"); + try { + Artisan::call('queue:restart'); + } catch (\Exception $e) { + info("I wasn't able to restart the queue."); + } + + info("queue restarted"); + VersionCheck::dispatch(); info("Sent for version check"); - + } } diff --git a/resources/views/setup/_application.blade.php b/resources/views/setup/_application.blade.php index 89676687bd58..c450a2fa4027 100644 --- a/resources/views/setup/_application.blade.php +++ b/resources/views/setup/_application.blade.php @@ -53,7 +53,7 @@
+ href="https://invoiceninja.github.io/docs/self-host-troubleshooting/#pdf-conversion-issues"> {{ ctrans('texts.setup_phantomjs_note') }} diff --git a/storage/app/public/.gitignore b/storage/app/public/.gitignore new file mode 100644 index 000000000000..d6b7ef32c847 --- /dev/null +++ b/storage/app/public/.gitignore @@ -0,0 +1,2 @@ +* +!.gitignore