<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Direct upgrade to BuildMaster 6.2 is not supported at this time.]]></title><description><![CDATA[<p dir="auto">Hi Everyone,</p>
<p dir="auto">I am currently upgrading BuildMaster from version 5.7 to 2025 using the following upgrade path:</p>
<p dir="auto">5.7 → 6.1.28 → 6.2 → 2025</p>
<p dir="auto">During the upgrade process, I encountered a SQL error while upgrading from version 6.1.28. Prior to initiating the upgrade, I verified that the Legacy Feature Detector reported zero legacy features, confirming that all prerequisites were met.</p>
<pre><code>** Write SQL Connection String to $DbConnectionString **
  ** Update Database Schema **
   ** Execute inedosql.exe update . --connection-string="$DbConnectionString" in $WorkingDirectory **
    DEBUG: Process: C:\BuildMaster\SqlScripts\inedosql.exe
    DEBUG: Arguments: update . --connection-string="Data Source=VUSQASQLDB04;Initial Catalog=BuildMasterQA;Integrated Security=True"
    DEBUG: Working directory: C:\BuildMaster\SqlScripts
    DEBUG: Ensuring that C:\BuildMaster\SqlScripts exists...
     INFO: Executing C:\BuildMaster\SqlScripts\inedosql.exe...
     INFO: Database uses v2 change script schema; upgrading...
     INFO: Executing untracked script DDL-DML\0000. Untracked\10. Block 6.2 Upgrades.sql...
    ERROR:    at [System.Data](http://System.Data).SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action1 wrapCloseInAction)
    ERROR:    at [System.Data](http://System.Data).SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
    ERROR:    at [System.Data](http://System.Data).SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean&amp; dataReady)
    ERROR:    at [System.Data](http://System.Data).SqlClient.SqlCommand.RunExecuteNonQueryTds(String methodName, Boolean async, Int32 timeout, Boolean asyncWrite)
    ERROR:    at [System.Data](http://System.Data).SqlClient.SqlCommand.InternalExecuteNonQuery(TaskCompletionSource1 completion, String methodName, Boolean sendToPipe, Int32 timeout, Boolean&amp; usedCache, Boolean asyncWrite, Boolean inRetry)
    ERROR:    at [System.Data](http://System.Data).SqlClient.SqlCommand.ExecuteNonQuery()
    ERROR:    at Inedo.DbUpdater.SqlServer.SqlServerDatabaseConnection.ExecuteQueryWithSplitter(String query)
    ERROR:    at Inedo.DbUpdater.SqlServer.SqlServerDatabaseConnection.ExecuteScripts(IEnumerable`1 scripts, ChangeScriptState state)
    ERROR:    at Inedo.DbUpdater.Program.Update(String scriptPath, String connectionString, Boolean force)
    ERROR:    at [Inedo.DbUpdater.Program.Run](http://Inedo.DbUpdater.Program.Run)(ArgList args)
    ERROR:    at Inedo.DbUpdater.Program.Main(String[] args)
    ERROR: Unhandled Exception: [System.Data](http://System.Data).SqlClient.SqlException: Direct upgrade to BuildMaster 6.2 is not supported at this time.
    ERROR: Process exited with code: -532462766 (failure)
</code></pre>
<p dir="auto">To proceed, I executed the upgrade using the command prompt and forced the inedosql script, which allowed the upgrade to complete successfully.</p>
<p dir="auto">However, I would like to understand the root cause of this issue:</p>
<p dir="auto">What could be the reason for encountering a SQL error despite having no legacy features detected?<br />
Are there any underlying database inconsistencies or known limitations associated with this upgrade path that could lead to such behavior?</p>
]]></description><link>https://forums.inedo.com/topic/5743/direct-upgrade-to-buildmaster-6-2-is-not-supported-at-this-time</link><generator>RSS for Node</generator><lastBuildDate>Fri, 08 May 2026 11:41:50 GMT</lastBuildDate><atom:link href="https://forums.inedo.com/topic/5743.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 07 May 2026 13:24:43 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Direct upgrade to BuildMaster 6.2 is not supported at this time. on Fri, 08 May 2026 01:33:50 GMT]]></title><description><![CDATA[<p dir="auto">Hi Everyone,</p>
<p dir="auto">I am currently upgrading BuildMaster from version 5.7 to 2025 using the following upgrade path:</p>
<p dir="auto">5.7 → 6.1.28 → 6.2 → 2025</p>
<p dir="auto">During the upgrade process, I encountered a SQL error while upgrading from version 6.1.28. Prior to initiating the upgrade, I verified that the Legacy Feature Detector reported zero legacy features, confirming that all prerequisites were met.</p>
<pre><code>** Write SQL Connection String to $DbConnectionString **
  ** Update Database Schema **
   ** Execute inedosql.exe update . --connection-string="$DbConnectionString" in $WorkingDirectory **
    DEBUG: Process: C:\BuildMaster\SqlScripts\inedosql.exe
    DEBUG: Arguments: update . --connection-string="Data Source=VUSQASQLDB04;Initial Catalog=BuildMasterQA;Integrated Security=True"
    DEBUG: Working directory: C:\BuildMaster\SqlScripts
    DEBUG: Ensuring that C:\BuildMaster\SqlScripts exists...
     INFO: Executing C:\BuildMaster\SqlScripts\inedosql.exe...
     INFO: Database uses v2 change script schema; upgrading...
     INFO: Executing untracked script DDL-DML\0000. Untracked\10. Block 6.2 Upgrades.sql...
    ERROR:    at [System.Data](http://System.Data).SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action1 wrapCloseInAction)
    ERROR:    at [System.Data](http://System.Data).SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
    ERROR:    at [System.Data](http://System.Data).SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean&amp; dataReady)
    ERROR:    at [System.Data](http://System.Data).SqlClient.SqlCommand.RunExecuteNonQueryTds(String methodName, Boolean async, Int32 timeout, Boolean asyncWrite)
    ERROR:    at [System.Data](http://System.Data).SqlClient.SqlCommand.InternalExecuteNonQuery(TaskCompletionSource1 completion, String methodName, Boolean sendToPipe, Int32 timeout, Boolean&amp; usedCache, Boolean asyncWrite, Boolean inRetry)
    ERROR:    at [System.Data](http://System.Data).SqlClient.SqlCommand.ExecuteNonQuery()
    ERROR:    at Inedo.DbUpdater.SqlServer.SqlServerDatabaseConnection.ExecuteQueryWithSplitter(String query)
    ERROR:    at Inedo.DbUpdater.SqlServer.SqlServerDatabaseConnection.ExecuteScripts(IEnumerable`1 scripts, ChangeScriptState state)
    ERROR:    at Inedo.DbUpdater.Program.Update(String scriptPath, String connectionString, Boolean force)
    ERROR:    at [Inedo.DbUpdater.Program.Run](http://Inedo.DbUpdater.Program.Run)(ArgList args)
    ERROR:    at Inedo.DbUpdater.Program.Main(String[] args)
    ERROR: Unhandled Exception: [System.Data](http://System.Data).SqlClient.SqlException: Direct upgrade to BuildMaster 6.2 is not supported at this time.
    ERROR: Process exited with code: -532462766 (failure)
</code></pre>
<p dir="auto">To proceed, I executed the upgrade using the command prompt and forced the inedosql script, which allowed the upgrade to complete successfully.</p>
<p dir="auto">However, I would like to understand the root cause of this issue:</p>
<p dir="auto">What could be the reason for encountering a SQL error despite having no legacy features detected?<br />
Are there any underlying database inconsistencies or known limitations associated with this upgrade path that could lead to such behavior?</p>
]]></description><link>https://forums.inedo.com/post/19647</link><guid isPermaLink="true">https://forums.inedo.com/post/19647</guid><dc:creator><![CDATA[ybaskar.temp_3339]]></dc:creator><pubDate>Fri, 08 May 2026 01:33:50 GMT</pubDate></item><item><title><![CDATA[Reply to Direct upgrade to BuildMaster 6.2 is not supported at this time. on Fri, 08 May 2026 01:43:08 GMT]]></title><description><![CDATA[<p dir="auto">Hi <a class="plugin-mentions-user plugin-mentions-a" href="https://forums.inedo.com/uid/3913">@ybaskar-temp_3339</a> ,</p>
<p dir="auto">The "root cause" is relatively easy to answer. The error was occurring on the <code>10. Block 6.2 Upgrades.sql</code> script, which is simply this:</p>
<pre><code>IF OBJECT_ID('ActionGroups') IS NOT NULL EXEC sp_executesql N'
   IF NOT EXISTS(SELECT * FROM [Configuration] WHERE [Key_Name] = ''Legacy.NoLegacyFeaturesDetected'' AND [Value_Text] = ''True'')
   RAISERROR(''Cannot upgrade to BuildMaster 6.2 unless "Legacy.NoLegacyFeaturesDetected" in Advanced Settings is "True". This can be done by running the legacy features checker.'', 16, 1)
'
</code></pre>
<p dir="auto">Basically it will simply crash unless <code>Legacy.NoLegacyFeaturesDetected</code> is not set to "True".  The "Legacy Feature detector" should have set that to "True" if there were no legacy features detected... but perhaps it didn't?</p>
<p dir="auto">Since you were able to bypass it, I wouldn't worry about it. In the "worse case", legacy data would have been purged during the delete.</p>
<p dir="auto">Thanks,<br />
Alana</p>
]]></description><link>https://forums.inedo.com/post/19649</link><guid isPermaLink="true">https://forums.inedo.com/post/19649</guid><dc:creator><![CDATA[atripp]]></dc:creator><pubDate>Fri, 08 May 2026 01:43:08 GMT</pubDate></item></channel></rss>