SonarSoftwareInc / customer_portal

A prebuilt customer portal for Sonar.
https://sonar.software
25 stars 52 forks source link

French Translations, Logging for LE and Cert Renewal Fix #95

Closed t1nfoil closed 3 years ago

t1nfoil commented 3 years ago

This should fix the issues with the certificate renewal for lets encrypt.

Adding logging directory for LE seems to have fixed the renewal entrypoint. I speculate it was causing trap to receive an error signal (fopen() or something) when LE was trying to log to a unmounted location /var/log/... -- adding the mountpoint to the Dockerfile seems to have fixed the entry point, and now logging can be found in the customer_portal/storage/logs/letsencrypt folder.

Tested over a 48 hour period with 6 different configurations of VM, ubuntu 16.04 LTS and 18.04 LTS -- each one had the same outcome, certificate renewals attempted (and declined for existing certificates) every 12 hours as per the entry point loop in the docker-compose.yml

Also, justin's client provided an entire suite of french language translations, so those where integrated.