Hi David,

On 28/06/2014 22:51, David Prévot wrote:
> Control: severity -1 important
> Control: tags -1 moreinfo
>
> Hi Francois,
>
> Thanks for your report.
>
> Le 24/06/2014 16:49, Francois Mescam a écrit :
> > Package: owncloud
> > Version: 6.0.4~beta1+dfsg-1
>
> Can you reproduce this issue with the version 6.0.3+dfsg-2 from testing
> (and eventually 6.0.4+dfsg-1 just uploaded, even if I doubt anything
> will change from 6.0.4~beta1+dfsg-1)?
Yesterday I upgrade to 6.0.4+dfsg-1 and I always observe the bug.
>
> > In the file /var/log/owncloud.log there is nothing, in the file
> /etc/apache2/error.log there is :
>
> > [Tue Jun 24 22:28:10.551589 2014] [core:alert] [pid 19228] [client
> 127.0.0.1:38616] /usr/share/owncloud/data/.htaccess: Invalid command
> 'IndexIgnore', perhaps misspelled or defined by a module not included
> in the server configuration
>
> Can you please post the content of the
> /usr/share/owncloud/data/.htaccess file?
# cat /usr/share/owncloud/data/.htaccess
# Generated by ownCloud on 2014-06-29 08:15:46
# line below if for Apache 2.4
<ifModule mod_authz_core>
Require all denied
</ifModule>

# line below if for Apache 2.2
<ifModule !mod_authz_core>
deny from all
</ifModule>

# section for Apache 2.2 and 2.4
IndexIgnore *

>
> > Tue Jun 24 22:41:07.469234 2014] [access_compat:error] [pid 20341]
> [client 127.0.0.1:38667] AH01797: client denied by server
> configuration: /usr/share/owncloud/data/htaccesstest.txt
> […]
> > And the file /usr/share/owncloud/data/htaccesstest.txt does not exist.
>
> What does
> $ ls -ld /var/lib/owncloud/data
$ ls -ld /var/lib/owncloud/data
drwxrws--- 4 www-data www-data 4096 juin  30 06:48 /var/lib/owncloud/data

> display?
>
> What is the user your webserver is running in?
$ ps aux|grep apache2
root      1115  0.0  1.7 173156 18288 ?        Ss   06:46   0:00
/usr/sbin/apache2 -k start
www-data  1118  0.0  0.2  24820  2592 ?        S    06:46   0:00
/usr/sbin/apache2 -k start
www-data  1130  0.1  1.4 177420 14900 ?        S    06:46   0:00
/usr/sbin/apache2 -k start
www-data  1131  0.0  1.3 177904 13700 ?        S    06:46   0:00
/usr/sbin/apache2 -k start
www-data  1132  0.0  1.4 177936 14744 ?        S    06:46   0:00
/usr/sbin/apache2 -k start
www-data  1133  0.3  1.4 178416 14844 ?        S    06:46   0:01
/usr/sbin/apache2 -k start
www-data  1912  0.1  1.6 177908 16484 ?        S    06:47   0:00
/usr/sbin/apache2 -k start
www-data  1922  0.0  1.7 177948 18220 ?        S    06:47   0:00
/usr/sbin/apache2 -k start
www-data  1923  0.0  1.4 177936 14452 ?        S    06:47   0:00
/usr/sbin/apache2 -k start
www-data  1926  0.0  1.4 177676 15144 ?        S    06:47   0:00
/usr/sbin/apache2 -k start
www-data  1942  0.0  0.5 173188  5496 ?        S    06:48   0:00
/usr/sbin/apache2 -k start
www-data  1943  0.0  0.5 173188  5496 ?        S    06:48   0:00
/usr/sbin/apache2 -k start
www-data  1944  0.0  0.5 173188  5496 ?        S    06:48   0:00
/usr/sbin/apache2 -k start

>
> What kind of change did you make from a stock apache2 package’s
> configuration?
I do not exactly know.
>
> Can you try and enable back any Apache module as needed by
> /etc/owncloud/htaccess?
I've done that yesterday and after that owncloud works. Your message
arrives before I send you a complementary report so I give it now. As
you say I enabled modules as needed by /etc/owncloud/htaccess but I
don't exactly know what modules I enabled from a stock apache2 package.
By the way my enabled modules are :
$ ls /etc/apache2/mods-enabled/
access_compat.load  authz_host.load  cgi.load     mime.load        
rewrite.load        ssl.load
alias.conf          autoindex.conf   dir.conf     mpm_prefork.conf 
setenvif.conf       userdir.conf
alias.load          autoindex.load   dir.load     mpm_prefork.load 
setenvif.load       userdir.load
authn_core.load     cgid.conf        filter.load  php5.conf        
socache_shmcb.load  xsendfile.load
authz_core.load     cgid.load        mime.conf    php5.load         ssl.conf

I think this bug is due to a lack of enabled modules during installation
of the owncloud package but I d'nt know exactly the list and I d'nt
remenber if I do some usefull change after filling the bug and before I
upgrade to 6.0.4+dfsg-1.
If needed I can do a test from a fresh apache2 installation but only in
2 weeks, answer me if you want that.

Regards

-- 
 Francois Mescam Tel:+33 6 16 05 77 61


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to