JohannThor
JohannThor

Reputation: 221

Cannot svn update, An error occurred during decompression

I have a problem with my remote repo in svn. I am running svn version 1.8.5 on windows 8.1

When I try to do an svn update I get the error svn: E120104: ra_serf: An error occurred during decompression

I am able to do a clean checkout.

Does anyone know how to resolve this issue?

Upvotes: 12

Views: 10650

Answers (5)

miken32
miken32

Reputation: 42712

This is not limited to Windows. I was having this issue on OS X, when trying to commit. I added the following to the client side ~/.subversion/servers, based on Nathan's answer about disabling compression:

[global]
http-compression = no

This resolved the problem.

Upvotes: 4

Erik Theoboldt
Erik Theoboldt

Reputation: 2568

We had the same issue, unfortunately it could not be solved by defining the http-compression = nooption. After investigation, it turned out, that an option recommended by HTML5 boilerplate Apache Compression settings caused this issue. We had to temporary disabled the following option:

<IfModule mod_mime.c>
    AddEncoding gzip              svgz
</IfModule>

While AddEncoding gzip svgz was inactive, commit of files which name included the term svgz was possible.

Upvotes: 1

Nathan Harrington
Nathan Harrington

Reputation: 19

This wandisco forum post will lead you in the right direction. Assuming you have access to the repo server, you need to disable compression with mod_deflate.

To resolve this error when attempting to export a large (> 4GB) repository on Ubuntu 12.04 LTS, do the following:

On the server hosting the repo:

mv /etc/apache2/mods-enabled/deflate.load ~/backup_deflate.load
mv /etc/apache2/mods-enabled/deflate.conf ~/backup_deflate.conf
mv /usr/lib/apache2/modules/mod_deflate.so ~/backup_mod_deflate.so
sudo service apache2 restart

As described in other posts, changing the client is also a workable solution. With access to the repo server, this approach was faster to implement and required no changes by the users.

Upvotes: 1

Jeremy Gu
Jeremy Gu

Reputation: 11

From Checking out with an older version of SVN on server this site, this problem is caused by the HTTP client libraries.

I'm tring to install svn with old version(1.7.19) as alvas said on the previous website. Maybe the following error

configure: error: no XML parser was found: expat or libxml 2.x required

will occur.

You can download the expat-2.1.0.tar.gz from http://sourceforge.net/projects/expat/files/

But the older version may not support SSL. Use 'http' instead of 'https'. My environment is AMD_64 + Ubuntu14.04 LTS.

Upvotes: -2

JohannThor
JohannThor

Reputation: 221

This was never fully resolved, I worked around this by doing a clean checkout and migrating the changes to the new working copy.

Upvotes: 1

Related Questions