[Pkg-owncloud-maintainers] Fwd: (debian bug #676600) just some thoughts about the package
Paul van Tilburg
paulvt at debian.org
Wed Jun 13 20:40:38 UTC 2012
Hi,
I have made a switch in the packaging this evening. Now, the source is
installed directly to /usr/share/owncloud, the data dirs "data",
"backup" and "themes" are put in /var/lib/owncloud and symlinked back to
/usr/share/owncloud. The same holds for the configuration in
/etc/owncloud. In essence this is the inverse situation of before.
On Mon, Jun 11, 2012 at 12:16:09PM +0200, Paul van Tilburg wrote:
> > 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'
>
> That is due to the fact that we started with ownCloud 3, which didn't have
> this option. I am been planning to change this but didn't want to
> change much now, as we want to have the stuff in testing before the freeze
> and it's working right now. Or at least, it seemed to be working. :)
I have decided to still go with the symlink, although ownCloud will generate
configuration setting that data directory path which is fine.
> > 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.
>
> Ok, yes, it would be great if you could test this.
> It's a pity we can't do the same with the configuration directory.
> But I guess we can symlink /usr/share/owncloud/config to /etc/owncloud
> directly.
So, as written above I've modified the packaging. There are test
packages available using the following apt repository:
deb http://pkg-owncloud.alioth.debian.org/packages ./
Could you try this out and see if it resolves your problems?
Cheers,
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