Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Janice Munroe 2 posts 77 karma points
    Jul 25, 2022 @ 21:17
    Janice Munroe
    0

    NuCache.Content.db locked during Azure deploy

    We are specifically using Umbraco version 10.0.1

    I deployed some code changes today to our Azure environment today and got the following exception, restarting the site resolved the issue. But has anyone else run into this ?

    System.IO.IOException: The process cannot access the file 'C:\home\site\wwwroot\umbraco\Data\TEMP\NuCache\NuCache.Content.db' because it is being used by another process. at Microsoft.Win32.SafeHandles.SafeFileHandle.CreateFile(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options) at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize) at System.IO.Strategies.OSFileStreamStrategy..ctor(String path, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize) at System.IO.Strategies.FileStreamHelpers.ChooseStrategy(FileStream fileStream, String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, Int64 preallocationSize) at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options) at CSharpTest.Net.IO.TransactedCompoundFile..ctor(Options options) at CSharpTest.Net.Storage.BTreeFileStoreV2..ctor(Options options) at CSharpTest.Net.Collections.BPlusTree2.OptionsV2.CreateStorage() at CSharpTest.Net.Collections.BPlusTree2.NodeCacheBase..ctor(BPlusTreeOptions2 options) at CSharpTest.Net.Collections.BPlusTree2.NodeCacheNone..ctor(BPlusTreeOptions2 options) at CSharpTest.Net.Collections.BPlusTree2..ctor(BPlusTreeOptions2 ioptions) at CSharpTest.Net.Collections.BPlusTree2..ctor(OptionsV2 optionsV2) at Umbraco.Cms.Infrastructure.PublishedCache.DataSource.BTree.GetTree(String filepath, Boolean exists, NuCacheSettings settings, ContentDataSerializer contentDataSerializer) at Umbraco.Cms.Infrastructure.PublishedCache.PublishedSnapshotService.MainDomRegister() at Umbraco.Cms.Core.Runtime.MainDom.Register(Action install, Action release, Int32 weight) at Umbraco.Cms.Infrastructure.PublishedCache.PublishedSnapshotService.

Please Sign in or register to post replies

Write your reply to:

Draft