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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Jun 12, 2018 in Bitbucket

Do you use any Atlassian products for your personal projects?

After spinning my wheels trying to get organized enough to write a book for National Novel Writing Month (NaNoWriMo) I took my affinity for Atlassian products from my work life and decided to tr...

23,443 views 26 12
Join discussion

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