Whenever I check a file into subversion it hangs for a long time (>30s) with Comitting transaction...
. The commit seems to go through though since I can svn up
it on other clients.
The log says Named transaction doesn't exist.
, but I'm not sure how to fix it...
I'm running subversion 1.13.0 on Apache (behind nginx) on Ubuntu: 20.04.5.
What the client sees:
bp@linuxdev:/srv/bin$ svn ci testfile.txt -m "test"
Sending testfile.txt
Transmitting file data .done
Committing transaction...
svn: E175002: Commit failed (details follow):
svn: E175002: Unexpected HTTP status 504 'Gateway Time-out' on '/svn/datakortet/srv/trunk/bin'
bp@linuxdev:/srv/bin$
The Gateway Time-out is from nginx when apache takes more than 30 seconds (the hanging problem existed before nginx was added, but the added 504 error is not going to be well received...).
The access.log from the subversion apache VirtualHost:
127.0.0.1 - bp [05/Feb/2023:14:28:14 +0100] "PUT /svn/datakortet/!svn/txr/33737-q4a/srv/trunk/bin/testfile.txt HTTP/1.0" 204 176 "-" "SVN/1.13.0 (x86_64-pc-linux-gnu) serf/1.3.9"
127.0.0.1 - bp [05/Feb/2023:14:29:14 +0100] "DELETE /svn/datakortet/!svn/txn/33737-q4a HTTP/1.0" 404 376 "-" "SVN/1.13.0 (x86_64-pc-linux-gnu) serf/1.3.9"
Subversion is located in /var/lib/svn/datakortet/
and <svn>/db/txn-current
contains q4a
, <svn>/db/transactions/
is empty.
error.log
[Sun Feb 05 14:29:14.418619 2023] [dav:error] [pid 289957:tid 140444373587712] [client 127.0.0.1:47926] Could not fetch resource information. [404, #0]
[Sun Feb 05 14:29:14.418736 2023] [dav:error] [pid 289957:tid 140444373587712] [client 127.0.0.1:47926] Named transaction doesn't exist. [404, #175002]