# /usr/local/psa/bootstrapper/pp10.13.4-bootstrapper/bootstrapper.sh repair
The name of the subfolder 'pp10.13.4-bootstrapper' depends on the version of plesk you are upgrading to.
BTW, it was mentioned a lot of times on this forum. Use search engine