Jan Brittenson

Results 9 comments of Jan Brittenson

Okay, since Synology Web Station can't properly populate headers I set up an SSL (HSTS) reverse proxy on port 8080 to forward directly to the container (at 172.17.0.2:80), with the...

> Have you configured the TRUSTED_PROXIES env for part-db correctly? Ooooh, this makes it work! `TRUSTED_PROXIES=127.0.0.0/8,::1,10.0.0.0/8,172.16.0.0/12` This should probably be automatically set in any docker image...

Is it actually solved? I had to add TRUSTED_PROXIES again after upgrading to 2.0.2... Why not put it in the system configuration at least so it can be retained over...

By the way, this is version: 1.13.2

Actually a small correction: I had to run the migration as root, because www-data isn't usable (it can't login): ``` root@jbtronics-part-db1-1:/var/www/html# su www-data -c 'php bin/console doctrine :migrations:migrate' This account...

Okay, so I think I know approximately what the root cause of this is. When I opened a terminal to the container I found a .env file in /var/www/html which...

> Please upgrade to the latest code and try again first. Maybe it's already fixed. `acme.sh --upgrade` If it's still not working, please provide the log with `--debug 2`, otherwise,...

By the way - yes, installing the cert manually is very easy. The issue here is the script failing to do its job.

> Based on the log I believe this error occured because the API endpoint's certificate has expired, which the underlying program (probably curl?) would refuse to connect to that API...