• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Resolved Plesk Migrator from cPanel

Krydos

New Pleskian
Hi,

I'm migrating from cPanel to Plesk, and it sort of works. I want to migrate using the command line script so I can automatically update databases and do various other things at the time that the account is migrated. Using the webui works, but I can't get the command line script to work for all accounts. Is there some way I can see the working configuration that the webui is using so I can use those same settings in my script?

Thanks
 
This is the error that I get on the command line for one account
Code:
Detailed Migration Status
│
└ warning: Subscription 'example.com' does not exists on source server(s).
  Probably it was removed from the source server since migration was started.
  Migration of that subscription will be skipped.
But the account obviously still exists, and for whatever reason the webui works on that same account. I'd like to know what the webui is doing differently.
 
I may have made some progress. I was looking in

/usr/local/psa/var/modules/panel-migrator/sessions/migration-session/

Like the documents you linked mention, but it looks like the webui migrator is actually using

/usr/local/psa/var/modules/panel-migrator/sessions/20210824152228/

Snooping around in that directory might reveal the settings I'm looking for.
 
So it looks like the webui is using a json formatted migration-list file, and it's tacking these flags to the end of the transfer-accounts command:

--skip-services-checks --skip-infrastructure-checks --skip-main-node-disk-space-checks --skip-license-checks --skip-capability-checks --ignore-migration-list-errors

I switched to json format instead of the tab based file format that generate-migration-list creates, and added those flags to my script, and everything seems to be working now. Hopefully my research will help someone who googles and finds this.

Thanks.
 
Back
Top