• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Resolved Plesk database scheme was not upgraded completely.

Carlos Gallardo

New Pleskian
When performing Plesk 18.0.29 microupdate upgrade i got

===> Plesk database scheme upgrade has been started.
/usr/local/psa/bootstrapper/pp18.0.29-bootstrapper/db.php: line 2: ?php: No such file or directory
/usr/local/psa/bootstrapper/pp18.0.29-bootstrapper/db.php: line 3: syntax error near unexpected token `"The file {$_SERVER['SCRIPT_FILENAME']} is part of Plesk distribution. It cannot be run outside of Plesk environment.\n"'
/usr/local/psa/bootstrapper/pp18.0.29-bootstrapper/db.php: line 3: ` die("The file {$_SERVER['SCRIPT_FILENAME']} is part of Plesk distribution. It cannot be run outside of Plesk environment.\n");'

===> Plesk database scheme was not upgraded completely.
 
Try to fix it with


# plesk installer --select-release-current --reinstall-patch --upgrade-installed-components
# plesk repair installation
 
those options didnt work they trow the same error
foudn the issue, the first line of db.php required /usr/lib64/sw-engine-cli-2.29 which was zero bytes juts cloned from the repo and worked
 
those options didnt work they trow the same error
foudn the issue, the first line of db.php required /usr/lib64/sw-engine-cli-2.29 which was zero bytes juts cloned from the repo and worked

The official Plesk one or are you using one of the third party mirrors? The third party ones (looking at you OVH) seem cause more problems than they're worth.
 
Back
Top