Inedo Community Forums Forums
    • Recent
    • Tags
    • Popular
    • Login

    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 migrating NuGet (Quirks) to NuGet

    Scheduled Pinned Locked Moved Support
    proget
    2 Posts 2 Posters 5 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • ? This user is from outside of this forum
      Guest
      last edited by

      I'm getting the following error when i migrate an old NuGet (Quirks) feed to the new NuGet feed.

      Unhandled exception: System.Data.SqlClient.SqlException (0x80131904): 515`16`2`NuGetPackagesV2_CreateOrUpdatePackage`82`Der Wert NULL kann in die PackageHash_SHA1_Bytes-Spalte, ProGet.dbo.NuGetPackageVersionsV2-Tabelle nicht eingefügt werden. Die Spalte lässt NULL-Werte nicht zu. Fehler bei INSERT.
      Die Transaktionsanzahl nach EXECUTE deutet auf eine nicht übereinstimmende Anzahl von BEGIN- und COMMIT-Anweisungen hin. Vorherige Anzahl = 1, aktuelle Anzahl = 0.
         bei System.Data.SqlClient.SqlCommand.<>c.<ExecuteDbDataReaderAsync>b__167_0(Task`1 result)
         bei System.Threading.Tasks.ContinuationResultTaskFromResultTask`2.InnerInvoke()
         bei System.Threading.Tasks.Task.Execute()
      --- Ende der Stapelüberwachung vom vorhergehenden Ort, an dem die Ausnahme ausgelöst wurde ---
         bei System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
         bei System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
         bei Inedo.Data.DatabaseContext.DbResult.<CreateAsync>d__10.MoveNext()
      --- Ende der Stapelüberwachung vom vorhergehenden Ort, an dem die Ausnahme ausgelöst wurde ---
         bei System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
         bei System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
         bei Inedo.Data.DatabaseContext.<ExecuteInternalAsync>d__33.MoveNext()
      --- Ende der Stapelüberwachung vom vorhergehenden Ort, an dem die Ausnahme ausgelöst wurde ---
         bei System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
         bei System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
         bei Inedo.Data.DatabaseContext.<ExecuteNonQueryAsync>d__31.MoveNext()
      --- Ende der Stapelüberwachung vom vorhergehenden Ort, an dem die Ausnahme ausgelöst wurde ---
         bei System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
         bei System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
         bei System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)
         bei Inedo.ProGet.Executions.MigrateNuGetFeedExecution.<ExecuteAsync>d__16.MoveNext()
      --- Ende der Stapelüberwachung vom vorhergehenden Ort, an dem die Ausnahme ausgelöst wurde ---
         bei System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
         bei System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
         bei Inedo.ProGet.Service.Executions.ActiveManualExecution.<ExecuteAsync>d__7.MoveNext()
      Fehlernummer (Error Number):50000,Status (State):42,Klasse (Class):16
      

      Product: ProGet
      Version: 5.0.7

      1 Reply Last reply Reply Quote 0
      • T Offline
        thoven
        last edited by

        The issue is related to packages missing SHA1 hashes in the ProGet databases; at some point packages were able to be added without them. We have updated the migration process internally to perform them if they are missing, and this fix will be included in the next maintenance release. Here is the tracking issue:

        https://inedo.myjetbrains.com/youtrack/issue/PG-1203

        1 Reply Last reply Reply Quote 0

        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

        With your input, this post could be even better 💗

        Register Login
        • 1 / 1
        • First post
          Last post
        Inedo Website Home • Support Home • Code of Conduct • Forums Guide • Documentation