Hi,
I’ve got a new docker based install, based on the invoiceninja/invoiceninja:5 docker image. This is currently using v5.3.88-C84.
The docker-compose creates the nginx server, app server and mysql server successfully and no errors are shown in the logs.
When logging in for the first time using the first-time credentials, the pop-up to create a new company only shows a small number (7) of languages and (8) currencies. None of these are English and British Pounds!
Everything is default and being accessed directly to the NGinx server rather than through a proxy or load balancer.
If this pop-up is cancelled and I go into the Localization settings, the same Languages and Currencies are shown.
Looking at the Developer Tools, Network Tab, I’m not seeing any failures in loading content.
I’ve had an SSL issue with the docker install as well, due to the reference to the pdf.min.js ignoring that everything else was being accessed over SSL by a reverse proxy and REQUIRE_HTTPS was set to =true.
PDFs are able to be download but not previewing and I’ve tested without the reverse proxy involved with the same issues. To get around the pdf.min.js issue about I ended up doing a body rewrite on the reverse proxy to correct it, which isn’t great.
Next step for me is to look at the docker build, deconstruct it and correct it as this has worked in other environments, just not docker driven which is the ideal for me.
I already tried this. When I start docker, it says:
dockerfiles-db-1 | 2022-05-25T10:44:14.114781Z 0 [Note] Found ca.pem, server-cert.pem and server-key.pem in data directory. Trying to enable SSL support using them.
dockerfiles-db-1 | 2022-05-25T10:44:14.117070Z 0 [Note] Skipping generation of SSL certificates as certificate files are present in data directory.
dockerfiles-db-1 | 2022-05-25T10:44:14.117102Z 0 [Warning] A deprecated TLS version TLSv1 is enabled. Please use TLSv1.2 or higher.
dockerfiles-db-1 | 2022-05-25T10:44:14.117127Z 0 [Warning] A deprecated TLS version TLSv1.1 is enabled. Please use TLSv1.2 or higher.
dockerfiles-db-1 | 2022-05-25T10:44:14.118249Z 0 [Warning] CA certificate ca.pem is self signed.
dockerfiles-db-1 | 2022-05-25T10:44:14.119101Z 0 [Note] Skipping generation of RSA key pair as key files are present in data directory.
dockerfiles-db-1 | 2022-05-25T10:44:14.119815Z 0 [Note] Server hostname (bind-address): '*'; port: 3306
dockerfiles-db-1 | 2022-05-25T10:44:14.119891Z 0 [Note] IPv6 is available.
dockerfiles-db-1 | 2022-05-25T10:44:14.120080Z 0 [Note] - '::' resolves to '::';
dockerfiles-db-1 | 2022-05-25T10:44:14.120136Z 0 [Note] Server socket created on IP: '::'.
dockerfiles-db-1 | 2022-05-25T10:44:14.122879Z 0 [Warning] Insecure configuration for --pid-file: Location '/var/run/mysqld' in the path is accessible to all OS users. Consider choosing a different directory.