Updating add-ons by file upload hangs using UPM

Miscellaneous

On this page

Still need help?

The Atlassian Community is here for you.

Ask the community

Symptoms

Uploading a JAR just using UPM as described in Updating add-ons by file upload just hangs on the spinner. See image below for example:

No specific error was shown in the logs atlassian-stash.log.

Diagnosis

After inspecting the Javascript on the browser (An example on how to do that for Chrome can be found here), the root cause could be determined.

Cause

The proxy was responding with 413 (Request Entity Too Large). 

Resolution

For the reported issue and proper illustration, the proxy was a nginx. The client_max_body_size parameter was set to 8m whilst the plugin JAR was 22mb large. After setting the ngnix client_max_body_size parameter to 50m the plugin installation was successfully completed.

Last modified on Feb 26, 2016

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.