4

On Step 3 of 1.2.3 in the upgrade guide, I'm getting a System.OutOfMemoryException pointing to Sitecore.Update.Utils.FileUtils.SerializeFile(Stream stream, String location) +137.

Installation wizard installed fine and the UpdateInstallationWizard.aspx page comes up fine.

In /sitecore/admin/packages, it looks like, it tried to write the file "Upgrade from 8.1 rev. 160519 to 8.2 rev. 160720.update", but it's got zero length.

Any ideas?

  • How much memory you have in this system ? – Harsh Baid Sep 27 '16 at 15:53
  • 16gb, 47% used. – EricB Sep 27 '16 at 17:41
  • 1
    Can you post the full stacktrace, please? Might help clue someone in, as to what might be going on. – Mark Cassidy Sep 28 '16 at 8:40
  • have you changed the maxAllowedContentLength setting (1.2.3 step2) ? Also, do you have correct file/folder level permission setup for filesystem ? – scFootsteps Sep 29 '16 at 4:37
  • Also if you can post anything you see related in the log where this exception was captured is helpful – Diego Sep 30 '16 at 16:01
4

You must change the maxAllowedContentLength setting to increase the maximum allowed download size of the update package. To do this:

In a text editor, in the \wwwroot\\Website\sitecore\admin\web.config file, change the maxAllowedContentLength setting from:

<requestLimits maxAllowedContentLength="1048576000" />

to:

<requestLimits maxAllowedContentLength="4194304000" />

for more information check the upgrade document: Upgrade Guide

  • Ahh man, I kept changing this at the root web.config level. – MikeD Nov 30 '16 at 2:18

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.