Skip to content

Instantly share code, notes, and snippets.

@HakanL
Created December 17, 2013 19:29
Show Gist options
  • Save HakanL/8011122 to your computer and use it in GitHub Desktop.
Save HakanL/8011122 to your computer and use it in GitHub Desktop.
Error log
Stopping service...
Waiting for service to stop. Current status: StopPending
Waiting for service to stop. Current status: StopPending
Waiting for service to stop. Current status: StopPending
Waiting for service to stop. Current status: StopPending
Waiting for service to stop. Current status: StopPending
Waiting for service to stop. Current status: Stopped
Service stopped
Importing Octopus 1.6 data from backup: C:\Temp\20131217-112534.octobak
Opening the destination RavenDB database...
You can browse the RavenDB server at: http://localhost:10931/
Creating a new RavenDB database to restore the backup to. Data directory: C:\Users\HLindestaf\AppData\Local\Octopus.Server\Temp\9a34a674-3e92-4e58-a48c-9ed0805a81e9
Importing RavenDB backup from: C:\Temp\20131217-112534.octobak
Begin reading indexes
Done with reading indexes, total: 0
Begin reading documents
Read 1024 documents
Done with reading documents, total: 1177
Begin reading attachments
Importing attachment attachments/tasks-33/output-log
Importing attachment attachments/tasks-34/output-log
Wrote 1,024 (total 1,024 documents to server gzipped to 143 kb
Importing attachment attachments/tasks-35/output-log
Importing attachment attachments/tasks-353/output-log
Importing attachment attachments/tasks-385/output-log
Wrote 153 (total 1,177 documents to server gzipped to 30 kb
Importing attachment attachments/tasks-417/output-log
Importing attachment attachments/tasks-449/output-log
Importing attachment attachments/tasks-450/output-log
Importing attachment attachments/tasks-451/output-log
Importing attachment attachments/tasks-452/output-log
Importing attachment attachments/tasks-453/output-log
Importing attachment attachments/tasks-673/output-log
Importing attachment attachments/tasks-674/output-log
Importing attachment attachments/tasks-675/output-log
Importing attachment attachments/tasks-737/output-log
Importing attachment attachments/tasks-738/output-log
Importing attachment attachments/tasks-739/output-log
Importing attachment attachments/tasks-769/output-log
Importing attachment attachments/tasks-833/output-log
Importing attachment attachments/tasks-1025/output-log
Importing attachment attachments/tasks-1026/output-log
Importing attachment attachments/tasks-1027/output-log
Importing attachment attachments/tasks-1028/output-log
Importing attachment attachments/tasks-1089/output-log
Importing attachment attachments/tasks-1090/output-log
Importing attachment attachments/tasks-1185/output-log
Importing attachment attachments/tasks-2145/output-log
Importing attachment attachments/tasks-2146/output-log
Importing attachment attachments/tasks-2147/output-log
Importing attachment attachments/tasks-2177/output-log
Importing attachment attachments/tasks-2178/output-log
Importing attachment attachments/tasks-2273/output-log
Importing attachment attachments/tasks-2274/output-log
Importing attachment attachments/tasks-2305/output-log
Importing attachment attachments/tasks-2497/output-log
Importing attachment attachments/tasks-2561/output-log
Importing attachment attachments/tasks-2689/output-log
Importing attachment attachments/tasks-2721/output-log
Importing attachment attachments/tasks-2753/output-log
Importing attachment attachments/tasks-2754/output-log
Importing attachment attachments/tasks-2785/output-log
Importing attachment attachments/tasks-2849/output-log
Importing attachment attachments/tasks-2850/output-log
Importing attachment attachments/tasks-2851/output-log
Importing attachment attachments/tasks-2881/output-log
Importing attachment attachments/tasks-3361/output-log
Importing attachment attachments/tasks-3425/output-log
Importing attachment attachments/tasks-3426/output-log
Importing attachment attachments/tasks-3489/output-log
Importing attachment attachments/tasks-3521/output-log
Importing attachment attachments/tasks-3585/output-log
Importing attachment attachments/tasks-3649/output-log
Importing attachment attachments/tasks-3650/output-log
Importing attachment attachments/tasks-3651/output-log
Importing attachment attachments/tasks-3681/output-log
Importing attachment attachments/tasks-3713/output-log
Importing attachment attachments/tasks-3777/output-log
Importing attachment attachments/tasks-3969/output-log
Importing attachment attachments/tasks-4065/output-log
Importing attachment attachments/tasks-4129/output-log
Importing attachment attachments/tasks-4130/output-log
Importing attachment attachments/tasks-4131/output-log
Importing attachment attachments/tasks-4161/output-log
Importing attachment attachments/tasks-4801/output-log
Importing attachment attachments/tasks-4833/output-log
Importing attachment attachments/tasks-4834/output-log
Importing attachment attachments/tasks-4961/output-log
Importing attachment attachments/tasks-5025/output-log
Importing attachment attachments/tasks-5121/output-log
Importing attachment attachments/tasks-5185/output-log
Importing attachment attachments/tasks-5377/output-log
Importing attachment attachments/tasks-5378/output-log
Importing attachment attachments/tasks-5379/output-log
Importing attachment attachments/tasks-5441/output-log
Importing attachment attachments/tasks-5473/output-log
Importing attachment attachments/tasks-5569/output-log
Importing attachment attachments/tasks-5601/output-log
Importing attachment attachments/tasks-5602/output-log
Importing attachment attachments/tasks-5665/output-log
Importing attachment attachments/tasks-5697/output-log
Importing attachment attachments/tasks-5698/output-log
Importing attachment attachments/tasks-5699/output-log
Importing attachment attachments/tasks-5700/output-log
Importing attachment attachments/tasks-5701/output-log
Importing attachment attachments/tasks-5702/output-log
Importing attachment attachments/tasks-5703/output-log
Importing attachment attachments/tasks-5704/output-log
Importing attachment attachments/tasks-5705/output-log
Importing attachment attachments/tasks-6113/output-log
Importing attachment attachments/tasks-6114/output-log
Importing attachment attachments/tasks-6115/output-log
Importing attachment attachments/tasks-6116/output-log
Importing attachment attachments/tasks-6117/output-log
Importing attachment attachments/tasks-6118/output-log
Importing attachment attachments/tasks-6119/output-log
Importing attachment attachments/tasks-6120/output-log
Importing attachment attachments/tasks-6121/output-log
Importing attachment attachments/tasks-6122/output-log
Importing attachment attachments/tasks-7201/output-log
Importing attachment attachments/tasks-7265/output-log
Importing attachment attachments/tasks-7329/output-log
Importing attachment attachments/tasks-7393/output-log
Importing attachment attachments/tasks-7394/output-log
Importing attachment attachments/tasks-7395/output-log
Importing attachment attachments/tasks-7425/output-log
Importing attachment attachments/tasks-7457/output-log
Importing attachment attachments/tasks-7458/output-log
Importing attachment attachments/tasks-7617/output-log
Importing attachment attachments/tasks-7713/output-log
Importing attachment attachments/tasks-7714/output-log
Importing attachment attachments/tasks-7715/output-log
Importing attachment attachments/tasks-7716/output-log
Importing attachment attachments/tasks-7777/output-log
Importing attachment attachments/tasks-7841/output-log
Importing attachment attachments/tasks-7842/output-log
Importing attachment attachments/tasks-7873/output-log
Importing attachment attachments/tasks-7874/output-log
Importing attachment attachments/tasks-7875/output-log
Importing attachment attachments/tasks-7876/output-log
Importing attachment attachments/tasks-7905/output-log
Importing attachment attachments/tasks-7906/output-log
Importing attachment attachments/tasks-7907/output-log
Importing attachment attachments/tasks-7969/output-log
Importing attachment attachments/tasks-7970/output-log
Importing attachment attachments/tasks-7971/output-log
Importing attachment attachments/tasks-7972/output-log
Importing attachment attachments/tasks-7973/output-log
Importing attachment attachments/tasks-8001/output-log
Importing attachment attachments/tasks-8002/output-log
Importing attachment attachments/tasks-8003/output-log
Importing attachment attachments/tasks-8004/output-log
Importing attachment attachments/tasks-8161/output-log
Importing attachment attachments/tasks-8193/output-log
Importing attachment attachments/tasks-8289/output-log
Importing attachment attachments/tasks-8321/output-log
Importing attachment attachments/tasks-8322/output-log
Importing attachment attachments/tasks-8323/output-log
Importing attachment attachments/tasks-8385/output-log
Importing attachment attachments/tasks-8386/output-log
Importing attachment attachments/tasks-8387/output-log
Importing attachment attachments/tasks-8513/output-log
Importing attachment attachments/tasks-8577/output-log
Importing attachment attachments/tasks-8578/output-log
Importing attachment attachments/tasks-8579/output-log
Importing attachment attachments/tasks-8580/output-log
Importing attachment attachments/tasks-8581/output-log
Importing attachment attachments/tasks-8705/output-log
Importing attachment attachments/tasks-8706/output-log
Importing attachment attachments/tasks-8707/output-log
Importing attachment attachments/tasks-8708/output-log
Importing attachment attachments/tasks-8737/output-log
Importing attachment attachments/tasks-8738/output-log
Importing attachment attachments/tasks-8739/output-log
Importing attachment attachments/tasks-8740/output-log
Importing attachment attachments/tasks-8741/output-log
Importing attachment attachments/tasks-8742/output-log
Importing attachment attachments/tasks-8744/output-log
Importing attachment attachments/tasks-8743/output-log
Importing attachment attachments/tasks-8745/output-log
Importing attachment attachments/tasks-8746/output-log
Importing attachment attachments/tasks-8749/output-log
Importing attachment attachments/tasks-8748/output-log
Importing attachment attachments/tasks-8865/output-log
Importing attachment attachments/tasks-8866/output-log
Importing attachment attachments/tasks-8867/output-log
Importing attachment attachments/tasks-8868/output-log
Importing attachment attachments/tasks-8869/output-log
Importing attachment attachments/tasks-8870/output-log
Importing attachment attachments/tasks-8871/output-log
Importing attachment attachments/tasks-8872/output-log
Importing attachment attachments/tasks-8873/output-log
Importing attachment attachments/tasks-8874/output-log
Importing attachment attachments/tasks-8875/output-log
Importing attachment attachments/tasks-8876/output-log
Importing attachment attachments/tasks-8961/output-log
Importing attachment attachments/tasks-9025/output-log
Importing attachment attachments/tasks-9057/output-log
Importing attachment attachments/tasks-9117/output-log
Importing attachment attachments/tasks-9153/output-log
Importing attachment attachments/tasks-9185/output-log
Importing attachment attachments/tasks-9230/output-log
Importing attachment attachments/tasks-9279/output-log
Importing attachment attachments/tasks-9313/output-log
Importing attachment attachments/tasks-9314/output-log
Importing attachment attachments/tasks-9315/output-log
Importing attachment attachments/tasks-9359/output-log
Importing attachment attachments/tasks-9409/output-log
Importing attachment attachments/tasks-9441/output-log
Importing attachment attachments/tasks-9408/output-log
Importing attachment attachments/tasks-9505/output-log
Importing attachment attachments/tasks-9537/output-log
Importing attachment attachments/tasks-9538/output-log
Importing attachment attachments/tasks-9539/output-log
Importing attachment attachments/tasks-9585/output-log
Importing attachment attachments/tasks-9634/output-log
Importing attachment attachments/tasks-9683/output-log
Importing attachment attachments/tasks-9729/output-log
Importing attachment attachments/tasks-9764/output-log
Importing attachment attachments/tasks-9793/output-log
Importing attachment attachments/tasks-9794/output-log
Importing attachment attachments/tasks-9795/output-log
Importing attachment attachments/tasks-9796/output-log
Importing attachment attachments/tasks-9797/output-log
Importing attachment attachments/tasks-9798/output-log
Importing attachment attachments/tasks-9799/output-log
Importing attachment attachments/tasks-9845/output-log
Importing attachment attachments/tasks-9894/output-log
Importing attachment attachments/tasks-9943/output-log
Importing attachment attachments/tasks-9992/output-log
Importing attachment attachments/tasks-10040/output-log
Importing attachment attachments/tasks-10089/output-log
Importing attachment attachments/tasks-10138/output-log
Importing attachment attachments/tasks-10187/output-log
Importing attachment attachments/tasks-10235/output-log
Importing attachment attachments/tasks-10284/output-log
Importing attachment attachments/tasks-10333/output-log
Importing attachment attachments/tasks-10369/output-log
Importing attachment attachments/tasks-10370/output-log
Importing attachment attachments/tasks-10414/output-log
Importing attachment attachments/tasks-10463/output-log
Importing attachment attachments/tasks-10512/output-log
Importing attachment attachments/tasks-10529/output-log
Importing attachment attachments/tasks-10530/output-log
Importing attachment attachments/tasks-10531/output-log
Importing attachment attachments/tasks-10593/output-log
Importing attachment attachments/tasks-10625/output-log
Importing attachment attachments/tasks-10657/output-log
Importing attachment attachments/tasks-10706/output-log
Importing attachment attachments/tasks-10753/output-log
Importing attachment attachments/tasks-10785/output-log
Importing attachment attachments/tasks-10786/output-log
Importing attachment attachments/tasks-10787/output-log
Importing attachment attachments/tasks-10788/output-log
Importing attachment attachments/tasks-10789/output-log
Importing attachment attachments/tasks-10790/output-log
Importing attachment attachments/tasks-10819/output-log
Importing attachment attachments/tasks-10791/output-log
Importing attachment attachments/tasks-10867/output-log
Importing attachment attachments/tasks-10792/output-log
Importing attachment attachments/tasks-10793/output-log
Importing attachment attachments/tasks-10794/output-log
Importing attachment attachments/tasks-10795/output-log
Importing attachment attachments/tasks-10796/output-log
Importing attachment attachments/tasks-10797/output-log
Importing attachment attachments/tasks-10798/output-log
Importing attachment attachments/tasks-10799/output-log
Importing attachment attachments/tasks-10800/output-log
Importing attachment attachments/tasks-10801/output-log
Importing attachment attachments/tasks-10802/output-log
Importing attachment attachments/tasks-10912/output-log
Importing attachment attachments/tasks-10916/output-log
Importing attachment attachments/tasks-10803/output-log
Importing attachment attachments/tasks-10804/output-log
Importing attachment attachments/tasks-10805/output-log
Importing attachment attachments/tasks-10806/output-log
Importing attachment attachments/tasks-10807/output-log
Importing attachment attachments/tasks-10808/output-log
Importing attachment attachments/tasks-10961/output-log
Importing attachment attachments/tasks-10965/output-log
Importing attachment attachments/tasks-10809/output-log
Importing attachment attachments/tasks-10810/output-log
Importing attachment attachments/tasks-10811/output-log
Importing attachment attachments/tasks-10812/output-log
Importing attachment attachments/tasks-10813/output-log
Importing attachment attachments/tasks-10814/output-log
Importing attachment attachments/tasks-11010/output-log
Importing attachment attachments/tasks-11014/output-log
Importing attachment attachments/tasks-10815/output-log
Importing attachment attachments/tasks-10816/output-log
Importing attachment attachments/tasks-11059/output-log
Importing attachment attachments/tasks-11063/output-log
Importing attachment attachments/tasks-11105/output-log
Importing attachment attachments/tasks-11106/output-log
Importing attachment attachments/tasks-11107/output-log
Importing attachment attachments/tasks-11108/output-log
Importing attachment attachments/tasks-11109/output-log
Importing attachment attachments/tasks-11110/output-log
Importing attachment attachments/tasks-11111/output-log
Importing attachment attachments/tasks-11112/output-log
Importing attachment attachments/tasks-11098/output-log
Importing attachment attachments/tasks-11099/output-log
Importing attachment attachments/tasks-11113/output-log
Importing attachment attachments/tasks-11100/output-log
Importing attachment attachments/tasks-11114/output-log
Importing attachment attachments/tasks-11101/output-log
Importing attachment attachments/tasks-11115/output-log
Importing attachment attachments/tasks-11102/output-log
Importing attachment attachments/tasks-11103/output-log
Importing attachment attachments/tasks-11104/output-log
Done with reading attachments, total: 289
Begin reading transformers
Done with reading transformers, total: 0
Imported 1,177 documents and 289 attachments in 10,269 ms
Finished writing all results to server
Done writing to server
Matched: hlindestaf (source ID: users-1, destination ID: users-1)
Stored: kagren (source ID: users-2, destination ID: users-33)
Stored: jhelatissimo (source ID: users-33, destination ID: users-34)
Stored: ryanjohn.velasco (source ID: users-65, destination ID: users-35)
Stored: wewedroid (source ID: users-66, destination ID: users-36)
Group Developers is administrator: false
Stored: Developers (source ID: groups-1, destination ID: teams-1)
Matched: Octopus Administrators (source ID: groups-administrators, destination ID: teams-administrators)
Adding certificate to store
Adding certificate to store
Stored: Teamcity (source ID: feeds-1, destination ID: feeds-1)
Stored: Dev-Live (source ID: DeploymentEnvironments-33, destination ID: Environments-1)
Stored: Prod-Live (source ID: DeploymentEnvironments-34, destination ID: Environments-2)
Stored: Dev-Staging (source ID: DeploymentEnvironments-65, destination ID: Environments-3)
Stored: Prod-Staging (source ID: DeploymentEnvironments-66, destination ID: Environments-4)
Unknown source ID: DeploymentEnvironments-1
Stored: Test1 (source ID: machines-1, destination ID: machines-1)
Stored: OpenTee (source ID: ProjectGroups-1, destination ID: ProjectGroups-33)
Stored: Default (source ID: ProjectGroups-Default, destination ID: ProjectGroups-34)
Stored: Portal (source ID: projects-1, destination ID: projects-1)
-------------------------------------------------------------------------------
A fatal exception occurred
Microsoft.CSharp.RuntimeBinder.RuntimeBinderException: Cannot implicitly convert type 'System.DateTimeOffset' to 'string'
at CallSite.Target(Closure , CallSite , Object )
at System.Dynamic.UpdateDelegates.UpdateAndExecute1[T0,TRet](CallSite site, T0 arg0)
at CallSite.Target(Closure , CallSite , Object )
at Octopus.Server.Legacy.LegacyOctopusImporter.ConvertVariables(Object sourceProject) in c:\TeamCity\buildAgent\work\1116bd9da9e239fd\source\Octopus.Server\Legacy\LegacyOctopusImporter.cs:line 537
at System.Dynamic.UpdateDelegates.UpdateAndExecute2[T0,T1,TRet](CallSite site, T0 arg0, T1 arg1)
at Octopus.Server.Legacy.LegacyOctopusImporter.<DoTheMigration>b__a9(Document source, IDocumentSession session) in c:\TeamCity\buildAgent\work\1116bd9da9e239fd\source\Octopus.Server\Legacy\LegacyOctopusImporter.cs:line 252
at Octopus.Server.Legacy.LegacyOctopusImporter.<>c__DisplayClass141`1.<ImportComplex>b__140(List`1 batch) in c:\TeamCity\buildAgent\work\1116bd9da9e239fd\source\Octopus.Server\Legacy\LegacyOctopusImporter.cs:line 762
at Octopus.Server.Legacy.LegacyOctopusImporter.LoadAll(String prefix, Action`1 paginator) in c:\TeamCity\buildAgent\work\1116bd9da9e239fd\source\Octopus.Server\Legacy\LegacyOctopusImporter.cs:line 834
at Octopus.Server.Legacy.LegacyOctopusImporter.DoTheMigration(Nullable`1 tentaclePort) in c:\TeamCity\buildAgent\work\1116bd9da9e239fd\source\Octopus.Server\Legacy\LegacyOctopusImporter.cs:line 269
at Octopus.Server.Legacy.LegacyOctopusImporter.ImportFromBackup(String ravenDbBackupFilePath, Nullable`1 tentaclePort) in c:\TeamCity\buildAgent\work\1116bd9da9e239fd\source\Octopus.Server\Legacy\LegacyOctopusImporter.cs:line 86
at Octopus.Server.Commands.MigrateCommand.Start() in c:\TeamCity\buildAgent\work\1116bd9da9e239fd\source\Octopus.Server\Commands\MigrateCommand.cs:line 87
at Octopus.Shared.Startup.ConsoleHost.Run(Action`1 start, Action shutdown) in c:\TeamCity\buildAgent\work\1116bd9da9e239fd\source\Octopus.Shared\Startup\ConsoleHost.cs:line 36
-------------------------------------------------------------------------------
Error: The previous command returned a non-zero exit code of: 100
Error: The command that failed was: "C:\Program Files (x86)\Octopus 2.0\Server\Octopus.Server.exe" migrate --instance "OctopusServer" --no-prompt --backup "C:\Temp\20131217-112534.octobak" --tentacle-port "10933"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment