You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Nikola Kotur <ni...@etondigital.com> on 2010/07/26 09:49:16 UTC

503 Service Unavailable only for new files

Hello all.

I was unable to find anybody on the net affected with this problem that
I have.

Svn repositories are accessed via WebDAV, here's the Apache conf part:

<Location /repo/project_test>
  DAV svn
  SVNPath /var/svn-repos/project_test
  AuthType Basic
  AuthName "Subversion Repository"
  AuthUserFile /etc/apache2/svn_ttt.passwd
  Require valid-user
  SSLRequireSSL
</Location>

Auth file (/etc/apache2/svn_ttt.passwd) is set properly.

All files are owned by www-data, and group owned by subversion group.

I am able to checkout, update, modify file, but when I try to add a
file, I get this message:

$ svn ci -m 'Test 2'
Adding         test2.txt
svn: Commit failed (details follow):
svn: Server sent unexpected return value (503 Service unavailable) in
response to PROPFIND request for '/repo/project_test/!
svn/wrk/b2972884-c634-446e-87d6-df8f4fef1d16/test2.txt'
svn: Server sent unexpected return value (503 Service unavailable) in
response to PROPFIND request for '/repo/project_test/test2.txt'

What could be the issue here?

Thanks in advance.

-- 
Nikola Kotur
nikola.kotur@etondigital.com



Re: 503 Service Unavailable only for new files

Posted by Nikola Kotur <ni...@etondigital.com>.
On Mon, 2010-07-26 at 17:08 +0200, Nikola Kotur wrote:

> And there's nothing in error log.
> 
> What could be the issue here?


I finally figured out what was going on.

It was .htaccess rule that said "ErrorDocument 404 /index.php". After
commenting that out, Subversion stop complaining about errors and now
everything works.

I am documenting this here, for future searchers, since I was unable to
find the solution anywhere.

-- 
Nikola Kotur
nikola.kotur@etondigital.com
www.etondigital.com
+381648463835



Re: 503 Service Unavailable only for new files

Posted by Nikola Kotur <ni...@etondigital.com>.
On Mon, 2010-07-26 at 07:36 -0400, Nico Kadel-Garcia wrote:
> On Mon, Jul 26, 2010 at 5:49 AM, Nikola Kotur
> <ni...@etondigital.com> wrote:
> > Hello all.
> >
> > I was unable to find anybody on the net affected with this problem
> that
> > I have.
> >
> > Svn repositories are accessed via WebDAV, here's the Apache conf
> part:
> >
> > <Location /repo/project_test>
> >  DAV svn
> >  SVNPath /var/svn-repos/project_test
> >  AuthType Basic
> >  AuthName "Subversion Repository"
> >  AuthUserFile /etc/apache2/svn_ttt.passwd
> >  Require valid-user
> >  SSLRequireSSL
> > </Location>
> >
> > Auth file (/etc/apache2/svn_ttt.passwd) is set properly.
> >
> > All files are owned by www-data, and group owned by subversion
> group.
> 
> Including svn_tt.passwd? I suspect not from your reported error. You
> shold examine the Apache logs as well to see what they said. 

That's what bugs me, there are no error logs.

This is from access_log:

89.216.30.6 - - [26/Jul/2010:17:06:17 +0200] "OPTIONS /repo/project_test
HTTP/1.1" 401 435 "-" "SVN/1.6.6 (r40053) neon/0.29.0"
89.216.30.6 - kotnik [26/Jul/2010:17:06:17 +0200]
"OPTIONS /repo/project_test HTTP/1.1" 200 152 "-" "SVN/1.6.6 (r40053)
neon/0.29.0"
89.216.30.6 - kotnik [26/Jul/2010:17:06:17 +0200]
"PROPFIND /repo/project_test HTTP/1.1" 207 347 "-" "SVN/1.6.6 (r40053)
neon/0.29.0"
89.216.30.6 - kotnik [26/Jul/2010:17:06:18 +0200]
"MKACTIVITY /repo/project_test/!
svn/act/9d3097b1-a13b-43b8-ac57-86de0441a928 HTTP/1.1" 201 350 "-"
"SVN/1.6.6 (r40053) neon/0.29.0"
89.216.30.6 - kotnik [26/Jul/2010:17:06:18 +0200]
"PROPFIND /repo/project_test/!svn/vcc/default HTTP/1.1" 207 250 "-"
"SVN/1.6.6 (r40053) neon/0.29.0"
89.216.30.6 - kotnik [26/Jul/2010:17:06:18 +0200]
"CHECKOUT /repo/project_test/!svn/bln/2 HTTP/1.1" 201 364 "-" "SVN/1.6.6
(r40053) neon/0.29.0"
89.216.30.6 - kotnik [26/Jul/2010:17:06:18 +0200]
"PROPPATCH /repo/project_test/!
svn/wbl/9d3097b1-a13b-43b8-ac57-86de0441a928/2 HTTP/1.1" 207 273 "-"
"SVN/1.6.6 (r40053) neon/0.29.0"
89.216.30.6 - kotnik [26/Jul/2010:17:06:18 +0200]
"PROPFIND /repo/project_test HTTP/1.1" 207 242 "-" "SVN/1.6.6 (r40053)
neon/0.29.0"
89.216.30.6 - kotnik [26/Jul/2010:17:06:18 +0200]
"CHECKOUT /repo/project_test/!svn/ver/2/ HTTP/1.1" 201 360 "-"
"SVN/1.6.6 (r40053) neon/0.29.0"
89.216.30.6 - kotnik [26/Jul/2010:17:06:18 +0200]
"PROPFIND /repo/project_test/!
svn/wrk/9d3097b1-a13b-43b8-ac57-86de0441a928/test2.txt HTTP/1.1" 503 800
"-" "SVN/1.6.6 (r40053) neon/0.29.0"
89.216.30.6 - kotnik [26/Jul/2010:17:06:18 +0200]
"PROPFIND /repo/project_test/test2.txt HTTP/1.1" 503 800 "-" "SVN/1.6.6
(r40053) neon/0.29.0"
89.216.30.6 - kotnik [26/Jul/2010:17:06:18 +0200]
"DELETE /repo/project_test/!svn/act/9d3097b1-a13b-43b8-ac57-86de0441a928
HTTP/1.1" 204 - "-" "SVN/1.6.6 (r40053) neon/0.29.0"

And there's nothing in error log.

What could be the issue here?

-- 
Nikola Kotur
nikola.kotur@etondigital.com



Re: 503 Service Unavailable only for new files

Posted by Nico Kadel-Garcia <nk...@gmail.com>.
On Mon, Jul 26, 2010 at 5:49 AM, Nikola Kotur
<ni...@etondigital.com> wrote:
> Hello all.
>
> I was unable to find anybody on the net affected with this problem that
> I have.
>
> Svn repositories are accessed via WebDAV, here's the Apache conf part:
>
> <Location /repo/project_test>
>  DAV svn
>  SVNPath /var/svn-repos/project_test
>  AuthType Basic
>  AuthName "Subversion Repository"
>  AuthUserFile /etc/apache2/svn_ttt.passwd
>  Require valid-user
>  SSLRequireSSL
> </Location>
>
> Auth file (/etc/apache2/svn_ttt.passwd) is set properly.
>
> All files are owned by www-data, and group owned by subversion group.

Including svn_tt.passwd? I suspect not from your reported error. You
shold examine the Apache logs as well to see what they said.

>
> I am able to checkout, update, modify file, but when I try to add a
> file, I get this message:
>
> $ svn ci -m 'Test 2'
> Adding         test2.txt
> svn: Commit failed (details follow):
> svn: Server sent unexpected return value (503 Service unavailable) in
> response to PROPFIND request for '/repo/project_test/!
> svn/wrk/b2972884-c634-446e-87d6-df8f4fef1d16/test2.txt'
> svn: Server sent unexpected return value (503 Service unavailable) in
> response to PROPFIND request for '/repo/project_test/test2.txt'
>
> What could be the issue here?
>
> Thanks in advance.
>
> --
> Nikola Kotur
> nikola.kotur@etondigital.com
>
>
>
>