Welcome to the Inedo Forums! Check out the Forums Guide for help getting started.

If you are experiencing any issues with the forum software, please visit the Contact Form on our website and let us know!

Error deleting docker registry



  • I've created a couple docker registries for testing, but cannot delete them. They are a few days old. There are no images associated with them to delete. I have verified that if I create a new registry, I can successfully delete them. I'm not sure why I cannot delete the registry that was created a few days ago.

    Below is the error I'm receiving:

    Created by: 1/18/2018 9:21:05 AM by Admin
    Start date: 1/18/2018 9:21:19 AM
    Completed date: 1/18/2018 9:21:19 AM (0s)
    Status: Error
    Deleting "SGDocker" (id=3) feed...
    Deleting "SGDocker" (id=3) feed (indexed metadata only)...
    Deleting indexed feed metadata...
    Unhandled exception: System.Data.SqlClient.SqlException (0x80131904): 547160Feeds_DeleteFeed80The DELETE statement conflicted with the REFERENCE constraint "FK__Executions__ScheduledTasks". The conflict occurred in database "ProGet", table "dbo.Executions", column 'ScheduledTask_Id'. at System.Data.SqlClient.SqlCommand.<>c.<ExecuteDbDataReaderAsync>b__174_0(Task1 result)
    at System.Threading.Tasks.ContinuationResultTaskFromResultTask`2.InnerInvoke()
    at System.Threading.Tasks.Task.Execute()

    --- End of stack trace from previous location where exception was thrown ---
    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
    at Inedo.Data.DatabaseContext.DbResult.<CreateAsync>d__10.MoveNext()

    --- End of stack trace from previous location where exception was thrown ---
    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
    at Inedo.Data.DatabaseContext.<ExecuteInternalAsync>d__33.MoveNext()

    --- End of stack trace from previous location where exception was thrown ---
    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
    at Inedo.Data.DatabaseContext.<ExecuteNonQueryAsync>d__31.MoveNext()

    --- End of stack trace from previous location where exception was thrown ---
    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
    at Inedo.ProGet.Executions.DeleteFeedExecution.<ExecuteAsync>d__8.MoveNext()

    --- End of stack trace from previous location where exception was thrown ---
    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
    at Inedo.ProGet.Service.Executions.ActiveManualExecution.<ExecuteAsync>d__7.MoveNext()
    ClientConnectionId:7ddcb01c-bb5c-4175-960a-a1564d5a9fb0
    Error Number:50000,State:42,Class:16

    Anyone have any ideas?

    Product: ProGet
    Version: 5.0.7



  • This will be fixed as part of PG-1204 in v5.0.8 - due out early next week.


Log in to reply
 

Inedo Website HomeSupport HomeCode of ConductForums GuideDocumentation