• 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.

Forwarded to devs Using reconfigurator to change IPs exits with exception when mail services not installed

websavers

Regular Pleskian
Username: websavers

TITLE

Using reconfigurator to change IPs exits with exception when mail services not installed

PRODUCT, VERSION, OPERATING SYSTEM, ARCHITECTURE

CentOS Linux 7.9.2009 | Product: Plesk Obsidian 18.0.32 Update #2

PROBLEM DESCRIPTION

Running `plesk bin reconfigurator ip_map.txt` on a server where no mail services are installed results in:

Bash:
Rebuilding Postfix transport map...
This operation is not supported by the service node.

ERROR:root:Exception occurred
Traceback (most recent call last):
  File "/usr/local/psa/bin/reconfigurator", line 512, in <module>
    main()
  File "/usr/local/psa/bin/reconfigurator", line 504, in main
    reconfigure(mapping)
  File "/usr/local/psa/bin/reconfigurator", line 370, in reconfigure
    execCmd(transport_restore)
  File "/usr/local/psa/bin/reconfigurator", line 94, in execCmd
    raise Exception("%s: exited with non-zero code %s" % (cmd, result))
Exception: /usr/lib64/plesk-9.0/remote_mail_restore/mail_transport_restore: exited with non-zero code 256
exit status 1

I suggest that reconfigurator check to be sure mail services are installed before attempting to reconfigure them :)

STEPS TO REPRODUCE

  • Install Plesk
  • Remove mail services like Postfix and Dovecot (Only msmtp was installed on this server)
  • Run reconfigurator to change IPs
  • Get Exception error above

ACTUAL RESULT

Exception occurs as shown above.

EXPECTED RESULT

reconfigurator completes successfully having skipped mail reconfiguration because mail services are not installed to reconfigure them.

ANY ADDITIONAL INFORMATION



YOUR EXPECTATIONS FROM PLESK SERVICE TEAM

Confirm bug
 
Thank you for the report.
Bug confirmed and submitted as PPPM-12662
 
Back
Top