Gentoo Archives: gentoo-user

From: Mick <michaelkintzios@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: Fwd: Re: [gentoo-user] Two identical systems - different!
Date: Wed, 05 Mar 2014 13:49:41
Message-Id: 201403051349.11241.michaelkintzios@gmail.com
In Reply to: Re: Fwd: Re: [gentoo-user] Two identical systems - different! by Peter Humphrey
1 On Tuesday 04 Mar 2014 23:38:04 Peter Humphrey wrote:
2 > On Tuesday 04 Mar 2014 20:08:57 Mick wrote:
3 > > On Tuesday 04 Mar 2014 15:47:05 Peter Humphrey wrote:
4 > > > Whatever I've tried, I still can't get owncloud installed properly, not
5 > > > even by running their installer script to fetch and install version
6 > > > 6.0.2, just released. That's why I felt forced into the brute-force
7 > > > method.
8 > >
9 > > What you describe as "installed properly" boils down to using wget to
10 > > download their latest release, untarring it into your /var/www/owncloud
11 > > directory and checking that ownership and access rights are correctly
12 > > set.
13 > >
14 > > The manual install instructions explain how to do this step by step on
15 > > their website.
16 > >
17 > > Are you getting some particular error when you try to load it in a
18 > > browser?
19 >
20 > Yes, I am. I can do those things, or I can install from the ebuild, and in
21 > either case the file structure under /var/www/localhost/htdocs/owncloud
22 > looks fine, permissions and all (I haven't yet tried using vhosts). Then
23 > when I browse to owncloud it asks for an admin name and password, then
24 > runs through post-install checks and announces "Your web server is not yet
25 > properly setup to allow files synchronisation because the WebDAV interface
26 > seems to be broken."
27 >
28 > Since owncloud's DAV functionality is built into its own PHP code, I can
29 > only suppose that I have a USE flag wrong here:
30 >
31 > [ebuild R ] dev-lang/php-5.5.9:5.5 USE="apache2 berkdb bzip2 calendar
32 > cgi cli crypt ctype curl exif fileinfo filter fpm ftp gd gdbm gmp hash
33 > iconv intl ipv6 json mysql mysqli nls opcache pdo phar posix readline
34 > session simplexml sqlite ssl tokenizer truetype unicode xml xmlwriter zip
35 > zlib -bcmath -cdb -cjk -debug -embed -enchant -firebird -flatfile
36 > -frontbase -imap -inifile - iodbc -kerberos -ldap -ldap-sasl -libedit
37 > -libmysqlclient -mhash -mssql -oci8- instant-client -odbc -pcntl -postgres
38 > -qdbm -recode (-selinux) -sharedmem - snmp -soap -sockets -spell
39 > -sybase-ct -systemd -sysvipc -threads -tidy -wddx - xmlreader -xmlrpc -xpm
40 > -xslt"
41
42 This looks fine.
43
44
45 > Everything the instructions ask for is in that list, unless I've missed
46 > something, but maybe something else needs changing.
47
48 md is not in the list. I don't know if it is built as a default, or if you
49 need to emerge dev-php/phpmd. In any case, I wouldn't expect this to have
50 anything to do with webDAV.
51
52 Have you manually disabled webDAV in your apache configuration?
53
54 You will need to set 'Dav Off' under the entry for your <Directory
55 /var/www/owncloud>. You will also need to check that you have *not* enabled
56 authentication at apache level because this is managed by the php code and you
57 have also set 'Satisfy Any' under 'Allow from all'.
58
59 Finally, increase verbosity in apache to see what access errors it reports.
60
61 --
62 Regards,
63 Mick

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: Fwd: Re: [gentoo-user] Two identical systems - different! Peter Humphrey <peter@××××××××××××.uk>