27 April 2013
Category:
Linux
Comments: Comments Off on plesk migration error

plesk migration error

Today I was migrating  accounts from plesk to plesk using plesk migration manager utility. But it was failing repeatedly. On checking the log %PLESK_ROOT%\PMM\msessions\XXXXXXXXXXXXXXX\Migration.log I found the below error

ForeignMigratorCore.MigratorException: Unable to download dump files to local store. ---> System.Runtime.InteropServices.COMException (0x80070003): The system cannot find the path specified.
Server stack trace:
 at System.DirectoryServices.DirectoryEntry.Bind(Boolean throwIfFail)
 at System.DirectoryServices.DirectoryEntry.Bind()
 at System.DirectoryServices.DirectoryEntry.get_IsContainer()
 at System.DirectoryServices.DirectoryEntries.CheckIsContainer()
 at System.DirectoryServices.DirectoryEntries.Add(String name, String schemaClassName)
 at WinAgent.HttpsRemoteFileSystemProvider.createVDir(Int32 siteId, String vdirName, String vdirTarget)
 at WinAgent.HttpsRemoteFileSystemProvider.PublishDirectory(String login, String password, String vdirName, String targetDirName)
 at WinAgent.RemoteFileSystemProvider.CreateFileSystem(FileSystemCreationArgs args)
 at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Int32 methodPtr, Boolean fExecuteInContext, Object[]& outArgs)
 at System.Runtime.Remoting.Messaging.StackBuilderSink.PrivateProcessMessage(RuntimeMethodHandle md, Object[] args, Object server, Int32 methodPtr, Boolean fExecuteInContext, Object[]& outArgs)
 at System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage msg, Int32 methodPtr, Boolean fExecuteInContext)
Exception rethrown at [0]:
 bei System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
 bei System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
 bei ForeignMigratorCore.IRemoteFileSystemProvider.CreateFileSystem(FileSystemCreationArgs args)
 bei CrossSysAgentSup.WindowsScoutProxy.GetRemoteFileSystem(DumpDescription dumpDesc)
 bei PsaMigrMng90.MigrMng90.DownloadFiles()
 bei PsaMigrMng90.MigrMng90.downloadDump(Boolean deleteDump)
 --- Ende der internen Ausnahmestapeluberwachung ---
 bei PsaMigrMng90.MigrMng90.downloadDump(Boolean deleteDump)
 bei PsaMigrMng90.MigrMng90.Backup(Boolean deleteDump, Boolean skipDownloadDump)
 bei migrmng.App.Main(String[] args)

Solution:

With a little search I found the solution. Edit files PleskMigrationAgent\WINAgentMng.exe.config on the source server and %plesk_dir%\PMM\Migration\migrmng.exe.config on the destination server. Set “Transport” value to “Samba” instead of default “HTTPS” on both servers as shown below:

<add key="Transport" value="Samba" />

Restart Plesk Migration Agent on the source server.

Make sure that Server and Workstation services are running on both servers and that resource C$ on the source server can be accessed from the destination server.

Comments are closed.