From a00e1cc8c9e1ecf42f9c084f135ee9e50b72c561 Mon Sep 17 00:00:00 2001 From: Sebastian Gumprich Date: Mon, 21 Nov 2022 09:08:12 +0100 Subject: [PATCH] install snappdf, since its not included by default anymore --- scripts/install | 4 ++++ scripts/upgrade | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/scripts/install b/scripts/install index 1751443..77d3fb8 100755 --- a/scripts/install +++ b/scripts/install @@ -150,6 +150,10 @@ pushd "$final_path" php$phpversion artisan optimize --no-interaction --verbose php$phpversion artisan view:clear php$phpversion artisan cache:clear + + # install snappdf, since it isn't included by default anymore since + # 5.5.12: https://invoiceninja.github.io/docs/self-host-troubleshooting/#pdf-conversion-issues + php$phpversion vendor/bin/snappdf download popd chmod 750 "$final_path" diff --git a/scripts/upgrade b/scripts/upgrade index 0d98727..8e277d0 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -152,6 +152,10 @@ pushd "$final_path" # clear cached stuff under /app/data/storage/framework (https://github.com/laravel/framework/issues/17377) php$phpversion artisan view:clear php$phpversion artisan cache:clear + + # install snappdf, since it isn't included by default anymore since + # 5.5.12: https://invoiceninja.github.io/docs/self-host-troubleshooting/#pdf-conversion-issues + php$phpversion vendor/bin/snappdf download popd chmod 750 "$final_path"