[Pkg-owncloud-maintainers] Issues with owncloud_4.0.0-1
Diederik de Haas
didi.debian at cknow.org
Sat May 19 23:41:54 UTC 2012
Hi!
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."
Installed the php5-gd package and reloaded the page, at which I got the msg
"Can't write into config directory 'config'"
so I did "chown -R www-data:www-data /var/lib/owncloud/config" and after that the config and data
directory (/var/lib/owncloud/data) were owned by www-data, the rest was owned by root.
For comparison, on the owncloud instance I installed manually the whole owncloud directory (and
subdirectories) were owned by www-data.
That did not fix the issue. Since /var/lib/owncloud/config is a symlink to /etc/owncloud, I did "chown
-R www-data:www-data /etc/owncloud", but that didn't fix it either.
After both chown actions I did "/etc/init.d/apache2 force-reload" to make sure the changes were
taken into account.
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/"))
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 :-(
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.
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.
Cheers,
Diederik
-------------- next part --------------
A non-text attachment was scrubbed...
Name: apache2_error.log
Type: text/x-log
Size: 16991 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-owncloud-maintainers/attachments/20120520/ff09d1c2/attachment.bin>
More information about the Pkg-owncloud-maintainers
mailing list