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"