Copied to clipboard

Flag this post as spam?

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


  • John Choi 2 posts 72 karma points
    May 01, 2023 @ 06:14
    John Choi
    0

    Umbraco Deploy error

    I am getting the following error when I am using the Umbraco Deploy on my Umbraco on-premise installation(v11).

    I am trying to push my media file to sync it from TEST to STG environment. It says "Invalid path". I am using AWS S3 bucket for

    Has anyone got any idea what this may be caused by?

    enter image description here

    Below is my Umbraco configuration. As you can see I am using the AWS Bucket as the media file storage. enter image description here

    Here's full log for the exception.

    8f3d3bd8 - Executing, 10% 8f3d3bd8 - Executing, 10% - Get remote session 8f3d3bd8 - Executing, 20% - Create manifest on source 8f3d3bd8 - Executing, 25% - Review manifest on target 8f3d3bd8 - Executing, 28% - Negotiate files transfer. 8f3d3bd8 - Executing, 30% - Create package on source 8f3d3bd8 - Executing, 32% - Transfer 3 files. 8f3d3bd8 - Executing, 32% - Complete local session 8f3d3bd8 - Executing, 35% - Process package on target 8f3d3bd8 - Executing, 80% - Exception! 8f3d3bd8 - Executing, 80% - Abort remote session 8f3d3bd8 - Failed, 80% - Total time 00:00:03.502.

    -- EXCEPTION --------------------------------------------------- (proper exception traces at the end of this log) System.InvalidOperationException: Invalid path. Umbraco.Deploy.Core.Exceptions.ProcessArtifactException: Process pass #0 failed for artifact umb://media-file/5sseefzs/my23-outback-awd-touringsidecockpit-location-tanmaster.jpg. On: <umb://media-file/5sseefzs/my23-outback-awd-touringsidecockpit-location-tanmaster.jpg> Umbraco.Deploy.Infrastructure.Exceptions.RemoteApiException: The remote API has thrown an exception. -- UDIS --------------------------------------------------------

    <umb://media-file/5sseefzs/my23-outback-awd-touringsidecockpit-location-tan_master.jpg>

    EXCEPTION:

    Umbraco.Deploy.Infrastructure.Exceptions.RemoteApiException: The remote API has thrown an exception. at Umbraco.Deploy.Infrastructure.Http.DeployHttpClient.SucceedOrThrow(HttpResponseMessage result, CancellationToken token) at Umbraco.Deploy.Infrastructure.Http.DeployHttpClient.SendAsync(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationToken token) at Umbraco.Deploy.Infrastructure.Http.DeployHttpClient.SendAsync(HttpRequestMessage request, CancellationToken token) at Umbraco.Deploy.Infrastructure.Environments.RemoteUmbracoEnvironment.WaitAction(Guid sessionId, JsonSerializerSettings serializerSettings, String action, CancellationToken token) at Umbraco.Deploy.Infrastructure.Environments.RemoteUmbracoEnvironment.ProcessPackageAsync(Guid sessionId, Package package, CancellationToken token) at Umbraco.Deploy.Infrastructure.Work.WorkItems.DeployRestoreWorkItemBase.ProcessPackage(Package package, Nullable1 batchIndex, Nullable1 numberOfBatches) at Umbraco.Deploy.Infrastructure.Work.WorkItems.SourceDeployWorkItem.ExecuteForItems(IEnumerable1 items, Nullable1 batchIndex, Nullable1 numberOfBatches, CancellationToken token) at Umbraco.Deploy.Infrastructure.Work.WorkItems.SourceDeployWorkItem.ExecuteForItems(IEnumerable1 items, Nullable1 batchIndex, Nullable1 numberOfBatches, CancellationToken token) at Umbraco.Deploy.Infrastructure.Work.WorkItems.SourceDeployWorkItem.ExecuteForItems(IEnumerable`1 items, CancellationToken token) at Umbraco.Deploy.Infrastructure.Work.WorkItems.SourceDeployWorkItem.ExecuteAsync(IWorkContext context, CancellationToken token)

    REMOTE: Umbraco.Deploy.Core.Exceptions.ProcessArtifactException: Process pass #0 failed for artifact umb://media-file/5sseefzs/my23-outback-awd-touringsidecockpit-location-tan_master.jpg.

    at Umbraco.Deploy.Infrastructure.Environments.CurrentEnvironment.ProcessArtifacts(IEnumerable`1 arts, IDeployContext context, CancellationToken token) at Umbraco.Deploy.Infrastructure.Environments.CurrentEnvironment.ProcessPackageAsync(Guid sessionId, Package package, CancellationToken token) at Umbraco.Deploy.Infrastructure.Environments.EnvironmentController.<>cDisplayClass130.<<BeginProcessPackage>b0>d.MoveNext() --- End of stack trace from previous location --- at Umbraco.Deploy.Infrastructure.Work.WorkItems.SessionWorkItem.ExecuteAsync(IWorkContext context, CancellationToken token) at Umbraco.Deploy.Infrastructure.Work.WorkItems.SessionWorkItem.WaitIdle() at Umbraco.Deploy.Infrastructure.Environments.EnvironmentController.WaitIdle(SessionActionModel model) at lambdamethod4637(Closure, Object, Object[]) at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.SyncActionResultExecutor.Execute(ActionContext actionContext, IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeActionMethodAsync() at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeNextActionFilterAsync() --- End of stack trace from previous location --- at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeInnerFilterAsync() --- End of stack trace from previous location --- at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextExceptionFilterAsync>g_Awaited|260(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted) --> System.InvalidOperationException: Invalid path.

    at Umbraco.Cms.Core.IO.ShadowFileSystem.AddFile(String path, String physicalPath, Boolean overrideIfExists, Boolean copy) at Umbraco.Cms.Core.IO.ShadowWrapper.AddFile(String path, String physicalPath, Boolean overrideIfExists, Boolean copy) at Umbraco.Deploy.Core.Files.MediaFileType.Set(StringUdi udi, String path, Boolean copy) at Umbraco.Deploy.Core.Environments.TempFileSource.GetFilesAsync(IEnumerable1 udis, IFileTypeCollection fileTypes, CancellationToken token) at Umbraco.Deploy.Infrastructure.Connectors.ServiceConnectors.FileConnectorBase.ProcessOptimized(ArtifactDeployState2 state, IDeployContext context, Int32 pass) at Umbraco.Deploy.Infrastructure.Connectors.ServiceConnectors.FileConnectorBase.Process(ArtifactDeployState2 state, IDeployContext context, Int32 pass) at Umbraco.Deploy.Infrastructure.Connectors.ServiceConnectors.ServiceConnectorBase3.Process(ArtifactDeployState dart, IDeployContext context, Int32 pass) at Umbraco.Deploy.Infrastructure.Environments.CurrentEnvironment.ProcessArtifacts(IEnumerable`1 arts, IDeployContext context, CancellationToken token)

    I couldn't find much info on this on Google search, hopefully, I could get some help from the community.

    Thanks guys!

    John

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

    Continue discussion

Please Sign in or register to post replies