SnapPDF Not enabled 5.5.7

SnapPDF shows as not enabled in the health check after upgrading to 5.5.7. I don’t have any issues with PDF generation so maybe a false warning?
snappdferror

.env looks like
#options - snappdf / phantom / hosted_ninja
PDF_GENERATOR=snappdf
SNAPPDF_CHROMIUM_PATH=/usr/bin/google-chrome-stable

Also still getting ‘texts.entity_removed_title’ on emailed links to deleted invoices.

Thanks!

@Ryan_G

You may need to run

php artisan optimize to update the configuration.

In regards to the missing translations, can you ensure that the directory resources/lang is deleted

Laravel 9 moved the translations from resources/lang to /lang removing the redundant directory should resolve this issue for you.

I ran ‘sudo -u www-data php8.1 artisan optimize’ inside the invoice ninja folder, ran an /update=secret, and it still warns about snappdf. It isn’t hurting anything that I can tell but the warning is there.

There was a resources/lang folder which I removed and the deleted invoice text is now ‘Document no longer available’. Thanks!

Hi,

The SnapPDF warning is a bug in the admin portal, we’ll make sure it’s corrected.