• The ImunifyAV extension is now deprecated and no longer available for installation.
    Existing ImunifyAV installations will continue operating for three months, and after that will automatically be replaced with the new Imunify extension. We recommend that you manually replace any existing ImunifyAV installations with Imunify at your earliest convenience.
  • 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.

Issue Server update fail

poisom

New Pleskian
Server operating system version
AlmaLinux 8.10 (Cerulean Leopard)
Plesk version and microupdate number
Plesk Obsidian 18.0.67 Web Host Edition
Hello,
newbie in Plesk troubleshooting and i need your help please!
Our server stoped updates and very time that the autoupdater (or manually) failed. I get the following logs and i really don't know what to do.
Can you please help me?

Execution failed.
Command: autoinstaller
Arguments: Array
(
[0] => --select-product-id
[1] => plesk
[2] => --select-release-current
[3] => --upgrade-installed-components
)


**** Product prep-install started.
Create user 'psaadm' and group 'psaadm'
Group 'psaadm' already exists
Checking for the user 'psaadm'...
User 'psaadm' already exists
Create group 'swkey-data'
Group 'swkey-data' already exists
Trying to add supplementary group 'swkey-data' for user 'psaadm'... already there
Create group 'psaserv'
Group 'psaserv' already exists
Trying to add supplementary group 'psaserv' for user 'psaadm'... already there
Create group 'psacln'
Group 'psacln' already exists
Trying to got legacy variables... done
Trying to save legacy variables... done
Checking that /usr/local/psa/bin/chrootsh registered as login shell...
/usr/local/psa/bin/chrootsh already registered as a login shell

===> Performing safe prep-install database actions


===> Upgrading database

Trying to start service mariadb... active
done
Trying to establish test connection... connected
done
Trying to find Plesk database psa... version is 018000000
Trying to backup MySQL database... done
MySQL databases are dumped to /var/lib/psa/dumps/mysql.preupgrade.18.0.67-18.0.67.20250208-034617.dump.gz
===> Cumulative APS controller database (apsc) upgrade has been started.
Upgrade or repair for 'apsc' (stage 'prep') is not required
Trying to backup MySQL database... done
MySQL databases are dumped to /var/lib/psa/dumps/mysql.preupgrade.apsc.18.0.67-18.0.67.20250208-034617.dump.gz
===> Cumulative upgrade of APS controller database has been completed.
===> Cumulative Plesk database upgrade (revertable stage) has been started.
Upgrade or repair for 'core' (stage 'prep') is not required
===> Preparing Plesk database upgrade (revertable stage).
Trying to set psa database version to 018000000... done
===> Cumulative upgrade of Plesk database (revertable stage) has been completed.
===> Plesk database scheme upgrade has been started.
/usr/local/psa/bootstrapper/pp18.0.67-bootstrapper/db.php: line 2: ?php: No such file or directory
/usr/local/psa/bootstrapper/pp18.0.67-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.67-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.

/usr/local/psa/bootstrapper/pp18.0.67-bootstrapper/db.php: line 2: ?php: No such file or directory
/usr/local/psa/bootstrapper/pp18.0.67-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.67-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");'
***** problem report *****
===> Plesk database scheme was not upgraded completely.
Launching component and product checkers...
Downloading file report-update: 0%
Downloading file report-update: 100% was finished.
Downloading file pool/PSA_18.0.67_16338/examiners/py_launcher.sh: 0%
Downloading file pool/PSA_18.0.67_16338/examiners/py_launcher.sh: 100% was finished.

ERROR: An error occurred during performing of installation PREP actions (see log for details). Installation was rolled back.
Warning! Not all packages were installed.
Please check if your system services are operable.
Please resolve this issue and try to install the packages again.
Visit https://support.plesk.com/ to search for a solution.
 
In most cases, that error is triggered by corrupted Plesk packages that typically result from interrupted update processes. I would suggest opening a ticket with Plesk support so they review the server and attempt to resolve the issue. To sign-in to support and open a ticket go to:
https://support.plesk.com
If you got your license from a reseller, your reseller should provide support for you. If the reseller does not provide support, here is an alternative to get support directly from Plesk
https://support.plesk.com/hc/en-us/articles/12388090147095-How-to-get-support-directly-from-Plesk

Another alternative would be to restore the server from a recent snapshot if such is available.
 
Back
Top