Company Logo on PDF not visible

Hi. I have an issue with the logo displaying on PDF invoices. Ive seen a few posts regarding it and i feel i have done a few of the steps like adding LOCAL_DOWNLOAD=true to .env file, restarting the php artisan queue.

Im not getting any logs regarding it. Was a message regarding db permissions from a few days ago which i managed to resolve but other than that, theres no logs. The logo shows in the company logo upload area once uploaded. It looks like it should be working but it just doesnt show. Also, url has https:// not http://

Any help would be much appreciated. Tia

Hi,

Does the APP_URL value in the .env file use http or https?

If you change it you’ll also need to re-upload your logo.

Thanks for your reply,

It uses https

Do you have a valid SSL certificate or should it be http?

Yes using certbot. It didnt fail so id assume its valid

Definetely valid and just reinstalled cert to make sure

Are there any errors in the network tab in the browser console?

A common solution is to either map the webroot to the /public folder or adding /public to the end of the APP_URL value.

Adding public to app url didnt seem to work. This is whilst using the invoice ninja app just fyi.

Are there any errors in the network tab in the browser console?

I can see an error relating to the logo i think. NS_ERROR_CONNECTION_REFUSED this is for some png file which i am assuming is my logo

Can you share the URL without the domain?

https://xxx.xxx.xxx/storage/98iJj04a7awCl2msAYHOldergG1vSV32/SDkHh5xUx7bf17vCl80VjOFFVMTBNSXAIDBCPzcl.png

Is the url its showing

What URL are you using to access the app?

Also, did you re-uplaod the logo after changing the APP_URL?

There is also 2 other errors. Both relating to the client/invoice folder saying CORS Failed and NS_ERROR_DOM_BAD_URL however i dont actually have issues viewing or downloading the invoice that is fine via the app. Just the logo doesnt show

Just using the domain name directly, nothing after the trailing /, https://ninja.redflare.digital

I havent, will try that now

Re uploaded logo after url change and still the same

If you don’t have /public in the browser URL then you shouldn’t need to add it to the APP_URL. I suggest removing it and uploading your logo again.

What error are you seeing when trying to access the image link shared above?

Removed and re uploaded.

I get a 404 not found error

In the network tab says NS_ERROR_CONNECTION_REFUSED

Which guide did you follow to setup the app?

Have you run: php artisan storage:link

I have run that cmd yes. Is there a seperate guide? I just followed the self host guide that was all really. For debian