Opened 2 years ago

Closed 2 years ago

#14867 closed Bug/Something is broken (fixed)

Soft error when updating Web Configuration

Reported by: Joseph Owned by: JaimeV
Priority: Medium Component: Tech
Keywords: Cc: Jamie McClelland
Sensitive: no


Hey y'all,

I was upgrading the PHP version from 7.0 to 7.1 for and red returned a soft error about a missing SSL certificate key,

Error! 2019-07-07 10:14:29 Failed apache check syntax command! There is probably a typo or other mistake in your apache settings. Output: AH00526: Syntax error on line 26 of /etc/apache2/sites-enabled/site101876.ssl.conf: SSLCertificateKeyFile: file '/etc/letsencrypt/live/' does not exist or is empty.

PHP did upgrade, and the site is loading correctly (probably because Apache didn't restart when it found this error).

Based on a listing of /etc/letsencrypt/live/ it looks like the directory structure changed. I could edit the VHost file directly and fix the old naming convention if that's the solution, but I wanted to check-in before doing that.


Change History (2)

comment:1 Changed 2 years ago by JaimeV

Cc: Jamie McClelland added
Owner: set to JaimeV
Status: newassigned

There have been changes to the directory structure and this error seems to be triggered whenever updating a web config that is still making reference to the older cert names. I was able to fix it by deleting the apache condig file # rm /etc/apache2/sites-enabled/site101876.ssl.conf switching to http only and then back to https enable to allow red to regenerate the new config file correctly.

comment:2 Changed 2 years ago by Joseph

Resolution: fixed
Status: assignedclosed

Thanks, Jaime! Everything looks to be in order.

Please login to add comments to this ticket.

Note: See TracTickets for help on using tickets.