Issues with PDF and web instance

Hi guys,

I’m not sure if this issue has been posted before, if it has, please point me in the right direction if possible:

Issue #1: When I try to send a quote from my system, I get the below:
Error: please check that Invoice Ninja v5 is installed on the server

URL: http://192.168.1.46/client/quote/codphw4NLtOzbMA0jUPQV6nljyAcefAx/download?t=1712235685455&t=1712235685455

Response:

404 Not Found

Not Found

The requested URL was not found on this server.


Apach

Headers: {content-type: text/html; charset=iso-8859-1, date: Thu, 04 Apr 2024 13:01:23 GMT, content-length: 274, server: Apache/2.4.52 (Ubuntu)}}

Issue #2: When I go to my local instance http://myip/invoiceninja/index.php, it looks like it’s loading but then I have a grey screen for the whole time, yet the app from microsoft store and ubuntu work perfectly fine.

Please assist me,

Thanking you in advance.

Hi,

If index.php is in the URL it often means that mod_rewrite needs to be enabled.

I also suggest checking that APP_URL is correct in the .,env file.

Hi @hillel

My app url is “https ://accounts.domain.co.za/invoiceninja”

I seem to have gotten it right now from another post, the only issue I’m faced with now is when I try to view an invoice on the portal I get the below message:

Not Found

The requested URL was not found on this server.


Apache/2.4.52 (Ubuntu) Server at accounts.twelve20four.co.za Port 80

I’m hosting this on Ubuntu Server 22.04.4

Thank you in advance

I suggest checking that APP_URL is correct in the .env file

Currently the APP_URL is https://accounts.twelve20four.co.za/invoiceninja

Is the web root mapped to the /public folder?

My apologies, I may have forgotten to mention that it is hosted on Ubuntu Server, does the same apply?

Yes, the regardless of the server the web root should be mapped to the /public folder.

Will you be able to guide me on how to have this done?

Maybe this will help:

Great stuff, thank you so much, I’ll try this and revert back to you.

I noticed my one is on apache2, I’m trying to see if I can do a test installation based on the instructions posted on the forum.

UPDATE: I have failed with the installation, it seems like I’m having better luck with the system from an install instructions from a youtube user which seems to be fine, this is working using Apache2, not sure what to do here anymore.

You may want to consider using one of the automated installers.

Thank you so much, will check this out.

Okay so this is amazing, it just takes care of everything, I just need to work out why when I go to client portal, it wants to open the main screen (using umbrelOS), it doesn’t add the port number to the link, I think once that’s sorted, then I’m good to go.

Honestly I didn’t want to give up on Invoice Ninja as I think it’s a great piece of software, especially when it needs to work on the go.

I have to ask, if this self-hosted, how come I’m only allowed one user?

You can add unlimited users in the selfhost app.

Are you having trouble adding a user?

Hi, I checked under user management and it seems I can add a user, however, When I go to load email addresses, it does not have an SMTP option.

Can you explain what you mean by “load email addresses”?

Sorry, meant to say load an email address that will send out the invoices, I don’t have a SMTP option.