500: Unable to generate the new raw PDF

Hi,
After digging down the caused, it seems permission issue.

Saw this in laravel.log:

2023-03-03 15:25:01] production.ERROR: Unable to generate the raw PDF {“userId”:1,“exception”:"[object] (App\Exceptions\FilePermissionsFailure(code: 0): Unable to generate the raw PDF at /home/ymcahaya/public_html/web/admin/app/Jobs/Entity/CreateRawPdf.php:208)

In CreateRawPdf.php, line 208:

throw new FilePermissionsFailure(‘Unable to generate the raw PDF’);

Which folder should I edit so that invoice ninja can generate and store pdf to the specific folder?

Thanks.

Hi,

There’s info on file permissions here:

1 Like