Moving Octopus to a new server

Hi,

I’m trying to move Octopus to another server by doing a backup/restore.

I’ve installed Octopus on the target server but the restore fails complaining about a nuget package:

Match source documents to destination documents or new Ids
Error: ===============================================================================
Error: Could not find type ‘Octopus.Core.Model.NuGet.Feed’ in assembly ‘Octopus.Core, Version=3.16.0.0, Culture=neutral, PublicKeyToken=null’.
Error: Newtonsoft.Json.JsonSerializationException
Error: at Newtonsoft.Json.Serialization.DefaultSerializationBinder.GetTypeFromTypeNameKey(TypeNameKey typeNameKey)
Error: at Newtonsoft.Json.Utilities.ThreadSafeStore2.AddValue(TKey key) Error: at Newtonsoft.Json.Utilities.ThreadSafeStore2.Get(TKey key)
Error: at Octopus.Migrator.TypeConversionBinder.BindToType(String assemblyName, String typeName)
Error: at Octopus.Migrator.ImportProcess.ImportedDocument…ctor(JObject instance, JsonSerializer serializer, IMasterKeyEncryption sourceMasterKeyEncryption)
Error: at Octopus.Migrator.ImportProcess.SourceProviders.ExportedFilesSourceProvider.ReadDocuments
Error: at Octopus.Migrator.ImportProcess.ImportController.IdentifySourceDocuments(ImportContext context)
Error: at Octopus.Migrator.ImportProcess.ImportController.ExecuteWithTimer(ImportContext ctx, String name, Action1 work) Error: at Octopus.Migrator.ImportProcess.ImportController.ImportDocuments(IImportedDocumentSource backup) Error: at Octopus.Migrator.ImportProcess.ImportController.Import(IImportedDocumentSource backup) Error: at Octopus.Migrator.Commands.ImportFilesCommand.Start() Error: at Octopus.Shared.Startup.AbstractCommand.Start(String[] commandLineArguments, ICommandRuntime commandRuntime, OptionSet commonOptions) Error: at Octopus.Shared.Startup.ConsoleHost.Run(Action1 start, Action shutdown)
Error: at Octopus.Shared.Startup.OctopusProgram.Run()

Regards,
Richard M

Hi Richard

Thanks for keeping in touch.

Octopus Import/Export will only work if both instances are running at the same version, as from the log, the importing server is running on version 3.16.0, can you please check the exporting server version?

Also the recommend way to move Octopus to another server can be found from this link: https://octopus.com/docs/administration/moving-your-octopus

Hope this help

Regards
Eddy