I probably should have mentioned that I’m not running Ninja in Docker, rather a manual install on Ubuntu 20.04 vm. Everything was working correctly a few weeks ago. I also just had a bunch of 500 errors with multiple parts of the software, but was able to resolve those errors by rolling back to a previous backup of the vm.
I have been using PhantomJS for a year or so. I did not use an API key, so when this started happening, I set up an account an added an API key with no change. I also tried using snappdf, also with no change. It seems to be related to rendering new PDFs. I can open PDFs on older invoices without issue. I saw in the env variable section of the documentation about the LOG_PDF_HTML variable. I am going to set this to true and see if I get any output.
Sorry for spamming you a bit here, but I have resolved my issue! After invoking the EXPANDED_LOGGING variable, I realized the the laravel.log file had incorrect permissions from a previously corrected issue. I updated the permissions and PDFs are working again. Then I couldn’t update Invoice Ninja and found that config.php.bak was also not writeable due to permissions. I did chown on the invoiceninja directory and all is well again. Thanks for trying to help!