Skip to content

Error parsing owncloud.conf #1734

Closed
Closed

Description

@jojom4n

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).

Activity

  1. zenire commented on Dec 4, 2015

    @zenire

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

  2. jojom4n commented on Dec 4, 2015

    @jojom4n
    Author

    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.

  3. pde commented on Dec 4, 2015

    @pde
    Member

    This is a duplicate of #1531.

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions