• We value your experience with Plesk during 2025
    Plesk strives to perform even better in 2026. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2025.
    Please take this short survey:

    https://survey.webpros.com/

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