• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Resolved 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.
 
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.53 this night.
 
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
 
There's no ETA for the release of this bug fix yet. It has relatively low priority considering it is just "cosmetic" and has no actual negative impact. We appreciate everyone's patience and understanding on the matter.

A possible workaround we can suggest at the time being is to try uninstalling and re-installing the "Support SSH Access" extension. I hope that helps.
 
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.

A new version of the extension has been released,

1.2.6 (29 Nov 2024)​

  • The default SSH access period is extended to 14 days to prevent expiration during support ticket investigations.
  • [-] Updates to license keys no longer cause tasks with "Integrity constraint violation" error to appear in task manager. (EXTPLESK-4926)

---

[...] Unable to get key: Repository is not opened [...]
It is another bug; it has not been fixed yet.
 
Hi! The latest release contains the fix for the issue with "Unable to get key: Repository is not opened",

Plesk Obsidian 18.0.68 4, March 2025
[...]
- The /var/log/plesk/panel.log file no longer contains the “Unable to get key: Repository is not opened” errors that were generated daily under specific circumstances. (PPP-59722)
 
Back
Top