Unable to generate the raw PDF after upgrade to v5.11.66

After upgrade to v5.11.66 pdf generation is failing

No changes to host side.
Verified all file permissions are correct (dir 755, files 644, correct web server user).

[2025-04-13 17:43:12] production.ERROR: Unable to generate the raw PDF => Server error: `POST https://pdf.invoicing.co/api/` resulted in a `500 Internal Server Error` response:
<!DOCTYPE html>
<html lang="en">
    <head>
        <meta charset="utf-8">
        <meta name="viewport" content="width= (truncated...)
 {"userId":1,"exception":"[object] (App\\Exceptions\\FilePermissionsFailure(code: 0): Unable to generate the raw PDF => Server error: `POST https://pdf.invoicing.co/api/` resulted in a `500 Internal Server Error` response:
<!DOCTYPE html>
<html lang=\"en\">
    <head>
        <meta charset=\"utf-8\">
        <meta name=\"viewport\" content=\"width= (truncated...)
 at /home/invoiceninja/app/Jobs/Entity/CreateRawPdf.php:148)
[stacktrace]

pdf generator is hosted_ninja

Hi,

I suggest asking in a discussion on GitHub.

I have same issues..
Any help please
[2025-04-13 23:51:44] production.ERROR: Unable to generate the raw PDF => Server error: POST https://pdf.invoicing.co/api/ resulted in a 500 Internal Server Error response:

It was resolved now. Thanks!

1 Like