• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Fix for the reconfigurator script

the_belette

New Pleskian
I recently had to perform a migration from an old plesk (8) to a brand new one, and switch IP from server to server.
To change all the domains IPs, I used the reconfigurator script : /usr/local/psa/bin/reconfigurator.pl
Unfortunately, if you have special characters in your network interface name (mine was bond0.702), the script will result a parse error.

I found a workaround editing the reconfigurator.pl script, my addr_pattern now goes like this :
addr_pattern=re.compile(r"\s*([\w\.]+):?\s*(\S+)\s+([0-9.]+)");

It could be a nice fix to add for other migration addicts :)
 
Thank you for sharing and cooperation. We will consider it for implementation.
 
Back
Top