Hello,
we delete a channel from one of our deployment processes and unfortunately, the whole project becomes unreachable - we are not even able to open that project.
Could you please help us to make that project available again?
There is an error log:
2022-02-09 19:56:19.7513 17620 24 TRACE The resource 'Rollout Release version' was not found.
Nevermore.ResourceNotFoundException: The resource 'Rollout Release version' was not found.
at Octopus.Core.Model.Projects.DeploymentActionCollectionExtensionMethods.GetByIdOrName(IEnumerable`1 actions, String deploymentAction) in C:\BuildAgent\work\c42ca9d2b8233f1c\source\Octopus.Core\Model\Projects\DeploymentActionCollectionExtensionMethods.cs:line 13
at Octopus.Server.Web.Mapping.DeploymentActionPackageNameMapper.MapToNames(Project project, DeploymentActionPackage deploymentActionPackage) in C:\BuildAgent\work\c42ca9d2b8233f1c\source\Octopus.Server\Web\Mapping\DeploymentActionPackageNameMapper.cs:line 56
at Octopus.Server.Web.Mapping.Mappings.DeploymentSettingsToResourceMappings.<ContributeMaps>b__0_1(DeploymentSettings deploymentSettings, DeploymentSettingsResource resource, IResourceMappingContext ctx, IResourceMapper mapper, AllRoutes routes, ILifetimeScope scope) in C:\BuildAgent\work\c42ca9d2b8233f1c\source\Octopus.Server\Web\Mapping\Mappings\DeploymentSettingsToResourceMappings.cs:line 42
at Octopus.Server.Web.Mapping.ResourceMappingBuilder`2.<>c__DisplayClass10_1.<EnrichResource>b__1(TModel m, TResource r) in C:\BuildAgent\work\c42ca9d2b8233f1c\source\Octopus.Server\Web\Mapping\ResourceMappingBuilder.cs:line 101
at Octopus.Server.Web.Mapping.ActionResourceEnricher`2.EnrichResource(TModel model, TResource resource) in C:\BuildAgent\work\c42ca9d2b8233f1c\source\Octopus.Server\Web\Mapping\ActionResourceEnricher.cs:line 17
at Octopus.Server.Web.Mapping.ResourceMapping`2.<>c__DisplayClass15_0.<AfterMapToResourceInternal>b__0(Func`2 f) in C:\BuildAgent\work\c42ca9d2b8233f1c\source\Octopus.Server\Web\Mapping\ResourceMapping.cs:line 96
at Octopus.Server.Extensibility.HostServices.Infrastructure.EnumerableExtensions.ForEach[T](IEnumerable`1 these, Action`1 action)
at Octopus.Server.Web.Mapping.ResourceMapper.ModelToResource(Object model, Object resource, Boolean detailed, IResourceMapping resourceMapping) in C:\BuildAgent\work\c42ca9d2b8233f1c\source\Octopus.Server\Web\Mapping\ResourceMapper.cs:line 206
at Octopus.Server.Web.Mapping.ResourceMapper.<>c__DisplayClass4_0.<ConvertTo>b__0(IResourceMapping mapping) in C:\BuildAgent\work\c42ca9d2b8233f1c\source\Octopus.Server\Web\Mapping\ResourceMapper.cs:line 45
at Octopus.Server.Web.Mapping.ResourceMapper.ConvertTo(Object model, Type resourceType, ResourceMapperMode mode) in C:\BuildAgent\work\c42ca9d2b8233f1c\source\Octopus.Server\Web\Mapping\ResourceMapper.cs:line 42
at Octopus.Server.Web.Mapping.ResourceMapper.ConvertTo[TResource](Object model, ResourceMapperMode mode) in C:\BuildAgent\work\c42ca9d2b8233f1c\source\Octopus.Server\Web\Mapping\ResourceMapper.cs:line 33
at Octopus.Server.Web.Controllers.Projects.GetProjectByIdOrSlugController.GetByIdOrSlug(String id, CancellationToken token) in C:\BuildAgent\work\c42ca9d2b8233f1c\source\Octopus.Server\Web\Controllers\Projects\GetProjectByIdOrSlugController.cs:line 72
at lambda_method(Closure , Object , Object[] )
at Microsoft.Extensions.Internal.ObjectMethodExecutor.Execute(Object target, Object[] parameters)
at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.SyncObjectResultExecutor.Execute(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 where exception was thrown ---
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 where exception was thrown ---
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeFilterPipelineAsync>g__Awaited|19_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Awaited|17_0(ResourceInvoker invoker, Task task, IDisposable scope)
at Microsoft.AspNetCore.Routing.EndpointMiddleware.<Invoke>g__AwaitRequestTask|6_0(Endpoint endpoint, Task requestTask, ILogger logger)
at Microsoft.AspNetCore.Builder.Extensions.MapWhenMiddleware.Invoke(HttpContext context)
at Microsoft.AspNetCore.HttpOverrides.HttpMethodOverrideMiddleware.Invoke(HttpContext context)
at Octopus.Server.Web.UnitOfWorkMiddleware.InvokeAsync(HttpContext httpContext, Lazy`1 unitOfWork, ILog log, IActionContextAccessor actionContextAccessor) in C:\BuildAgent\work\c42ca9d2b8233f1c\source\Octopus.Server\Web\UnitOfWorkMiddleware.cs:line 29
at Octopus.Server.Web.UnitOfWorkMiddleware.InvokeAsync(HttpContext httpContext, Lazy`1 unitOfWork, ILog log, IActionContextAccessor actionContextAccessor) in C:\BuildAgent\work\c42ca9d2b8233f1c\source\Octopus.Server\Web\UnitOfWorkMiddleware.cs:line 41
at Octopus.Server.Web.Middleware.OctopusClientOldVersionWarningMiddleware.InvokeAsync(HttpContext context, IAutomationContext automationContext) in C:\BuildAgent\work\c42ca9d2b8233f1c\source\Octopus.Server\Web\Middleware\OctopusClientOldVersionWarningMiddleware.cs:line 28
at Octopus.Server.Web.Middleware.RequestLoggerMiddleware.InvokeAsync(HttpContext context) in C:\BuildAgent\work\c42ca9d2b8233f1c\source\Octopus.Server\Web\Middleware\RequestLoggerMiddleware.cs:line 33
at Octopus.Server.Web.Middleware.ErrorHandlingMiddleware.InvokeAsync(HttpContext context, CorrelationId correlationId) in C:\BuildAgent\work\c42ca9d2b8233f1c\source\Octopus.Server\Web\Middleware\ErrorHandlingMiddleware.cs:line 82