- Plesk for Linux
Plesk update has failed with the error below:
CONFIG_TEXT: ***** problem report *****
===> Plesk database scheme was not upgraded completely. See installation log for details.
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.
If you cannot resolve the issue on your own, contact product technical support for assistance.
/var/log/plesk/install/autoinstaller3.loga record similar to the following may be found:
CONFIG_TEXT: Applying migrations from: /usr/local/psa/bootstrapper/pp17.8.11-bootstrapper/migrations/
Migration failed: 17.0.10/xxxxxxx_insert_row_domain_plan_change_to_actions.php
Query failed: INSERT INTO
enabled) VALUES ('domain_plan_change', 'Subscription plan change', 'true')
Unknown column 'descr' in 'field list'
CONFIG_TEXT: Applying migrations from: /opt/psa/bootstrapper/pp17.8.11-bootstrapper/migrations/
Migration failed: 17.6.0/2017-04-04-06-56-59_remove_id_from_actions.php
Query failed: UPDATE log_actions la LEFT JOIN actions a ON la.action_id = a.id SET la.action_name = a.name
Unknown column 'la.action_id' in 'on clause'
Previous migration leftover scripts, which are triggered with bootstrapper within the Plesk update.
Connect to the server via SSH
Create a folder to back up the scripts:
# mkdir /root/360012138933
Move the scripts shown in the error message:
Note: Modify the part of the directory
pp17.8.11of this command accordingly to the path shown in the error message
# mv /usr/local/psa/bootstrapper/pp17.8.11-bootstrapper/migrations/* /root/360012138933/.
# plesk installer update
Run Plesk repair:
# plesk repair installation