Symptoms
An attempt to login to Plesk from CCP after it was upgrade to Plesk Onyx 17.0 version results in error:
Unable to complete the operation, please try again later.
The following error is observed in the web browser debug console:
aps.debug.js:21856 Returned status 500. Message: Internal Server Error: Unable to retrieve the administrator's password.. The running of command ('/usr/local/psa/bin/admin' --show-password) returns 1 instead of 0. Command STDERR: Due to security reasons the option '-show-password' is no longer supported. Use '--get-login-link' to generate a one-time login link.
The version of Plesk in VPS Panel instance inside the VE is lower than 1.300-16:
[root@plesk ~]# head /usr/local/aps/3fead42c-516a-4983-963f-4126bfe63f03/APP-META.xml
<application packaged="2016-12-19T04:55:41" version="2.0" xmlns="http://aps-standard.org/ns/2">
<id>http://www.parallels.com/aps/plesk/panel</id>
<name>Plesk in VPS Panel</name>
<version>1.300</version>
<release>1</release>
<homepage>http://www.parallels.com</homepage>
Cause
The ability to manage a Plesk Onyx installation is provided since Plesk in VPS Panel application version 1.300-16. The problematic VPS should have the Panel instance updated through massUpdatePanelApps task (launched automatically after installing a new version of Plesk in VPS)
Resolution
Check massUpdatePanelApps task errors and resolve them, see the following article for more details:
massUpdatePanelApps task fails: 500 Internal Server Error
In case it is required to run the task manually:
/var/www/pvps/www/parallels-plesk-cloud/bin/updatePvpsPanelApps --update