[Pkg-owncloud-maintainers] Fwd: (debian bug #676600) just some thoughts about the package

Thomas Renard cybaer42 at web.de
Mon Jun 11 09:54:38 UTC 2012


Hi there,

I sent the following message to Paul van Tilburg and he asked me to send
it to this list...

-------- Original Message --------
Subject: (debian bug #676600) just some thoughts about the package
Date: Sun, 10 Jun 2012 22:43:46 +0200
From: Thomas Renard <cybaer42 at web.de>
To: Paul van Tilburg <paulvt at debian.org>

Hello Paul,

I send you this mail beside the official bug stream because of some
thoughts about the owncloud package. I wonder why there are these
symbolic links pointing to /usr/share/owncloud.

The configuration file has the option

"datadirectory" => '/var/lib/owncloud/data'

So theoratically it should work to put the whole php stuff to
/usr/share/owncloud and put the data/ dir to /var/lib/owncloud without
any symbolic links there and set the "datadirectory" directive as it is
anyways. Then the web server should bind the link
http://myserver/owncloud to /usr/share/owncloud. I will try this out in
the next days with the upstream package and the debian package because I
think that this would help to fix the problem from bug #676600.

Maybe the php-fpm daemon does not allow to include libraries across
symbolic links (??).  If all libraries are in real subdirectories there
is no problem - as with the upstream package in /var/lib only.

Then, there is a problem that apps/ is written from owncloud online
(when installing a 3rd party app). So apps should not be placed in an
"read-only" directory like /usr/share (and what happens if apps is
symlinked to /var/lib/owncloud?)...

kindly regards

Thomas

-------- Message end --------

In the meantime I reordered my own upstream owncloud system to
/usr/share/owncloud and let the data in /var/lib/owncloud/data as
described above but I did not move conf and apps out of
/usr/share/owncloud by now. I changed the bind directory for lighty to
/usr/share/owncloud. This works fine though I needed to cleanup the
cache of my chromium browser (??). So moving conf to /etc and apps to
whatever is missing on my experiment.

Thomas

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-owncloud-maintainers/attachments/20120611/6b0079a0/attachment.html>


More information about the Pkg-owncloud-maintainers mailing list