[Pkg-owncloud-maintainers] Bug#744888: owncloud: Configuration via web interface and activation of bookmarks plugin fails

mbrandis mark.brandis at gmx.de
Tue Apr 15 19:47:44 UTC 2014


Package: owncloud
Version: 5.0.14.a+dfsg-1~bpo70+2
Severity: important

After installation of the owncloud package from wheezy-backports I wanted to configure it via web interface. This did not work. The config.php was written but no tables in the database were created and the installer would end in a blank page. Reloading it would go back to the installer. The message in the Apache log was:

PHP Fatal error:  Class 'OC_Log_Owncloud' not found in /usr/share/php/MDB2/Driver/mysql.php on line 1333

Workaround was to use the autoconfig.php. This did configure owncloud and I could login. After that everything seems to work fine until I wanted to activate the app Bookmarks. When enabling it the error "Error while enabling app" occurs. The app is enabled afterwards but in the Apache logfile the following message appears:

PHP Fatal error:  Class 'OC_Log_Owncloud' not found in /usr/share/php/MDB2/Driver/mysql.php on line 1409

-- System Information:
Debian Release: 7.4
  APT prefers stable
  APT policy: (990, 'stable'), (800, 'testing'), (700, 'unstable'), (500, 'oldstable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-4-amd64 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages owncloud depends on:
ii  apache2-mpm-prefork [httpd]  2.2.22-13+deb7u1
ii  fonts-font-awesome           3.2.1~dfsg-2~bpo7+1
ii  libjs-chosen                 0.9.11-1~bpo7+1
ii  libjs-jcrop                  0.9.12+dfsg-1~bpo70+1
ii  libjs-jquery                 1.7.2+dfsg-1
ii  libjs-jquery-jplayer         2.1.0-2
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                    0.8.37+dfsg-1~bpo7+1
ii  libphp-phpmailer             5.1-1
ii  mediawiki-classes            1:1.19.15+dfsg-2
ii  owncloud-doc                 0~20131114-1~bpo70+1
ii  owncloud-mysql               5.0.14.a+dfsg-1~bpo70+2
ii  php-aws-sdk                  1.5.6.2-1~bpo70+1
ii  php-crypt-blowfish           1.1.0~RC2-1
ii  php-dropbox                  1.0.0-1~bpo70+1
ii  php-getid3                   1.9.3-1
ii  php-google-api-php-client    0.6.2-1~bpo70+1
ii  php-irods-prods              3.3.0~beta1-1~bpo70+1
ii  php-mdb2                     2.5.0b3-2
ii  php-mdb2-schema              0.8.5-1
ii  php-patchwork-utf8           1.1.7-1~bpo70+1
ii  php-pear                     5.4.4-14+deb7u8
ii  php-sabre-dav                1.7.6+dfsg-2~bpo70+1
ii  php-sabre-vobject            2.0.7-1~bpo70+1
ii  php-seclib                   0.3.5-2~bpo70+1
ii  php-symfony-routing          2.0.19-1~bpo70+1
ii  php-xml-parser               1.3.4-6
ii  php5                         5.4.4-14+deb7u8
ii  php5-common [php5-json]      5.4.4-14+deb7u8
ii  php5-curl                    5.4.4-14+deb7u8
ii  php5-gd                      5.4.4-14+deb7u8

Versions of packages owncloud recommends:
ii  clamav                          0.97.8+dfsg-1
ii  clamav-daemon                   0.97.8+dfsg-1
ii  curl                            7.26.0-1+wheezy9
ii  liboauth-php                    0~svn622-1
ii  php-services-json               1.0.3-1
ii  php5-cli                        5.4.4-14+deb7u8
ii  php5-intl                       5.4.4-14+deb7u8
ii  php5-ldap                       5.4.4-14+deb7u8
ii  postfix [mail-transport-agent]  2.9.6-2
ii  smbclient                       2:4.1.6+dfsg-1~bpo70+1
ii  zendframework                   1.11.13-1.1

Versions of packages owncloud suggests:
pn  libapache2-mod-xsendfile  <none>

-- 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>
ErrorDocument 403 /owncloud/core/templates/403.php
ErrorDocument 404 /owncloud/core/templates/404.php
<IfModule mod_php5.c>
php_value upload_max_filesize 512M
php_value post_max_size 512M
php_value memory_limit 512M
<IfModule env_module>
  SetEnv htaccessWorking true
</IfModule>
</IfModule>
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteRule .* - [env=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
RewriteRule ^.well-known/host-meta /public.php?service=host-meta [QSA,L]
RewriteRule ^.well-known/carddav /remote.php/carddav/ [R]
RewriteRule ^.well-known/caldav /remote.php/caldav/ [R]
RewriteRule ^apps/([^/]*)/(.*\.(css|php))$ index.php?app=$1&getfile=$2 [QSA,L]
RewriteRule ^remote/(.*) 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


-- no debconf information



More information about the Pkg-owncloud-maintainers mailing list