certbot-auto claims parse error in apache config, but doesn't tell me which line

Bug #1638268 reported by Anonymous
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-certbot (Ubuntu)
New
Undecided
Unassigned

Bug Description

Saving debug log to /var/log/letsencrypt/letsencrypt.log

...

The error was: PluginError(('There has been an error in parsing the file (%s): %s', u'/etc/apache2/sites-available/mycrazydomainname.com', u'Syntax error'),)

Ok, well, it would be super-helpful to know which line had the syntax error, that's a file with hundreds of lines modrewrite rules, tls protocol specifier lines, comments... What doesn't it like?

Michael Shuler (mshuler)
affects: ca-certificates (Ubuntu) → python-certbot (Ubuntu)
Revision history for this message
Peter Eckersley (pde-lists) wrote :

Hi! Could you please file a bug with us upstream (https://github.com/certbot/certbot/issues) and include a copy of the configuration file within which you're getting the error?

Revision history for this message
Anonymous (reason) wrote :

unfortunately my apache config files must remain private for security reasons...

Either way,

The error was: PluginError(('There has been an error in parsing the file (%s): %s', u'/etc/apache2/sites-available/mycrazydomainname.com', u'Syntax error'),)

This is useless without a line number, in any context.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.