Cerbot error apache2 on Ubuntu

When trying to create a certificate using sudo certbot --apache -d mydomain.com I get an error.
The error was: PluginError('There has been an error in parsing the file /etc/apache2/sites-available/udo\ apt-get\ remove\ --auto-remove\ subversion.

In the line above it looks like it is using sudo but is missing the letter “s”.
Does anyone know how to fix this?

Solved.
After checking the sites-available folder I found an extra file that was saved by some other program. It had the file name listed in the error and was not a config file.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.