[Pkg-owncloud-maintainers] Bug#774167: owncloud: HTTP access works, HTTPS just returns empty document

Axel Stammler axst at users.sourceforge.net
Mon Dec 29 21:04:09 UTC 2014


Package: owncloud
Version: 7.0.2+dfsg-1~bpo70+2
Severity: important

Dear Maintainer,

After installing the package and completing the installation wizard steps, I can now
create users &c. − but only using HTTP (http://localhost/owncloud). Although HTTPS works
fine in general (https://localhost), ‘https://localhost/owncloud’ is not dignified with
any reply at all.

Still, whenever I access the administration page (using HTTP, of course, as there is no
other way), I am told to switch to HTTPS, even though it does not work.

All the documentation has to say about HTTPS configuration is: “If you are installing
ownCloud on the same machine as you are accessing the install wizard from, the URL will be
http://localhost/owncloud, or https://localhost/owncloud if you have enabled SSL.”
(http://doc.owncloud.org/server/7.0/admin_manual/installation/installation_wizard.html) Very
helpful indeed.

Any hints would be greatly appreciated.

Axel

-- System Information:
Debian Release: 7.7
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 3.2.0-4-686-pae (SMP w/2 CPU cores)
Locale: LANG=en_IE.UTF-8, LC_CTYPE=en_IE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages owncloud depends on:
ii  apache2                      2.2.22-13+deb7u3
ii  apache2-mpm-prefork [httpd]  2.2.22-13+deb7u3
ii  fonts-font-awesome           4.1.0~dfsg-1~bpo70+1
ii  fonts-liberation             1.07.2-6
ii  fonts-linuxlibertine         5.1.3-1
ii  fonts-lohit-deva             2.5.1-1
ii  fonts-sil-gentium-basic      1.1-5
ii  fonts-wqy-microhei           0.2.0-beta-2
ii  libjs-chosen                 0.9.11-1~bpo7+1
ii  libjs-dojo-dojox             1.7.2+dfsg-1
ii  libjs-jcrop                  0.9.12+dfsg-1~bpo70+1
ii  libjs-jquery-minicolors      1.2.1-1~bpo7+1
ii  libjs-jquery-mousewheel      6-1
ii  libjs-jquery-timepicker      1.2-1~bpo70+1
ii  libjs-pdf                    1.0.473+dfsg-1~bpo70+1
ii  libphp-phpmailer             5.1-1
ii  owncloud-doc                 0~20140428-1
ii  php-assetic                  1.1.2-1~bpo70+1
ii  php-doctrine-dbal            2.4.3-1~bpo70+1
ii  php-getid3                   1.9.7-2~bpo70+1
ii  php-opencloud                1.10.0-2~bpo70+1
ii  php-patchwork-utf8           1.1.7-1~bpo70+1
ii  php-pear                     5.4.35-0+deb7u2
ii  php-pimple                   1.1.1-1~bpo70+1
ii  php-sabre-dav                1.8.10-1~bpo70+1
ii  php-seclib                   0.3.5-2~bpo70+1
ii  php-symfony-classloader      2.3.6-1~bpo70+1
ii  php-symfony-console          2.3.1+dfsg-1~bpo70+1
ii  php-symfony-routing          2.0.19-1~bpo70+1
ii  php5                         5.4.35-0+deb7u2
ii  php5-common [php5-json]      5.4.35-0+deb7u2
ii  php5-gd                      5.4.35-0+deb7u2
ii  php5-mysql                   5.4.35-0+deb7u2
ii  php5-pgsql                   5.4.35-0+deb7u2
ii  zendframework                1.11.13-1.1

Versions of packages owncloud recommends:
ii  exim4-daemon-light [mail-transport-agent]  4.80-7+deb7u1
ii  php-aws-sdk                                2.6.0-1~bpo70+1
pn  php-crypt-blowfish                         <none>
ii  php-dropbox                                1.0.0-1~bpo70+1
ii  php-google-api-php-client                  0.6.2-1~bpo70+1
ii  php5-cli                                   5.4.35-0+deb7u2
ii  php5-curl                                  5.4.35-0+deb7u2
ii  php5-imagick                               3.1.0~rc1-1+b2
ii  php5-intl                                  5.4.35-0+deb7u2
ii  php5-ldap                                  5.4.35-0+deb7u2
ii  php5-mcrypt                                5.4.35-0+deb7u2
ii  php5-xcache                                2.0.0-4
ii  smbclient                                  2:3.6.6-6+deb7u4

Versions of packages owncloud suggests:
pn  libapache2-mod-xsendfile                 <none>
ii  libav-tools                              6:0.8.16-1
ii  libreoffice                              1:3.5.4+dfsg2-0+deb7u2
ii  mysql-server                             5.5.40-0+wheezy1
ii  mysql-server-5.5 [virtual-mysql-server]  5.5.40-0+wheezy1
ii  postgresql                               9.1+134wheezy4

-- Configuration Files:
/etc/owncloud/htaccess changed:
<IfModule mod_fcgid.c>
<IfModule mod_setenvif.c>
<IfModule mod_headers.c>
SetEnvIfNoCase ^Authorization$ "(.+)" XAUTHORIZATION=$1
RequestHeader set XAuthorization %{XAUTHORIZATION}e env=XAUTHORIZATION
</IfModule>
</IfModule>
</IfModule>
<IfModule mod_php5.c>
php_value upload_max_filesize 513M
php_value post_max_size 513M
php_value memory_limit 512M
php_value mbstring.func_overload 0
<IfModule env_module>
  SetEnv htaccessWorking true
</IfModule>
</IfModule>
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteRule .* - [env=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
RewriteRule ^/owncloud/\.well-known/host-meta /owncloud/public.php?service=host-meta [QSA,L]
RewriteRule ^/owncloud/\.well-known/host-meta\.json /owncloud/public.php?service=host-meta-json [QSA,L]
RewriteRule ^/owncloud/\.well-known/carddav /owncloud/remote.php/carddav/ [R]
RewriteRule ^/owncloud/\.well-known/caldav /owncloud/remote.php/caldav/ [R]
RewriteRule ^/owncloud/apps/calendar/caldav\.php /owncloud/remote.php/caldav/ [QSA,L]
RewriteRule ^/owncloud/apps/contacts/carddav\.php /owncloud/remote.php/carddav/ [QSA,L]
RewriteRule ^/owncloud/remote/(.*) /owncloud/remote.php [QSA,L]
</IfModule>
<IfModule mod_mime.c>
AddType image/svg+xml svg svgz
AddEncoding gzip svgz
</IfModule>
<IfModule dir_module>
DirectoryIndex index.php index.html
</IfModule>
AddDefaultCharset utf-8
Options -Indexes
<IfModule pagespeed_module>
        ModPagespeed Off
</IfModule>
ErrorDocument 403 /owncloud/core/templates/403.php
ErrorDocument 404 /owncloud/core/templates/404.php

-- no debconf information



More information about the Pkg-owncloud-maintainers mailing list