V5 docker-compose + reverse proxy give blank pages

Hi,

I feel like something is not working correctly.
I can visit my installation with https:// fine, but sometimes it gives a white/blank page. If i reload it, it works. This also happens when i go back a page, or when i load another page it just doenst work smooth. After a reload it usally works.

Is anyone else experiencing this? Or can assist me to continue my throubleshooting?

My reverse proxy is BunkerWeb, it uses nginx.

Kind regrads,
Robin

Hi,

@david @ben do you have any suggestions?

Im setting up another installation without the docker(s), just and old school vm with nginx and the invoiceninja.zip etc.

To see if i have the same issues.

EDIT: This just gives me this output:
�����������€������ÿÿÿ�������ÿ����a������������

See: https://clients.koper.cloud

not sure, haven’t seen this kind of output before.

I just followed: Install Invoice Ninja v5.5 on Ubuntu 22.04

i also find it weird that there is no install command for like generating a key for the app.
Like php artisan key:generate

When i goto http://<internal_ip>/setup it downloads a setup file.
So i looks like the php is not executed.

In none of the guides i find a part where the database gets installed, so im totally confused. Its not a easy product to install…

I got some working… But now i get this error:

Error: please check that Invoice Ninja v5 is installed on the server (Its showing on the installed server? Very confusing…)

URL: https://clients.koper.cloud/api/v1/companies/Wpmbk5ezJn?

Response: <!doctype html>

<meta name="viewport" content="width=device-width, initial-scale= <p>Headers: {content-security-policy: object-src ‘none’; form-action ‘self’; frame-ancestors ‘self’;, content-type: text/html, date: Thu, 04 Apr 2024 21:51:00 GMT, feature-policy: accelerometer ‘none’; ambient-light-sensor ‘none’; autoplay ‘none’; battery ‘none’; camera ‘none’; display-capture ‘none’; document-domain ‘none’; encrypted-media ‘none’; execution-while-not-rendered ‘none’; execution-while-out-of-viewport ‘none’; fullscreen ‘none’; geolocation ‘none’; gyroscope ‘none’; layout-animation ‘none’; legacy-image-formats ‘none’; magnetometer ‘none’; microphone ‘none’; midi ‘none’; navigation-override ‘none’; payment ‘none’; picture-in-picture ‘none’; publickey-credentials-get ‘none’; speaker-selection ‘none’; sync-xhr ‘none’; unoptimized-images ‘none’; unsized-media ‘none’; usb ‘none’; screen-wake-lock ‘none’; web-share ‘none’; xr-spatial-tracking ‘none’;, permissions-policy: accelerometer=(), ambient-light-sensor=(), autoplay=(), battery=(), camera=(), cross-origin-isolated=(), display-capture=(), document-domain=(), encrypted-media=(), execution-while-not-rendered=(), execution-while-out-of-viewport=(), fullscreen=(), geolocation=(), gyroscope=(), hid=(), idle-detection=(), magnetometer=(), microphone=(), midi=(), navigation-override=(), payment=(), picture-in-picture=(), publickey-credentials-get=(), screen-wake-lock=(), serial=(), usb=(), web-share=(), xr-spatial-tracking=(), referrer-policy: strict-origin-when-cross-origin, strict-transport-security: max-age=31536000, x-content-type-options: nosniff, x-frame-options: SAMEORIGIN, x-xss-protection: 1; mode=block}}</p> <p>Doesnt matter what i do, i always get this error…</p>

We provide a ready built docker-compose file. But anything outside that scope is not supported yet.

Im not using the docker anymore… like i said, i installed a bare vm with the guides on this forum.

Also i get those errors when using the ‘ready built docker’, but then just when i use the ios app on my phone.

Please try disabling mod_security

Im back to the docker, with NO mod_security.
This page still gives a white page http://<internal_IP>/settings/company_details
Developer console is empty.

Which version of the app are you using?

Note: disabling mod_security was for this error specifically: “check that Invoice Ninja v5 is installed”

With the docker Im using: v5.8.44

@david any ideas?

I suggest trying v5.8.44 without docker to see if it helps.

or just decent logging would be great :slight_smile: i cannot get decent logging with the docker.
I do like InvoiceNinja, so i bought a Whitelabel license to support you guys. Is there a one-to-one conversation i can have with someone with like Discord? Then i show the docker-compose.yaml or some other stuff with the cli. Just everything thats needed to make everything work smoothly.