[Pkg-owncloud-maintainers] Bug#676600: owncloud - lighttpd - php5-fpm: undefined method

Thomas Renard cybaer42 at web.de
Fri Jun 8 05:45:49 UTC 2012


Package: owncloud
Version: 4.0.1debian-2
Severity: normal

Dear Maintainer,

EXACT STEPS LEADING TO PROBLEM: 

1. This problem depends on installed lighttpd and php5-fpm!
2. Install owncloud, owncloud-sqlite
3. get it work proper with lighttpd (footnote1)
4. open browser and go to your owncloud site
5. enter admin credentials

EXPECTED OUTCOME: 

You will be directed to your owncloud start page.

ACTUAL OUTCOME: 

Internal server error or white page. lighttpd log shows:

error.log:2012-06-07 14:06:37: (mod_fastcgi.c.2699) FastCGI-stderr: PHP message: PHP Fatal error:  Call to undefined method OC_App::addSettingsPage() in /usr/share/owncloud/files/appinfo/app.php on line 6

The first web page is not the expected owncloud page design but simple html. 
Maybe the css-stuff is missing too. Because of the mod_fastcgi error it
may occur with php5-cgi too.

REPRODUCIBILITY: 
always.

First I thought it was a migration problem from stock owncloud binaries
to the debian package but it occurs with a fully new installation too.


EXTRA SOFTWARE INSTALLED: 

ii  lighttpd                               1.4.30-1
ii  php5-fpm                               5.4.4~rc2-1

footnote1:
lighty configuration for owncloud (works with stock owncloud tarball):

alias.url += ( "/owncloud/" => "/var/lib/owncloud/" )

$HTTP["url"] =~ "^/owncloud/data/" {
        url.access-deny = ("")
}

$HTTP["url"] =~ "^/owncloud($|/)" {
        dir-listing.activate = "disable"
}

-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.38-2-686 (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages owncloud depends on:
ii  libjs-jquery                                       1.7.2+debian-1
ii  libjs-jquery-jplayer                               2.1.0-1
ii  libjs-jquery-ui                                    1.8.ooops.20+dfsg-1
ii  libphp-phpmailer                                   5.1-1
ii  lighttpd [httpd]                                   1.4.30-1
ii  owncloud-mysql | owncloud-pgsql | owncloud-sqlite  <none>
ii  php-crypt-blowfish                                 1.1.0~RC2-1
ii  php-getid3                                         1.9.3-1
ii  php-mdb2                                           2.5.0b3-2
ii  php-mdb2-schema                                    0.8.5-1
ii  php-pear                                           5.4.4~rc2-1
ii  php-sabredav                                       1.6.2-3
ii  php-xml-parser                                     1.3.4-6
ii  php5                                               5.4.4~rc2-1
ii  php5-curl                                          5.4.4~rc2-1
ii  php5-gd                                            5.4.4~rc2-1

Versions of packages owncloud recommends:
ii  exim4                                      4.77-1
ii  exim4-daemon-heavy [mail-transport-agent]  4.77-1+b1

owncloud suggests no packages.





More information about the Pkg-owncloud-maintainers mailing list