From 1ee12e8bcca545edf63b14cf6f01a22eeb9396f6 Mon Sep 17 00:00:00 2001 From: Lukas Mueller Date: Sun, 26 Sep 2021 12:04:19 +0200 Subject: [PATCH 1/3] Corrected outdated link --- resources/views/setup/_application.blade.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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') }} From 9d9efca633f7f6c7aed563fa9a56bed97e0e845f Mon Sep 17 00:00:00 2001 From: Lukas Mueller Date: Sun, 26 Sep 2021 12:07:56 +0200 Subject: [PATCH 2/3] Edited .gitignore to make sure that public disks exists (leads to errors during the PDF check within the setup process) --- .gitignore | 3 +-- storage/app/public/.gitignore | 2 ++ 2 files changed, 3 insertions(+), 2 deletions(-) create mode 100644 storage/app/public/.gitignore 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/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 From 33fe019df0bfe1d6a2be0c8f5877d953964ecef9 Mon Sep 17 00:00:00 2001 From: Lukas Mueller Date: Sun, 26 Sep 2021 13:21:03 +0200 Subject: [PATCH 3/3] Made sure to restart the queue as part of the post-update procedure --- app/Console/Commands/PostUpdate.php | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) 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"); - + } }