From 979c9d3cdde69010d5fcfd4024d0a4c19363218d Mon Sep 17 00:00:00 2001 From: Sebastian Gumprich Date: Sun, 30 Jun 2024 19:40:27 +0200 Subject: [PATCH] fix pdf generation error --- scripts/install | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/install b/scripts/install index 4d1a9b5..93a679c 100755 --- a/scripts/install +++ b/scripts/install @@ -77,6 +77,8 @@ pushd "$install_dir" # 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 + # see: https://forum.cloudron.io/topic/11932/invoice-ninja-server-500-internal-error/29 + find vendor/beganovich/snappdf/versions/*-Linux_x64/chrome-linux/ -type f -name chrome* ! -name "*.*" -print -exec chmod 755 {} \; popd chmod 750 "$install_dir"