Sometimes Plesk upgrade fails with the following error.
Failed plesk upgrade : PleskFatalException: Unable to obtain secret key for passwords encryption
To fix the encryption error, please regenerate the encryption key:
/usr/local/psa/admin/sbin/encrypt_keygen
Run Bootstrapper script with the below parameters in order to fix upgrade issues:
/usr/local/psa/bootstrapper/pp11.5.30-bootstrapper/bootstrapper.sh rerun
/usr/local/psa/bootstrapper/pp11.5.30-bootstrapper/bootstrapper.sh repair