Hi everyone,
I’ve been banging my head against the wall trying to get PDF generation to work in Invoice Ninja v5. All dependencies for snappdf are installed (i guess…), but every time I try to open the invoice preview, I get hit with an error 500.
Running the snappdf test command results in
The process has been signaled with signal "6".
Here’s what I’ve tried so far:
- All the required libraries are installed
- Increased PHP memory limits (currently at 16G)
- Downloaded snappdf with the invoiceninja helper
- Googled and read almost all websites regarding snappdf
Nothing has worked, and I’m out of ideas. What’s even more frustrating is the idea that I might need to install a full X stack on a web server just to get PDFs working! This seems absolutely ridiculous—why does a simple PDF generation require thousands of libraries and graphical components? It’s a web server, not a desktop!
Does anyone have a proper fix for this, or maybe a workaround that doesn’t involve installing a ton of unnecessary packages? I feel like this should be way simpler than it is.
Any help or advice would be greatly appreciated!
debian 12, php-fpm 8.2
Seriously, Invoice Ninja is great, but setting up PDF generation is a nightmare. Why does it have to be this hard?