[Pkg-owncloud-maintainers] Issues with owncloud_4.0.0-1

Paul van Tilburg paulvt at debian.org
Sun May 20 09:08:49 UTC 2012


Hi,

On Sun, May 20, 2012 at 01:41:54AM +0200, Diederik de Haas wrote:
> After having installed the owncloud package and creating a mysql database for owncloud, I went to 
> http://<server>/owncloud and was greeted with the msg 
> "PHP module GD is not installed."

Fixed by Thomas.

> Installed the php5-gd package and reloaded the page, at which I got the msg
> "Can't write into config directory 'config'"

Also fixed by Thomas.

> so I did "chown -R www-data:www-data /var/lib/owncloud/config" [...]
> According to DeepDiver that's because in
> /usr/share/owncloud/lib/util.php the file location is wrong:
> 		// Check if config folder is writable.
> 		if(!is_writable(OC::$SERVERROOT."/config/"))
> 
> After changing that line to (thanks DeepDiver):
> 		if(!is_writable("/var/lib/owncloud/config/"))

Also fixed by Thomas.
I have updated owncloud and php-sabredav packages in:
http://pkg-owncloud.alioth.debian.org/packages/

(Also for anyone else here that wants to test.  This contains the
packages that are not uploaded yet/not through NEW).

> I was greeted with the login page, allowing me to enter the mysql data
> and the administrative
> account.
> Entered those and clicked "Finish setup" and was redirected to http://<server>/owncloud/index.php 
> which showed an empty page :-(

Yes, it seems the DB is not initialised for some reason.

> Removed the "index.php" from the address bar, pressed enter and got the setup page again. 
> Entered my data again and got an empty page again. /etc/init.d/apache2/force-reload didn't help.

We have messed with the .htaccess, maybe this is also breaking things.
Somebody should maybe check my work ;) (i.e.  diff between .htaccess and
debian/config/apache/htaccess.)

> I've attached apache2's error.log which contains only the errors after debian's owncloud 
> installation.
> 
> Is there also a (tar.gz) archive of owncloud as provided by owncloud.org? 
> I can then install that in my own (non-Debian) install of owncloud, so I can test whether issues are 
> caused by owncloud.org or by the debian packages of it.

Yes, there is.  I have added to the packages page.

> [Sun May 20 00:15:21 2012] [error] [client 192.168.1.51] File does not exist: /var/www/core, referer: http://192.168.1.55/owncloud/core/css/styles.css

This is a recurring weird thing! Not fatal though, but we should have a
look at it.

> [Sun May 20 01:06:15 2012] [error] [client 192.168.1.51] PHP Strict Standards:  Declaration of MDB2_Driver_mysql::setTransactionIsolation() should be compatible with MDB2_Driver_Common::setTransactionIsolation($isolation, $options = Array) in /usr/share/php/MDB2/Driver/mysql.php on line 1333, referer: http://192.168.1.55/owncloud/
> [Sun May 20 01:06:15 2012] [error] [client 192.168.1.51] PHP Deprecated:  Assigning the return value of new by reference is deprecated in /usr/share/php/MDB2/Driver/mysql.php on line 1409, referer: http://192.168.1.55/owncloud/
> [Sun May 20 01:06:15 2012] [error] [client 192.168.1.51] PHP Strict Standards:  Non-static method PEAR::isError() should not be called statically in /usr/share/php/MDB2.php on line 381, referer: http://192.168.1.55/owncloud/
> [Sun May 20 01:06:15 2012] [error] [client 192.168.1.51] PHP Strict Standards:  Non-static method PEAR::isError() should not be called statically in /usr/share/php/MDB2.php on line 287, referer: http://192.168.1.55/owncloud/
> [Sun May 20 01:06:15 2012] [error] [client 192.168.1.51] PHP Strict Standards:  Non-static method PEAR::isError() should not be called statically in /usr/share/php/MDB2.php on line 287, referer: http://192.168.1.55/owncloud/
> [Sun May 20 01:06:15 2012] [error] [client 192.168.1.51] PHP Strict Standards:  Non-static method PEAR::isError() should not be called statically in /usr/share/php/MDB2.php on line 287, referer: http://192.168.1.55/owncloud/
> [Sun May 20 01:06:15 2012] [error] [client 192.168.1.51] PHP Strict Standards:  Non-static method PEAR::isError() should not be called statically in /usr/share/php/MDB2.php on line 287, referer: http://192.168.1.55/owncloud/
> [Sun May 20 01:06:15 2012] [error] [client 192.168.1.51] PHP Strict Standards:  Non-static method PEAR::isError() should not be called statically in /usr/share/php/MDB2.php on line 287, referer: http://192.168.1.55/owncloud/
> [Sun May 20 01:06:15 2012] [error] [client 192.168.1.51] PHP Strict Standards:  Non-static method PEAR::isError() should not be called statically in /usr/share/php/MDB2.php on line 388, referer: http://192.168.1.55/owncloud/
> [Sun May 20 01:06:15 2012] [error] [client 192.168.1.51] PHP Strict Standards:  Non-static method PEAR::isError() should not be called statically in /usr/share/owncloud/lib/db.php on line 213, referer: http://192.168.1.55/owncloud/
> [Sun May 20 01:06:15 2012] [error] [client 192.168.1.51] PHP Fatal error:  Cannot make non static method PEAR::isError() static in class MDB2_Schema in /usr/share/owncloud/3rdparty/MDB2/Schema.php on line 2767, referer: http://192.168.1.55/owncloud/

I though we patched this ^^^?
If MDB2_Schema fails, I can understand why it doesn't get to
initialising the DB.

Paul

-- 
Using the Power of Debian GNU/Linux  | E-mail: paulvt at debian.org
Jabber/GTalk: paul at luon.net          | GnuPG key ID: 0x50064181



More information about the Pkg-owncloud-maintainers mailing list