Updating add-ons via UPM file upload hangs
Platform Notice: Data Center Only - This article only applies to Atlassian products on the Data Center platform.
Note that this KB was created for the Data Center version of the product. Data Center KBs for non-Data-Center-specific features may also work for Server versions of the product, however they have not been tested. Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.
*Except Fisheye and Crucible
Summary
Uploading a JAR just using UPM as described in Updating apps by file upload will hang and never complete

Diagnosis
Environment
Check if nginx or some other proxy is being used in the environment
Cause
Some proxies have Max Body parameters and will respond with 413 (Request Entity Too Large) when attempting to upload files larger than that parameter
On nginx, client_max_body_size parameter has default value of 10M.
Solution
Nginx
Increase client_max_body_size parameter to the suitable size. (e.g 20m)
Was this helpful?