Increasing Maximum File Size For Offline Update

Document created by Expert on Dec 21, 2017
Version 1Show Document
  • View in full screen mode

When performing an offline update (particularly to newer or EA versions), you may encounter the following error:

File size too large toast notification

In order to proceed, execute the following commands in the terminal of the instance:

1. vi /srv/www/cgi-bin/vmtadmin.cgi
   In this file, change $CGI::POST_MAX = 1024 * 1000000; to $CGI::POST_MAX = 1024 * 2000000;.

2. vi /srv/www/htdocs/update.js

  In this file, change var maxFileSize = 1024*1000000; to var maxFileSize = 1024*2000000;.

3. service httpd restart


After the service restart is complete, you will be able to upload the file you need. 

6 people found this helpful