Description

This article explains a work-around when doing an upgrade in J-Web with Junos image sizes greater than 256 MB.


Symptoms

Attempts to upgrade to a Junos version with a package size great than 256 MB using J-Web, Maintain >Software > Upload package fails:

alt


During file upload, the message, "Internet Explorer cannot display the webpage', is displayed:

alt


In web-management traceoptions, this message is reported:

Request content length 271522145 is too big. Limit 268435456



In the httpd.log, this is reported:

httpd: 2: Error: "Request Entity Too Large", code 413 for URI "/manage?m[]=software&m[]=upload", file "": Request content length 271522145 is too big. Limit 268435456.
httpd: 2: POST /manage?m[]=software&m[]=upload HTTP/1.1

Solution


This is due to current J-Web limits allowing only file sizes up to 256 MB.

Work-around:  Use the 'Install Package' option in J-Web:  Maintain >Software > Upload package .  This option requires a FTP or HTTP server that the SRX can query to retrieve the file
For more information on this option, refer to Installing Junos OS Upgrades from a Remote Server on the SRX Series Devices .