Invoice ninja server 500 internal error
-
wrote on Jun 29, 2024, 12:53 AM last edited by
so the end result is pdf generation & emails (with PDFs) now work without the added PDF_GENERATOR line ?
-
so the end result is pdf generation & emails (with PDFs) now work without the added PDF_GENERATOR line ?
wrote on Jun 29, 2024, 1:41 AM last edited by@AartJansen correct!
-
-
-
wrote on Jan 16, 2025, 5:46 AM last edited by
Interestingly I just ran across this issue. I was able to fix it by simply adding in the following:
PDF_GENERATOR=snappdf
Odd though as I see others didn't get that working and needed a value of
hosted_ninja
instead ofsnappdf
. So YMMV as they say. -
Interestingly I just ran across this issue. I was able to fix it by simply adding in the following:
PDF_GENERATOR=snappdf
Odd though as I see others didn't get that working and needed a value of
hosted_ninja
instead ofsnappdf
. So YMMV as they say.wrote on Jan 16, 2025, 1:14 PM last edited by@d19dotca take a look at this thread as the env has some major changes, simply adding those lines brings an existing app up to par with a fresh install https://forum.cloudron.io/topic/13069/not-creating-pdfs-after-updates/25
Look for Girishโs latest post in there
-
wrote on Jan 16, 2025, 3:38 PM last edited by
Yeah it makes me concerned that the package updates got messed up somewhere along the way to have duplicated some content in the ENV and remove others, but at least itโs an easy fix (manually).
-
wrote 19 days ago last edited by
-
Hi, I have the same problem and it is not solved after the updates.
Check the screenshots:
The question is how do I give permissions? I don't have a way to edit by commands, right?
@Esteban88 kernel.php not being writable is fine. On Cloudron, app code is readonly. This is for security. Per your screenshot, your PDF settings seem OK. You are unable to generate PDFs?
-
@Esteban88 see this thread - https://forum.cloudron.io/topic/13069/not-creating-pdfs-after-updates/18 . Can you check the env variables and respond in that thread if it doesn't work?
-
wrote 19 days ago last edited by Esteban88 19 days ago
Thanks! I had the pdf generator disabled.
I changed the line:
phantomjs_pdf_generation:false
to
phantomjs_pdf_generation:true -
wrote 14 days ago last edited by
Just to FYI, when I used phantomjs the pdfs would preview in app, and send email, but the receiver would not be able to view the pdf.
I had to usePDF_GENERATOR=snappdf SNAPPDF_CHROMIUM_PATH=/usr/bin/google-chrome-stable
to get proper functionality back.