• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

general plesk error

A

ALGORYTHM

Guest
any suggestions why i am recieving these on login?

Code:
ERROR  

Unable to query database: Duplicate entry '3137-Contact Name' for key 1

--------------------------------------------------------------------------------

0: /usr/local/psa/admin/plib/class.ActionLog.php:663 psaerror(string "Unable to query database: Duplicate entry '3137-Contact Name' for key 1")
1: /usr/local/psa/admin/plib/class.ActionLog.php:534 LogComponent->submit(integer "3137")
2: /usr/local/psa/admin/plib/class.ActionLog.php:469 ActionLog->submitBuffer_()
3: /usr/local/psa/admin/plib/cmd_loginup.php:318 ActionLog->submit()
4: /usr/local/psa/admin/plib/cmd_loginup.php:182 createSessionAdmin(string "admin", string "ADMINPASS", boolean false)
5: /usr/local/psa/admin/htdocs/login_up.php3:19 createSession(string "admin", string "ADMINPASS")
note i substituted my admin pass. thanks for any help.

edit: it seems to forget all my admin prefs, skins etc too.
 
solution

ok it seems the way to fix this is to turn off all the action logging, reset it and set the action log to record 1 record.

guess it got too large.

that's a bug!
 
Back
Top