as the title already suggests, i have problems with the company logo. When I upload a logo, it doesn’t displayed under company details / logo. Also PDFs do not show a logo, only “(Company name) logo” is displayed as text.
My Invoiceninja v5 is installed via docker-compose on a VPS and is behind an nginx proxy. No error message is displayed and there is nothing in the logs either.
Thanks In Advance
It may help to set LOCAL_DOWNLOAD=true in the .env file
Do you see any errors in the browser console?
I have already activated LOCAL_DOWNLOAD=true.
I was using chrome and got an error message:
main.foss.dart.js?v=5.3.92:300 Mixed Content: The page at ‘https://my.domain.de/#/’ was loaded over HTTPS, but requested an insecure XMLHttpRequest endpoint ‘http://X.X.X.X/storage/IxVQ1cm8AjxFMpipX5NGbsaYX0peSrWV/DGJwFgNq6aeteAjOE7IPgBCea3MaOf0hrFbhks01.png’. This request has been blocked; the content must be served over HTTPS.
I don’t know exactly what that means.
Can you check that the APP_URL value in the .env file is using HTTPS
My APP_URL was on http, when I changed it to https it still didn’t work. I’ve just tested a few things and it crashed. Here is my Docker-compose file, maybe I already have an error there.
Are you seeing a different error?
@david any thoughts?
Finally i fixed it!
There was the error, I used the internal IP address as APP_URL and it could no longer be resolved. I feel a little stupid xD
After I wrote APP_URL=https://mydomain.de everything worked.
Thanks for the tip, that’s how I found the solution.
Oh my gosh, you saved my day.
Like all the assets weren’t loaded, no invoice, no css at the clientportal etc.
In the env file i missed the httpS.