atlas-install-plugin fails if the plugin is larger than 1 MB

Other Atlassian products don't have a problem. Where can this be configured?

/admin/uploadplugin.action

org.springframework.web.multipart.MaxUploadSizeExceededException

exceeds the configured maximum (1048576)

2 answers

Hi Bob,

Sorry for the delay. I'm afraid I couldn't reproduce it locally - it's certainly not intentional.

Just curiuos, can you upload it via the UI instead? What version of Stash are you running? Do you have any extra settings in your stash-config.properties or JVM arguments? Could you mind posting the full stacktrace?

Hopefully we can get to the bottom of this soon.

Charles

Hmmm, both 2.2.0 and 2.3.0. Yes, works fine via upload file or url, just not plugin install. I can open an issue if you want (where would be best?). So, I take it there is no configuration setting that can be adjusted as the error message suggests.

Hi Bob,

You _might_ want try setting 'avatar.max.size' in stash-config.properties to something larger than '1048576'. I don't think that's it, but that's the only value that might conceivably affect what you're seeing.

I forgot to ask, what version of amps do you have installed?

You can raise support tickets at:

https://support.atlassian.com/

Cheers,

Charles

Funny, I didn't get this notification. I ended up creating AMPS-962 since it is a development problem. AMPS 3.11.

0 vote

Hi Bob,

As a workaround, could you please use a more recent version of the SDK (I'm using 4.1.5 at the moment)? The upload URL used to upload the plugins changed and isn't affected by the upload-size limitation in more recent versions.

Cheers,

Stefan

I am careful about switching SDK levels in general. A made a separate 4.1.7 install, but, that fails as well. No error in the logs this time, just the command line error: Install Plugin: Couldn't get the token from upm. Headers. Falling back to legacy upload.

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...

164 views 20 8
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