Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error parsing owncloud.conf #1734

Closed
jojom4n opened this issue Dec 4, 2015 · 3 comments
Closed

Error parsing owncloud.conf #1734

jojom4n opened this issue Dec 4, 2015 · 3 comments

Comments

@jojom4n
Copy link

jojom4n commented Dec 4, 2015

When executing

letsencrypt --apache

and after accepting the EULA, I receive the following:

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/sites-enabled/owncloud.conf', u'Syntax error'),)

Here's my owncloud.conf:

<VirtualHost *:80>
  ServerName localhost
  DocumentRoot /var/www/owncloud/
  ServerAdmin webmaster@localhost

  <Directory /var/www/owncloud>
    Options Indexes FollowSymLinks MultiViews
    AllowOverride All
    Order allow,deny
    allow from all
    SetEnv MOD_X_SENDFILE_ENABLED 1
    XSendFile On
    XSendFilePath /tmp/oc-noclean
  </Directory>

  ErrorLog /var/log/apache2/error_$domain.log

  SetOutputFilter DEFLATE
  SetEnvIfNoCase Request_URI \.(?:gif|jpe?g|ico|png)$ \ no-gzip dont-vary
  SetEnvIfNoCase Request_URI \.(?:exe|t?gz|zip|bz2|sit|rar)$ \no-gzip dont-vary
  SetEnvIfNoCase Request_URI \.pdf$ no-gzip dont-vary

  BrowserMatch ^Mozilla/4 gzip-only-text/html
  BrowserMatch ^Mozilla/4\.0[678] no-gzip
  BrowserMatch \bMSIE !no-gzip !gzip-only-text/html

</VirtualHost>

I'm on Debian testing, libaugeas0 = 1.2.0-0.2-2 and apache2 = 2.4.17-3. Let's Encrypt version, on the other hand, is 0.0.0.dev20151123 (I installed it from experimental branch).

@zenire
Copy link

zenire commented Dec 4, 2015

Can you also post the owncloud.conf before running the command?

@jojom4n
Copy link
Author

jojom4n commented Dec 4, 2015

I checked from a backup of the last week and the owncloud.conf, before running the command, is exactly the same as the one I posted before. The command didn't touch it (that makes some sense, since it couldn't parse and work on it, I think).

Add to this that, a few minutes ago, a

apt-get update && apt-get upgrade

brought to me the 0.1.0 version of Let's Encrypt. The parse error, though, still remains, even after running the new version.

@pde
Copy link
Member

pde commented Dec 4, 2015

This is a duplicate of #1531.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants