Self-hosted installation issue

Hi,
I’m facing issue with PDF test during installation.
I get this error message when hit Test PDF button: Oops, looks like something isn’t correct!

Any solution ?

Hi,

Which PDF generator are you using?

I set hosted_ninja in .env

Are there any related errors in storage/logs?

[2024-03-11 19:42:33] production.INFO: db fails
[2024-03-11 20:23:03] production.INFO: db fails
[2024-03-11 20:23:07] production.INFO: db fails
[2024-03-11 22:49:57] production.INFO: db fails
[2024-03-11 22:49:59] production.INFO: db fails
[2024-03-12 06:15:09] production.INFO: db fails
[2024-03-12 06:15:25] production.INFO: db fails
[2024-03-12 06:16:30] production.INFO: db fails
[2024-03-12 06:20:51] production.INFO: db fails
[2024-03-12 06:21:11] production.INFO: db fails
[2024-03-12 06:28:28] production.INFO: db fails
[2024-03-12 07:40:43] production.INFO: db fails
[2024-03-12 07:40:45] production.INFO: db fails
[2024-03-12 07:40:48] production.INFO: db fails

Which version of the app are you using?

Do you see more of the ‘db fails’ errors appear when clicking Test PDF?

no, nothing more apprears

Are you able to complete the setup?

No, I’m still getting the same error when clicking Test PDF.
I don’t know why

Is there an option to complete the setup without the PDF working?

That’s what I want to know.
How to install without pdf test

@david can you please advise?

I don’t see a way to get the failure details to debug the problem.

I’m trying to send you my invoiceninja setup Url to your private message but it seems you don’t accept message

Sorry, I’m not able to debug your installation for you.

Check your browser console. my guess is that your APP_URL is not configured correctly.

Hello,
here my browser console :

I suggest checking that the APP_URL is using https

It is same with https

Screenshot 2024-03-13 at 08.11.21

If you’re using a reverse proxy try adding this to the .env file

TRUSTED_PROXIES=‘*’

It works now, thank you