我正在尝试将一台Octopus Deploy服务器从64位win 2012 R2服务器(machine1)移动到较小的x86 windows 2008 R2服务器(machine2)。
我复制了.octobak文件和MasterKey,运行了恢复数据库,得到了错误。
甚至可以将OctopusDeploy备份从x64上的OD v2.6.0.778恢复到x86上的OD 2.6.3.866吗?
2015-03-02 13:02:37.9652 1 INFO 2,497 activity logs imported successfully
2015-03-02 13:02:37.9809 1 INFO Reading the RavenDB export file; this can take some time and may not produce much output, please wait...
2015-03-02 13:05:49.9184 1 FATAL System.AggregateException: One or more errors occurred. ---> System.Security.Cryptography.CryptographicException: Padding is invalid and cannot be removed.
at Microsoft.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at Microsoft.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccess(Task task)
at Octopus.Server.Storage.ImportExport.Importer.<Import>d__0.MoveNext() in y:\work\refs\heads\master\source\Octopus.Server\Storage\ImportExport\Importer.cs:line 65
--- End of inner exception stack trace ---
at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
at Octopus.Server.Commands.RestoreCommand.ImportData() in y:\work\refs\heads\master\source\Octopus.Server\Commands\RestoreCommand.cs:line 147
at Octopus.Server.Commands.RestoreCommand.Start() in y:\work\refs\heads\master\source\Octopus.Server\Commands\RestoreCommand.cs:line 79
at Octopus.Shared.Startup.AbstractCommand.Octopus.Shared.Startup.ICommand.Start(String[] commandLineArguments, ICommandRuntime commandRuntime, OptionSet commonOptions) in y:\work\refs\heads\master\source\Octopus.Shared\Startup\AbstractCommand.cs:line 55
at Octopus.Shared.Startup.OctopusProgram.Start(ICommandRuntime commandRuntime) in y:\work\refs\heads\master\source\Octopus.Shared\Startup\OctopusProgram.cs:line 156
at Octopus.Shared.Startup.ConsoleHost.Run(Action`1 start, Action shutdown) in y:\work\refs\heads\master\source\Octopus.Shared\Startup\ConsoleHost.cs:line 34
---> (Inner Exception #0) System.Security.Cryptography.CryptographicException: Padding is invalid and cannot be removed.
at Microsoft.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at Microsoft.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccess(Task task)
at Octopus.Server.Storage.ImportExport.Importer.<Import>d__0.MoveNext() in y:\work\refs\heads\master\source\Octopus.Server\Storage\ImportExport\Importer.cs:line 65<---
答案 0 :(得分:0)
事实证明它已经恢复了octobak ......尽管有错误。 收到错误后,只需启动OD服务并通过Web UI登录,您将看到“正在执行迁移”。
感谢OD。