Question

LetsEncrypt Renewal Failure

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.


Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

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.