Import a large git repository into stash

Xun Wang May 3, 2014

Hi, All:

I have just setup a stash server and would like to import a large git repository (~700MB) into stash. I'm getting 'error: RPC failed; result=22, HTTP code = 413'. What server configurations should I change in order to resolve this issue.

Thanks,

Xun.

1 answer

0 votes
Daniel Wester
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 3, 2014
You'll need to take a look at the server logs. Do you have apache or nginx in front of the server and are you doing the git push over the http protocol? If so the proxying web server might have the error
Xun Wang May 4, 2014

I have lighttpd as my front end. I've tried to set server.max-request-size (default is 2GB and I've tried 20GB) and set maxPostSize="0" in server.xml for tomcat. It seems to have no effect. Perhaps, I've tried too quickly late at night and might made a mistake. I should give it another go tonight.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events