Admin-Ahead Community

Linux => Control Panels => Plesk => Topic started by: sachinj on March 23, 2018, 10:43:39 pm

Title: Internal error after entering license key
Post by: sachinj on March 23, 2018, 10:43:39 pm
Internal error after entering license key: Dependent row(s) 'smb_roles.id = 1' isn't found for 'smb_users.roleId = 1'
*************************************************************************************************************************************
After installing Plesk Web Admin and entering license key, the following error message appears after login attempt:

The issue is caused by the fact that libsemanage package is not updated to the latest version before installation.

>Enter the Plesk system database:

Code: [Select]
# plesk db
>Insert the following values:
Code: [Select]
mysql> INSERT INTO smb_roles VALUES (1,'Admin',1,1),(2,'WebMaster',0,1),(3,'Application User',0,1),(4,'Accountant',1,1);
mysql> UPDATE smb_users SET ownerId=1;

>Install psa-selinux package and SELinux policy for Plesk once again:
Code: [Select]
# rpm -Uvh --force http://autoinstall.plesk.com/PSA_17.5.3/extras-rpm-CentOS-7-x86_64/opt/selinux/psa-selinux-17.5.3-cos7.build1705170314.17.noarch.rpm
# semodule -v -i /usr/local/psa/etc/plesk.pp

That's All 8)