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!

    5.1.3 Upgrade Issue

    Scheduled Pinned Locked Moved Support
    installationprogetupdate
    8 Posts 1 Posters 75 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

      Upgrading from 5.0.8 to 5.1.3 using the offline installer and receive the following snippet in the error log:
      Information: Updating database schema...
      Debug: Launching process "C:\Users\myname\AppData\Local\Temp\5\ProGetSetup\SqlScripts\dbupdater.exe" update . "Data Source=myserver; Initial Catalog=ProGet; Integrated Security=True;"...
      Debug: Database uses old change script schema; upgrading...
      Error: Script DDL-DML\0212. 5.1.3\More asset hashes.sql is missing a legacy ID.
      Debug: C:\Program Files\ProGet\WebApp restored.
      Debug: C:\Program Files\ProGet\Service restored.
      Debug: Starting service INEDOPROGETSVC...
      Debug: INEDOPROGETSVC service started.
      Error: System.InvalidOperationException: C:\Users\myname\AppData\Local\Temp\5\ProGetSetup\SqlScripts\dbupdater.exe returned exit code -1
      at Inedo.Installer.Subtasks.RunProcessSubtask.Run()
      at Inedo.Installer.InstallationTask1.RunSubtask(InstallationSubtask subtask) at Inedo.ProGet.Setup.InstallProGetTask.UpdateDatabaseSchema() at Inedo.ProGet.Setup.InstallProGetTask.Upgrade(Version oldVersion) at Inedo.Installer.InstallationTask1.Inedo.Installer.IInstallationTask.RunInternal()

      Product: ProGet
      Version: 5.1.3

      1 Reply Last reply Reply Quote 0
      • ? This user is from outside of this forum
        Guest
        last edited by

        Same error here:

             ** Update Database Schema **
          ** Execute dbupdater.exe update . "$DbConnectionString" in $WorkingDirectory **
           DEBUG: Process: C:\Program Files\ProGet\SqlScripts\dbupdater.exe
           DEBUG: Arguments: update . "Data Source=db01;Initial Catalog=ProGet;Integrated Security=True"
           DEBUG: Working directory: C:\Program Files\ProGet\SqlScripts
           DEBUG: Ensuring that C:\Program Files\ProGet\SqlScripts exists...
            INFO: Executing C:\Program Files\ProGet\SqlScripts\dbupdater.exe...
            INFO: Database uses old change script schema; upgrading...
           ERROR: Script DDL-DML\0212. 5.1.3\More asset hashes.sql is missing a legacy ID.
           ERROR: Process exited with code: -1 (failure)
        
        1 Reply Last reply Reply Quote 0
        • ? This user is from outside of this forum
          Guest
          last edited by

          We'll publish a new installer today that will fix this; I believe you can work around this by upgrading to 5.1.2 first, then 5.1.3. The issue is the database schema change combined with the schema tracking table update happening in the same release.

          1 Reply Last reply Reply Quote 0
          • ? This user is from outside of this forum
            Guest
            last edited by

            The new installers for 5.1.3 have been deployed, so if you re-download you should no longer have this issue.

            1 Reply Last reply Reply Quote 0
            • ? This user is from outside of this forum
              Guest
              last edited by

              Now we got a new error:

              ** Update Database Schema **
                ** Execute dbupdater.exe update . "$DbConnectionString" in $WorkingDirectory **
                 DEBUG: Process: C:\Program Files\ProGet\SqlScripts\dbupdater.exe
                 DEBUG: Arguments: update . "Data Source=db01;Initial Catalog=ProGet;Integrated Security=True"
                 DEBUG: Working directory: C:\Program Files\ProGet\SqlScripts
                 DEBUG: Ensuring that C:\Program Files\ProGet\SqlScripts exists...
                  INFO: Executing C:\Program Files\ProGet\SqlScripts\dbupdater.exe...
                  INFO: Database uses old change script schema; upgrading...
                 ERROR: Unhandled Exception: System.Data.SqlClient.SqlException: Bei der Konvertierung eines varchar-Datentyps in einen datetime-Datentyp liegt der Wert außerhalb des gültigen Bereichs.
                 ERROR: Die Anweisung wurde beendet.
                 ERROR:    at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
              
              1 Reply Last reply Reply Quote 0
              • ? This user is from outside of this forum
                Guest
                last edited by

                I have created a new Database to compare changes.

                It looks like i have an old database with the [__BuildMaster_DbSchemaChanges] table.

                if i create a new DB i get a [__BuildMaster_DbSchemaChanges2] table. tried 5.0.6, 5.0.12 and 5.0.13.

                1 Reply Last reply Reply Quote 0
                • ? This user is from outside of this forum
                  Guest
                  last edited by

                  I've done more tests. So it looks like a problem with our sql server.

                  It is not working on 11.0.7462.6 German, but upgrade was successful on 12.0.5214.6 English.

                  1 Reply Last reply Reply Quote 0
                  • ? This user is from outside of this forum
                    Guest
                    last edited by

                    Thanks for the additional troubleshooting. I suspect this is due to the way we are migrating dates from the old table to the new. I've created an issue to track this here. (It may not be publicly accessible yet, it's a new project and the permissions may not have propagated)

                    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