Copied to clipboard

Flag this post as spam?

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


  • Joe Spadea 2 posts 22 karma points
    Jun 27, 2024 @ 00:34
    Joe Spadea
    0

    The last Umbraco data extraction failed on this environment

    Can anyone shed light on this error message? I've tried everything I can think of to fix this issue. Restarting the environment through the Umbraco Cloud portal does not seem to help. I am running Umbraco 13.4 on Umbraco Cloud.

    Details:

    The last umbraco data extraction failed on this environment This environment encountered an error while trying to extract Umbraco data, during a previous deployment

    The environment contains a deploy-failure marker file, which indicates that extraction of Umbraco data, faulted on a previous deployment. To move forward, ensure that all templates, document types etc. are properly saved, and that you don't have duplicated .courier files in the data folder.

    You can find more help by checking the official troubleshooting documentation or by contacting support

    Error message:

    The process cannot access the file 'C:\local\Temp\UmbracoData\5bab8d8dc8adc734d5139c739ade671095f059c0\NuCache\NuCache.Media.db' because it is being used by another process.
    

    Detailed error message:

    {
    "Date": "2024-06-10T20:29:56.1161258+00:00",
    "Message": "The process cannot access the file 'C:\\local\\Temp\\UmbracoData\\5bab8d8dc8adc734d5139c739ade671095f059c0\\NuCache\\NuCache.Media.db' because it is being used by another process.",
    "Ex": {
        "ClassName": "System.IO.IOException",
        "Message": "The process cannot access the file 'C:\\local\\Temp\\UmbracoData\\5bab8d8dc8adc734d5139c739ade671095f059c0\\NuCache\\NuCache.Media.db' because it is being used by another process.",
        "Data": null,
        "InnerException": null,
        "HelpURL": null,
        "StackTraceString": "   at Microsoft.Win32.SafeHandles.SafeFileHandle.CreateFile(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options)\r\n   at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize, Nullable`1 unixCreateMode)\r\n   at System.IO.Strategies.OSFileStreamStrategy..ctor(String path, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize, Nullable`1 unixCreateMode)\r\n   at System.IO.Strategies.FileStreamHelpers.ChooseStrategyCore(String path, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize, Nullable`1 unixCreateMode)\r\n   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, Int64 preallocationSize)\r\n   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options)\r\n   at CSharpTest.Net.IO.TransactedCompoundFile..ctor(Options options)\r\n   at CSharpTest.Net.Storage.BTreeFileStoreV2..ctor(Options options)\r\n   at CSharpTest.Net.Collections.BPlusTree`2.OptionsV2.CreateStorage()\r\n   at CSharpTest.Net.Collections.BPlusTree`2.NodeCacheBase..ctor(BPlusTreeOptions`2 options)\r\n   at CSharpTest.Net.Collections.BPlusTree`2.NodeCacheNone..ctor(BPlusTreeOptions`2 options)\r\n   at CSharpTest.Net.Collections.BPlusTree`2..ctor(BPlusTreeOptions`2 ioptions)\r\n   at CSharpTest.Net.Collections.BPlusTree`2..ctor(OptionsV2 optionsV2)\r\n   at Umbraco.Cms.Infrastructure.PublishedCache.DataSource.BTree.GetTree(String filepath, Boolean exists, NuCacheSettings settings, ContentDataSerializer contentDataSerializer)\r\n   at Umbraco.Cms.Infrastructure.PublishedCache.PublishedSnapshotService.MainDomRegister()\r\n   at Umbraco.Cms.Core.Runtime.MainDom.Register(Action install, Action release, Int32 weight)\r\n   at Umbraco.Cms.Infrastructure.PublishedCache.PublishedSnapshotService.<EnsureCaches>b__56_0()\r\n   at System.Threading.LazyInitializer.EnsureInitializedCore[T](T& target, Boolean& initialized, Object& syncLock, Func`1 valueFactory)\r\n   at System.Threading.LazyInitializer.EnsureInitialized[T](T& target, Boolean& initialized, Object& syncLock, Func`1 valueFactory)\r\n   at Umbraco.Cms.Infrastructure.PublishedCache.PublishedSnapshotService.EnsureCaches()\r\n   at Umbraco.Cms.Infrastructure.PublishedCache.PublishedSnapshotService.Notify(JsonPayload[] payloads)\r\n   at Umbraco.Cms.Core.Cache.ContentTypeCacheRefresher.<>c__DisplayClass11_0.<Refresh>b__6()\r\n   at Umbraco.Extensions.PublishedModelFactoryExtensions.WithSafeLiveFactoryReset(IPublishedModelFactory factory, Action action)\r\n   at Umbraco.Cms.Core.Cache.ContentTypeCacheRefresher.Refresh(JsonPayload[] payloads)\r\n   at Umbraco.Cms.Infrastructure.Sync.ServerMessengerBase.DeliverLocal[TPayload](ICacheRefresher refresher, TPayload[] payload)\r\n   at Umbraco.Cms.Infrastructure.Sync.ServerMessengerBase.Deliver[TPayload](ICacheRefresher refresher, TPayload[] payload)\r\n   at Umbraco.Cms.Infrastructure.Sync.ServerMessengerBase.QueueRefresh[TPayload](ICacheRefresher refresher, TPayload[] payload)\r\n   at Umbraco.Cms.Core.Cache.DistributedCache.RefreshByPayload[TPayload](Guid refresherGuid, TPayload[] payload)\r\n   at Umbraco.Cms.Core.Cache.DistributedCache.RefreshByPayload[TPayload](Guid refresherGuid, IEnumerable`1 payloads)\r\n   at Umbraco.Extensions.DistributedCacheExtensions.RefreshContentTypeCache(DistributedCache dc, IEnumerable`1 changes)\r\n   at Umbraco.Cms.Core.Cache.ContentTypeChangedDistributedCacheNotificationHandler.Handle(IEnumerable`1 entities)\r\n   at Umbraco.Cms.Core.Cache.DistributedCacheNotificationHandlerBase`2.Handle(IEnumerable`1 notifications)\r\n   at Umbraco.Cms.Core.Events.NotificationHandlerWrapperImpl`1.<>c__DisplayClass0_0`2.<Handle>b__2(IEnumerable`1 handlerNotifications)\r\n   at Umbraco.Cms.Core.Events.EventAggregator.PublishCore[TNotification](IEnumerable`1 allHandlers, IEnumerable`1 notifications)\r\n   at Umbraco.Cms.Core.Events.NotificationHandlerWrapperImpl`1.Handle[TNotification,TNotificationHandler](IEnumerable`1 notifications, ServiceFactory serviceFactory, Action`2 publish)\r\n   at Umbraco.Cms.Core.Events.EventAggregator.PublishNotifications[TNotification,TNotificationHandler](IEnumerable`1 notifications)\r\n   at Umbraco.Cms.Core.Events.EventAggregator.Publish[TNotification,TNotificationHandler](IEnumerable`1 notifications)\r\n   at Umbraco.Deploy.Infrastructure.DeployScopedNotificationPublisher.PublishScopedNotifications(IList`1 notifications)\r\n   at Umbraco.Cms.Core.Events.ScopedNotificationPublisher`1.ScopeExit(Boolean completed)\r\n   at Umbraco.Cms.Core.Scoping.CoreScope.HandleScopedNotifications()\r\n   at Umbraco.Cms.Infrastructure.Scoping.Scope.TryFinally(Action[] actions)",
        "RemoteStackTraceString": null,
        "RemoteStackIndex": 0,
        "ExceptionMethod": null,
        "HResult": -2147024864,
        "Source": "System.Private.CoreLib",
        "WatsonBuckets": null
    },
    "Sender": "Umbraco.Deploy.Infrastructure.Work.WorkItems.DiskReadWorkItem"
    

    }

    Error

    Error Details

  • Joe Spadea 2 posts 22 karma points
    Jul 10, 2024 @ 14:59
    Joe Spadea
    0

    To resolve this issue, Umbraco Cloud Support had me follow this documentation:

    https://docs.umbraco.com/umbraco-cloud/set-up/power-tools/manual-extractions

    To summarize, I used Kudu Debug Console to run CMD echo > deploy within the site/wwwroot/umbraco/Deploy folder. This resolved the error message that was being shown in Umbraco Cloud.

Please Sign in or register to post replies

Write your reply to:

Draft