• 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 12.5 to Onyx

Steve Tozer

Basic Pleskian
Hello,

Im migrating sites over from a 12.5 server and noticed the Plesk migrator in Onyx doesn't migrate the contents of the Apache & nginx Settings section.

Wondering if this is a bug or if I have missed a setting.
 
Hello, Steve!
See section "What data is transferred" of https://docs.plesk.com/en-US/onyx/migration-guide/introduction.75496/
Also, additional directives are not transferred (reported as internal bug PMT-3072). It is going to be fixed in further Plesk Migrator updates.
Hello,

Thanks for the info that theres a bug reference already. Has this already been looked at or a work around I can do for now to make those settings migrate? I have a server im migrating in a couple of days and this means i'm going to have to add 4 lines of code into 200 domains manually.

Steve
 
If we are talking about workaround for additional directives I could recommend you use after migration hooks to copy missing configs. From Plesk`s side, additional directives placed into file vhost.conf which included by httpd.conf. The trick is to copy vhost.conf from source and run /usr/local/psa/admin/bin/httpdmng --reconfigure-domain <subscription>, as result httpd.conf on domain will include vhost.conf.
So, first, prepare script to copy vhost.conf(vhost_nginx.conf for nginx) into /var/www/vhosts/system/<host>/conf/ and to run /usr/local/psa/admin/bin/httpdmng --reconfigure-domain <domain_name>, the second, add after migration hook:

1. Create directory for scripts, if it does not exist yet:
mkdir -p /usr/local/psa/var/modules/panel-migrator/events/subscription-migration-finished/
2. Put prepared script to created directory and make it executable

Unfortunately, only subscription name could be processed automatically by getting first command line argument, for example:
#!/bin/sh
echo `date` $1 >> /root/finished

So, if you have a lot of subscriptions and minimal number of addons - use this workaround.
If there are a lot of addons, copy vhost.conf files manually and run /usr/local/psa/admin/bin/httpdmng --reconfigure-all

If we`re talking about data from nginx settings and Common Apache settings sections, all should be migrated without any workarounds and if it doesn`t so - let us know, we will continue investigations.
 
@Alina Dmi
When will additional directives settings be migrated in future via the migration tool? Do you have an ETA for the bugfix?
A workarround might for for now, but it takes additional time.

This also brings up the question if additional directives settings are included into the plesk backups. Recovered several times but never actually have had to confirm that those are restored.

Thanks!
 
Hey......
I had some trouble migrating some websites, but now I did these with the new migrator and they are working!!!!
 
Hello! Fix of problem with additional directives will be available in nearest 2-3 weeks, sorry, my mistake.
 
I migrated some domains from a Plesk 12.5 server the day before yesterday and these websites didn't work.
They were even simple html sites.

When reading about this updated migrator I immediately installed it and tried those same domains again.

Yesterday they migrated fine (besides one).
Something must have changed for the better....
 
Hello!
We`ve just published update with fixed migration of additional directives, version 2.9.2
 
Back
Top