• The new Python extension is now available. It allows customers to deploy and manage WSGI-based Python applications on their websites directly from Plesk.
  • The Plesk Mobile apps for iOS and Android and the Plesk Mobile Center extension have been deprecated, and are no longer available for new installations. In Plesk Obsidian 18.0.84, the Plesk Mobile Center extension will be removed from servers during the upgrade, and the Plesk Mobile apps will lose their server management features.
  • The Social Login extension has been deprecated and will be removed in Plesk Obsidian 18.0.84. After that, it will no longer be possible to log in to Plesk with a Google, Facebook, GitHub account, or with a passkey. Plesk usernames and passwords, as well as logging in with a WebPros Account, are not affected.

Mailbox create issue

E

ecellini

Guest
Hello,
When I create a mailbox for a domain Plesk show this error, do you have some idea to resolve this issue?

The Error details:

- Operation failed

Additional Information
<b>Source:</b> Microsoft OLE DB Provider for SQL Server<br/><b>Description:</b> Violation of PRIMARY KEY constraint 'permissionsPrimaryKey'. Cannot insert duplicate key in object 'dbo.permissions'.
---------------------- Debug Info -------------------------------
0: common_func.php3:163
com->execute(string 'INSERT INTO [Permissions] ([id],[permission],[value]) VALUES (2444,N'cp_access',N'true')', NULL null)
1: common_func.php3:163
db_query(string 'INSERT INTO [Permissions] ([id],[permission],[value]) VALUES (2444,'cp_access','true')')
2: common_func.php3:207
db_query_ex(string 'INSERT INTO [Permissions] ([id],[permission],[value]) VALUES ?(VALUES)', array)
3: SQLInsertQuery.php:36
SQLMultiInsertQuery->execute()
4: class.ListTable.php:112
ListTable->endListUpdate()
5: class.aListSQL.php:232
aListSQL->updateList()
6: class.Permissions.php:191
Permissions->updateList()
7: MailName.php:622
Mailname->_onMailNameCPAccessUpdate(object of type MailNameCPAccess)
8: MailNameCPAccess.php:145
MailNameCPAccess->update()
9: mail_name_preferences.php:129
require(string 'C:\Program Files (x86)\Parallels\Plesk\admin\htdocs\domains\mail\mail_name_preferences.php')
10: plesk.php:56


Best Regards,
Emanuele
 
Hello,

Probably you can troubleshoot this error using Microsoft SQL Server Management Studio Express:

http://www.microsoft.com/downloadS/...AE-4BD1-4E3D-94B8-5A0F62BF7796&displaylang=en

Then you can look through psa database in the table permissions and check if there are any values like in the following error string:

db_query(string 'INSERT INTO [Permissions] ([id],[permission],[value]) VALUES (2444,'cp_access','true')')

Most probably there are some old entries left in the database that were not removed to some circumstances.
Also before applying any changes we recommend to dump the Parallels Plesk database.
 
Back
Top