Invoice ninja server 500 internal error
-
The moment I restore the settings (broken updated instance -> fresh instance), the new instance shows the same behavior. Data is not a problem.
-
restoring from a working v1.13.5 export -> fresh v1.14.2 produces same behaviour. the moment i restore settings, bam.
comparing json files is not one of my daily tasks, so I decide to do that:- install a fresh IN
- import data only
- manually click configuration options.
Fun fact: It is possible to set a password that starts with a space for the login. ONLY for login. After you have logged in and your action requires a password confirmation, the leading space will be removed, and your password is incorrect.
-
That leaves the email deliverability issue. How is PDF generation related to emails not getting sent?
-
@luckow maybe good to report this password trimming upstream. Great catch and unlikely it gets detected by the devs on their own.
-
@luckow could you try to switch
Attach PDF
optionoff
onIN dashboard > settings > Advanced Settings > Email Settings
and then try to send an email?v1.14.2 seems to be sending emails properly whilst
Attach PDF
is off.
I'm investigating it further now. -
@luckow could you try to switch
Attach PDF
optionoff
onIN dashboard > settings > Advanced Settings > Email Settings
and then try to send an email?v1.14.2 seems to be sending emails properly whilst
Attach PDF
is off.
I'm investigating it further now.@vladimir-d I can confirm that the emails get delivered if attach pdf is off. I deleted
PDF_GENERATOR=hosted_ninja
from the env file and restarted the app before testing. I'm on the lastest IN 1.14.2. -
The problem with sending emails has been fixed. A new app package is going to be released soon.
-
@luckow maybe good to report this password trimming upstream. Great catch and unlikely it gets detected by the devs on their own.
-
Well done @luckow @vladimir-d
-
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 ?
@AartJansen correct!
-
N nebulon marked this topic as a question on
-
N nebulon has marked this topic as solved on
-
-
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.@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
-
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 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?