• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.
  • 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.

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