Plesk安装配置PSA数据库

问题描述

安装时出现以下错误; 我正在尝试通过:8447 Web端口安装Plesk。首次尝试安装确实失败。服务器已重新启动,并进行了以下尝试。 还删除了安装程序并再次下载。相同错误:

===> Performing safe prep-install database actions

Trying to start service mysql... /usr/sbin/mysqld (pid 1688) is running...
done
Trying to establish test connection... connected
done
===> Installing psa database
Trying to find psa database... DATABASE ERROR!!!
Database psa found,but version undefined

ERROR while trying to find
psa
database

Check the error reason (see log file: /var/log/plesk/install/plesk_18.0.31_installation.log),fix and try again
***** problem report *****
ERROR while trying to find
psa
database
Launching component and product checkers...
Downloading file report-update: 0%
Downloading file report-update: 100% was finished.
Downloading file pool/PSA_18.0.31_4506/examiners/py_launcher.sh: 0%
Downloading file pool/PSA_18.0.31_4506/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.

任何帮助都会很棒。

日志

https://pastebin.com/hyHaxSju

解决方法

mysql -uadmin -p`cat /etc/psa/.psa.shadow` -e"DROP DATABASE psa;" 

删除旧数据库可以解决问题。

SOURCE

相关问答

错误1:Request method ‘DELETE‘ not supported 错误还原:...
错误1:启动docker镜像时报错:Error response from daemon:...
错误1:private field ‘xxx‘ is never assigned 按Alt...
报错如下,通过源不能下载,最后警告pip需升级版本 Requirem...