Booted up my project after updating to 13.0.1, went to Handle the upgrade, logged in, then clicked the continue button. It runs for a few seconds, but then crashes because The database failed to upgrade. ERROR: The database configuration failed with the following message: The process cannot access the file 'C:\path\to\project\umbraco\Data\TEMP\NuCache\NuCache.Content.db' because it is being used by another process. Please check log file for additional information (can be found in 'LoggingSettings.Directory')
So i power down my iis process, I delete those files, and retry. Upon watching it, the files get created, but then can't be accessed. I'm trying to go from 10.6.1 to 13.0.1.
Has anyone else encountered this issue?
UPDATE: Attempted to go to 12.3.5 and encountered this same issue
Found a solution by renaming the old umbraco folder, the one with Data/TEMP, and retrying from there. Is this the correct approach, or is there another way involving a more thorough fix?
UPDATE: Upon further inspection of umbraco/Data/TEMP/, there were two MainDom_*SomeNumbersHere*.lockfiles. Curious if maybe that is the root issue.
I ran into this same error. I tried renaming the umbraco folder in my project, but that didn't resolve the error in my case. What did work is deleting the file it was complaining about in the error message. I just deleted the whole folder, which follows the format "C:/Users/{user}/AppData/Local/Temp/UmbracoData/{key}." Not sure why another process was trying to read it, but that allowed the upgrade to complete successfully.
Problem with upgrading to Umbraco 13.0.1
Booted up my project after updating to 13.0.1, went to Handle the upgrade, logged in, then clicked the continue button. It runs for a few seconds, but then crashes because
The database failed to upgrade. ERROR: The database configuration failed with the following message: The process cannot access the file 'C:\path\to\project\umbraco\Data\TEMP\NuCache\NuCache.Content.db' because it is being used by another process. Please check log file for additional information (can be found in 'LoggingSettings.Directory')
So i power down my iis process, I delete those files, and retry. Upon watching it, the files get created, but then can't be accessed. I'm trying to go from 10.6.1 to 13.0.1.
Has anyone else encountered this issue?
UPDATE: Attempted to go to 12.3.5 and encountered this same issue
Found a solution by renaming the old
umbraco
folder, the one with Data/TEMP, and retrying from there. Is this the correct approach, or is there another way involving a more thorough fix?UPDATE: Upon further inspection of
umbraco/Data/TEMP/
, there were twoMainDom_*SomeNumbersHere*.lock
files. Curious if maybe that is the root issue.I ran into this same error. I tried renaming the umbraco folder in my project, but that didn't resolve the error in my case. What did work is deleting the file it was complaining about in the error message. I just deleted the whole folder, which follows the format "C:/Users/{user}/AppData/Local/Temp/UmbracoData/{key}." Not sure why another process was trying to read it, but that allowed the upgrade to complete successfully.
Igot the same issue when upgrading from 11 to 12.
In my case I just deleted the entire folder /umbraco and the upgrade worked.
is working on a reply...