I have Invoice Ninja installed on Ubuntu Server 20.04 in a self-hosted environment. I have it up and running partially in that I can access the initial setup page. I am running this behind HAProxy which does my SSL termination with Let’s Encrypt. I had to edit the nginx config accordingly to listen on port 80 and remove the SSL stuff. I have added the IP of my HAProxy instance to the “TRUSTED_PROXIES” in the .env file.
Interestingly, the setup page differs from the one in the demo install video. Has it been updated since that video was made? I don’t see any setup regarding database, email, or users so far. The only setup I see so far is URL, Force HTTPS, and Test PDF.
I can’t get past this setup as the PDF test isn’t completed. I am not sure why. I have read the troubleshooting sections of the docs and switched the provider over to snappdf. But it still isn’t working. I have run the
php7.4 artisan optimize command after making any changes to the .env file, and rebooted the server for good measure.
Any ideas what the problem might be? Is there anything else I need to do to make snappdf work other than specifying it as the provider in the .env file?