[Pkg-owncloud-maintainers] Issues with owncloud_4.0.0-1
Diederik de Haas
didi.debian at cknow.org
Sat May 19 23:59:22 UTC 2012
On Sunday 20 May 2012 01:41:54 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
> "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.
> After changing that line to (thanks DeepDiver):
> 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.
DeepDiver asked me if my issue was like http://bugs.owncloud.org/thebuggenie/owncloud/issues/oc-32,
which made me check my /etc/owncloud/config.php, which had the following contents:
$CONFIG = array(
"datadirectory" => '/var/lib/owncloud/data',
"dbtype" => 'mysql',
"version" => '4.0.0',
"dbname" => 'owncloud',
"dbhost" => 'localhost',
"dbtableprefix" => 'oc_',
"dbuser" => 'owncloud',
"dbpassword" => '<dbpassword>',
But my datadirectory is empty.
Logging in to mysql with "mysql -u owncloud -p'<password>' owncloud" and then at the mysql prompt
"show databases;" showed the databases "information_schema" and "owncloud". Then I did "use
owncloud;" and then "show tables", which returned "Empty set (0.00 sec)".
That doesn't look right ;-)
That's it for now. See you 'tomorrow'.
More information about the Pkg-owncloud-maintainers