• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Issue Unable to get key: Repository is not opened

So, now it was investigated by Level 1 and 2 support of the Plesk Team. It is a bug. Here comes the final answer:

....
Hello ,

Thank you for waiting

Our developer's team confirmed such behavior to be a bug with ID: PPPM-13853

Currently there is no workaround provided. You may observe changes in our Plesk change log

Thank you for bringing it to our attention.

Should you have additional questions let me know.
Best regards,
Aleksei Khikhich
Technical Support Engineer
Plesk

...

So we have to wait until the Plesk developers will fix it in one of the upcoming updates.
 
Does this happen when registry.xml grows too big? It was 65768 bytes here (just over 64KB), and after removing and retrieving it has just 950 bytes.
 
The bug ID: PPPM-13853 with the result: "Unable to get key: Repository is not opened" is still open since the update Plesk Obsidian 18.0.52.3 this night.
 
It is only a cosmetic "error", so it does not get the highest priority in fixing efforts. You can ignore the error. It also consumes a few Bytes of log length only, nothing to worry about.
 
root@mail:/# mv /etc/sw/keys/registry.xml /root/
root@mail:/# service sw-engine restart
root@mail:/# plesk repair fs -system -y

Checking Linux system files ......................................... [OK]
Error messages: 0; Warnings: 0; Errors resolved: 0

root@mail:/# /usr/local/psa/bin/license --retrieve
Updating Plesk license key: Done
root@mail:/#

They recommended to test the result with the command:
root@mail:/#plesk daily

After doing all these steps. There is an error message in the logs.

Code:
Result of interface implementation call: failure: SQLSTATE[23000]: Integrity constraint violation: 19 UNIQUE constraint failed: Licenses.id, query was: INSERT INTO "Licenses" ("id", "description", "vendor", "nextUpdate") VALUES (?, ?, ?, ?)

Can I ignore this? Or is it fixable by myself?

best regards
 
@Polli The issue is a known bug with ID #EXTPLESK-4926 for the Support SSH Access extension and will be fixed in a future version of the extension. You may look for status updates in relation to this bug in the Plesk Change Log.
The error message itself has no actual impact on the extension or Plesk itself and can be safely ignored.
 
The issue has not been fixed in las update (18.0.2 Update 2)
2024-08-06 00:00:03ERRpanel [637642:66b14b6374918]Unable to get key: Repository is not opened
 
Back
Top