• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.

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