Update Issues

You are here:

Out of Memory

This means all the memory allowed by the webhost's application pool was comsumed. There are a few reasons why you might see this error message. Let's look through the possible reasons below. Otherwise check out Need More Help?.

Hosting Environment Limits Memory Usage

Some hosting environments limit your website's use of memory. If you encounter this problem frequently you should consider bumping your plan up to a higher level like a Business class plan.

Application Pool is Not Setup to Recycle Periodically

If you're self-hosting Rock it's a good idea to set your application pool to automatically recycle at a particular time. Scott Forsyth has a blog post with good information on how and why you should change the default setting.

Memory Leak

Although unlikely to occur, there could be a memory leak in some component that caused this issue. Recycling the website's application pool will temporarily fix this, but it would come back again under similar circumstances that caused it to happen the first time.

Customized Xml

Rock needed to update one of the XML files but something prevented it. Below are a few things you can consider. Otherwise check out Need More Help?.

You Previously Customized The File

If you previously customized the file (perhaps adding some rewrite rules to a web.config file) it's possible that it interfered with Rock's update process (called an Xml Document Transform or XDT). When this happens, Rock will leave the .xdt file inside a sub-folder in the App_Data\PackageRestore folder.

You can take a look at the *.rock.xdt file(s) to see what Rock is attempting to update in order to help you determine what might be interfering with the change. If you figure it out, you can carefully edit your XML file (i.e., web.config) to make it look like what Rock was expecting. Then you can re-try the update.

Unable to Replace File

This error can happen if something has prevented a file from being copied, moved, or deleted. There are a few reasons why this might have happened. Otherwise check out Need More Help?.

Filesystem is Full

Perhaps you've run out of filesystem storage. When this happens, all sorts of issues will start happening.

File Permissions

Perhaps you edited a file or replaced it and the original file permissions were changed. When that happens, it's possible that the application pool identity account no longer has r/w access to the file. Fix the permissions and retry the update.

Need More Help?

You can try looking for help in the Community Troubleshooting section. If that doesn't pan out, you can always contact an organization that offers official Rock Support.