Hey,
Been having an issue with Snappdf not working for a while. Switched to Hosted it and it has been working perfectly.
Not sure what happened that snappdf stopped working.
I did a Snappdf test within the SSH and got the following error:
The command "'/usr/share/nginx/invoiceninja/vendor/beganovich/snappdf/versions/ungoogled/chrome-linux/c
hrome' '--headless' '--disable-gpu' '--disable-translate' '--disable-extensions' '--disable-sync' '--di
sable-background-networking' '--disable-software-rasterizer' '--disable-default-apps' '--disable-dev-sh
m-usage' '--safebrowsing-disable-auto-update' '--run-all-compositor-stages-before-draw' '--no-first-run
' '--no-margins' '--no-sandbox' '--print-to-pdf-no-header' '--no-pdf-header-footer' '--hide-scrollbars'
'--ignore-certificate-errors' '--print-to-pdf=/tmp/pdf_JaOXM3.pdf' '/tmp/html_gPFV7s.html'" failed.
Exit Code: 127(Command not found)
Working directory: /usr/share/nginx/invoiceninja
Output:
================
Error Output:
================
/usr/share/nginx/invoiceninja/vendor/beganovich/snappdf/versions/ungoogled/chrome-linux/chrome: error w
hile loading shared libraries: libasound.so.2: cannot open shared object file: No such file or director
y
But not sure what the fix would be.
When snappdf is enabled, nothing loads where the pdf should be. and when a pdf is generated and emailed, it a corrupted file. Would anyone be able to help me?