You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The apache plugin is not working; there may be problems with your existing configuration.
The error was: PluginError(('There has been an error in parsing the file (%s): %s', u'/etc/apache2/conf-enabled/owncloud.conf', u'Syntax error'),)
Here's my owncloud.conf (straight from the debian owncloud package):
Alias /owncloud /usr/share/owncloud
<Directory /usr/share/owncloud/>
Options +FollowSymLinks
AllowOverride All
<IfVersion < 2.3>
order allow,deny
allow from all
</IfVersion>
<IfVersion >= 2.3>
Require all granted
</IfVersion>
</Directory>
Could it be that the regex is hitting the "<" and ">" symbols which are inside the actual tags, and is then screwing up? Seems like a possibility, assuming you use RE for the config parsing.
If as @domcleal says this was fixed in Augeas 1.3.0+, this issue should be resolved when #1291 lands. But let's confirm that and add a test case if we can.
Activity
[-]LE-auto can't parse owncloud.conf[/-][+]apache plugin can't parse owncloud.conf[/+]owenhayman commentedon Nov 2, 2015
Could it be that the regex is hitting the "<" and ">" symbols which are inside the actual tags, and is then screwing up? Seems like a possibility, assuming you use RE for the config parsing.
hydrargyrum commentedon Nov 3, 2015
What do you mean? LE-auto seems to use augeas for parsing the configuration.
chriscroome commentedon Nov 3, 2015
It appears to me that augeas was fixed to work with the following syntax hercules-team/augeas#154
But was it fixed to work with this?
domcleal commentedon Nov 4, 2015
@hydrargyrum which OS + version are you on? Can you check the version of Augeas?
hydrargyrum commentedon Nov 4, 2015
I'm using debian sid, with libaugeas0 1.2.
domcleal commentedon Nov 4, 2015
Yeah, that's missing the fix that @chriscroome mentions, which is in Augeas 1.3.0+. I don't know why the maintainer hasn't updated it in unstable yet.
pde commentedon Nov 4, 2015
If as @domcleal says this was fixed in Augeas 1.3.0+, this issue should be resolved when #1291 lands. But let's confirm that and add a test case if we can.
pde commentedon Nov 6, 2015
This was fixed by #1291. Thanks team!
jojom4n commentedon Dec 4, 2015
It seems it has not been fixed, to be honest, as reported in #1734 ?