• 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

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.
 
Back
Top