Large file checkin in Stash

I am trying to checkin a large file 30MB in stash but failing to do so. Is there a setting somewhere where file size limit is set?

Thanks.

2 answers

If you are using a reverse proxy in front of Stash, like Nginx, make sure you change the upload value for that.

E.g. 

client_max_body_size 50m;

Hi Fazle,

There are no hard file limits in Stash. What is failing exactly? Without knowing anything more my first guess is a proxy in front of Stash that has a low timeout value or invalid configuration.

I might suggest, in addition to posting a reply, would be to raise a support ticket and attach your Stash logs, the output from the git push and apache configuration (or whatever proxy you have).

Unrelated, and you probably know already this, committing large (binary) files into git can lead to increasingly slow clone times that then affect your builds. It gets worse depending on how often and how many of these large files are being added/modified. If they're only derived files, like jars, I would recommend using something like Maven. If they're game assests, well, I'm not sure anyone has come up with the perfect solution yet. :(

Cheers,

Charles

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Nov 06, 2018 in Bitbucket

Upgrade Best Practices

Hello! My name is Mark Askew and I am a Premier Support Engineer for products Bitbucket Server/Data Center, Fisheye & Crucible. Today, I want to bring the discussion that Jennifer, Matt, and ...

189 views 3 6
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you