Import svn error: Failed to write svndiff file to temp: not enough disk space

I have some repositories integrated with apache. When importing small projects, it works great. But when I import some large projects, say, about 2 GB, I get the following error. I am using turtle svn.

Could not write svndiff to temp file: There is not enough space on the disk.

Thanks.

+6
svn
source share
4 answers

Update: OP itsraja finally discovered that the $ TMPDIR environment variable was not set (after some tips from zerkms in the comments above)

Sorry, I searched on SVN.
I do not seem to install anything as a temporary directory. When the echo is $TMPDIR , it is empty.
I believe that it uses the /tmp and it has enough space.
I installed $TMPDIR and the problem is fixed, thanks


Original answer:

According to this post (for a Windows client, but the idea is still valid for a Unix client):

Using Subversion (via Tortoise, by the way), I recently got this error:

 svn: Can't set position pointer in file 'C:\WINDOWS\TEMP\report.tmp': There is not enough space on the disk. 

This means that your server has run out of free space .
It sounds straightforward, but a lot of time has passed on the client.

This could be a similar problem in your case (if you have free space on the left).


Or it could be an ACL (authority) problem in the tmp as described here :

Subversion uses the APR function (which we donated to this project) to search for a temporary directory.
He does this by trying to find a writable directory using the following search path:

  $TMP $TEMP $TMPDIR "C:\TEMP" (windows only) "SYS:\TMP" (netware only) "/tmp" "/var/tmp" "/usr/tmp" P_tmpdir (POSIX define) `pwd` 

Do you have one of those first three environment variables that are set in a write-unavailable place?

+5
source share

We ran into this problem, and the problem was not in the space on the subversion server, but rather on the client’s desktop. If you have people using the software on the workstation side, check it in place.

0
source share

The same error is observed today in several clients. It turns out that the svn server was out of place. Apparently, the tmp file error occurred from the server. Solution: free up disk space and try again.

0
source share

It can also be caused by excessively large fixation. Try to make fewer files.

0
source share

All Articles