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:
I suggest that reconfigurator check to be sure mail services are installed before attempting to reconfigure them
STEPS TO REPRODUCE
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
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