PDF Generation - Error 500 - v5.3.93 - Permissions issue

Just updated to v5.3.93 via the self updater and I’m getting error 500 on PDF generation again.

It seems that snapPDF does not get the appropriate permissions set via the self updater. Potentially other permissions as well. Didn’t have any issues with the past 3 updates via the self updater, only with the update from v5.3.92 to v5.3.93.

[2022-05-30 01:06:18] production.ERROR: Downloaded Chromium binary is not executable. Make sure to set correct permissions (0755) {“userId”:1,“exception”:"[object] (Beganovich\Snappdf\Exception\BinaryNotExecutable(code: 0): Downloaded Chromium binary is not executable. Make sure to set correct permissions (0755) at /home/techbuddy.net.au/domains/billing.techbuddy.net.au/public_html/vendor/beganovich/snappdf/src/Snappdf.php:82)
[stacktrace]

After setting the permissions manually via CLI with chmod, it works again.

Hi,

Thanks for reporting this!

cc @david

Another user also reported this issue: