LetsEncrypt Renewal Failure

August 25, 2016 1k views
Apache Let's Encrypt Ubuntu 16.04

HI, I'm trying to renew my Let's Encrypt certificate and it's giving me an error
PluginError(('There has been an error in parsing the file (%s): %s', u'/etc/apache2/sites-available/000-default.conf.save', u'Syntax error'),). Skipping.

Screenshot- Click Here

Please help me my certificate is going to expire in few hours and I've spent all day to find the solution.

2 Answers
ryanpq MOD August 25, 2016
Accepted Answer

What files are located in /etc/apache2/sites-available/

The presence of a .save file makes me think that you may have used an editor to modify your 000-default.conf file which created a backup (as the .save).

If the configuration in your 000-default.conf file looks correct you should be able to safely delete (or move somewhere else) the 000-default.conf.save file and try the renewal again.

FInally, after two hours of struggle, I landed on this page and this was the exact problem.
Just deleted the .saved file and the renewal worked.

Have another answer? Share your knowledge.