Sitecore database broken after running Sitecore.UpdateApp 1.2

Sitecore database broken after running Sitecore.UpdateApp 1.2

By admin February 28, 2024

We followed Sitecore documentation for upgrading databases from 8.2 to 10.2. Steps you can find described here.

When we ran the Sitecore.UpdateApp tool, and try to open Sitecore Backend, we got following error:

[ArgumentNullException: The path "{E18F4BC6-46A2-4842-898B-B6613733F06F}" was not found.
[ArgumentNullException: The path "{E18F4BC6-46A2-4842-898B-B6613733F06F}" was not found.

After further research, this item is a /sitecore/layout/Devices item. It sounds that the database is incomplete, or broken.

I discovered that the upgraded solution includes a configuration patch file, which points to another \Data folder, hard-coded path to (C:\sites\local.sc.com\Data), which is not my local website\Data.

So Sitecore could not find the resources (now items as resources) and throws the error. I've commented the configuration file , and now it points to correct website\data folder and the issue is resolved.

Featured Blogs