I have a great set up with Octopus Deploy 3.1.7 in my Amazon VPC which uses an RDS MS SQL Express instance for its database. The MS SQL instance is SQL Server Express version 11.00.5058.0.v1.
So I put the Octopus Server into maintenance mode and run the 3.2.2.2 installer…
This is what comes out in the logs:
2016-02-09 00:41:17.6561 27 INFO System dashboard loaded in: 121.4809ms 2016-02-09 00:41:56.2488 26 INFO Stopping the Windows Service 2016-02-09 00:41:56.2488 26 INFO The Octopus server is shutting down... 2016-02-09 00:41:56.2488 26 INFO Shutting down the embedded web server 2016-02-09 00:41:56.3740 26 INFO listen://[::]:10943/ 26 Listener stopped 2016-02-09 00:41:56.3740 26 INFO The Windows Service has stopped 2016-02-09 00:42:03.6176 7 INFO Browse your Octopus server at: http://localhost:80/ 2016-02-09 00:42:03.6176 7 INFO The Octopus server is starting: Initializing database and performing migrations... 2016-02-09 00:42:04.4936 7 INFO Beginning database upgrade 2016-02-09 00:42:04.4936 7 INFO Fetching list of already executed scripts. 2016-02-09 00:42:04.8036 7 INFO Executing SQL Server script 'Octopus.Core.UpgradeScripts.Script0021 - Create Channels.sql' 2016-02-09 00:42:04.8556 7 INFO SQL exception has occured in script: 'Octopus.Core.UpgradeScripts.Script0021 - Create Channels.sql' 2016-02-09 00:42:04.8556 7 ERROR Script block number: 0; Block line 1; Message: 2016-02-09 00:42:04.8556 7 ERROR System.Data.SqlClient.SqlException (0x80131904): There is already an object named 'Channel' in the database. at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action``1 wrapCloseInAction) at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose) at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady) at System.Data.SqlClient.SqlDataReader.TryConsumeMetaData() at System.Data.SqlClient.SqlDataReader.get_MetaData() at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString) at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, SqlDataReader ds, Boolean describeParameterEncryptionRequest) at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource``1 completion, Int32 timeout, Task& task, Boolean asyncWrite) at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method) at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method) at DbUp.Support.SqlServer.SqlScriptExecutor.<>c__DisplayClass7.<Execute>b__4(Func``1 dbCommandFactory) at DbUp.Support.SqlServer.SqlScriptExecutor.Execute(SqlScript script, IDictionary``2 variables) ClientConnectionId:7bbc3e67-1ec6-4225-af34-6e85fc91d5e0 Error Number:2714,State:6,Class:16 2016-02-09 00:42:04.8556 7 ERROR Upgrade failed due to an unexpected exception: System.Data.SqlClient.SqlException (0x80131904): There is already an object named 'Channel' in the database. at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action``1 wrapCloseInAction) at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose) at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady) at System.Data.SqlClient.SqlDataReader.TryConsumeMetaData() at System.Data.SqlClient.SqlDataReader.get_MetaData() at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString) at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, SqlDataReader ds, Boolean describeParameterEncryptionRequest) at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource``1 completion, Int32 timeout, Task& task, Boolean asyncWrite) at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method) at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method) at DbUp.Support.SqlServer.SqlScriptExecutor.<>c__DisplayClass7.<Execute>b__4(Func``1 dbCommandFactory) at DbUp.Support.SqlServer.SqlScriptExecutor.Execute(SqlScript script, IDictionary``2 variables) at DbUp.Engine.UpgradeEngine.PerformUpgrade() ClientConnectionId:7bbc3e67-1ec6-4225-af34-6e85fc91d5e0 Error Number:2714,State:6,Class:16 2016-02-09 00:42:04.8656 7 FATAL Database upgrade failed: There is already an object named 'Channel' in the database. Database upgrade logs: Beginning database upgrade Fetching list of already executed scripts. Executing SQL Server script 'Octopus.Core.UpgradeScripts.Script0021 - Create Channels.sql' SQL exception has occured in script: 'Octopus.Core.UpgradeScripts.Script0021 - Create Channels.sql'