Plesk Let's Encrypt: [Errno 2] No such file or directory
  1. Forums
  2. CloudLinux and Control Panels
  3. CloudLinux and Plesk
  1. Mueller
  2. Wednesday, 08 February 2017
  3.  Subscribe via email

I'm working with CL 7.3 and Plesk Onyx 17.0.17. But the Let's Encrypt add-on is not working properly with CageFS:

Starting new HTTPS connection (1):
Waiting for verification...
Cleaning up challenges
Generating key (2048 bits): /usr/local/psa/var/modules/letsencrypt/etc/keys/0001_key-certbot.pem
Creating CSR: /usr/local/psa/var/modules/letsencrypt/etc/csr/0001_csr-certbot.pem
Non-standard path(s), might not work with crontab installed by your operating system package manager
An unexpected error occurred:
OSError: [Errno 2] No such file or directory

This "problem"/misconfiguration is known and Plesk offers an answer to this:

So I added fs.protected_symlinks_allow_gid = id_of_group_linksafe to /etc/sysctl.conf and applied the changes by sysctl -p, but this leads to:

fs.protected_symlinks_create = 1
fs.protected_hardlinks_create = 1
fs.protected_symlinks_allow_gid = 986
fs.protected_hardlinks_allow_gid = 986
fs.proc_super_gid = 1000
sysctl: setting key "fs.protected_symlinks_allow_gid": Invalid argument
fs.protected_symlinks_allow_gid = id_of_group_linksafe
fs.proc_can_see_other_uid = 0

According to this it's still not possible to use Let's Encrypt. Any ideas how to get it running? And no, I won't disable the symlink protection, that was the only solution provided by google ;-)

Thanks in advance for your help!
Rate this post:
  1. 22.03.2017 10:03:56
  2. # 1
Anton Accepted Answer
Posts: 0
Joined: 04.07.2020
I had the same problem, but adding to linksafe did not help:
fs.protected_hardlinks = 1
fs.protected_hardlinks_allow_gid = 987
fs.protected_hardlinks_create = 1
fs.protected_symlinks = 1
fs.protected_symlinks_allow_gid = 987
fs.protected_symlinks_create = 1

# getent group linksafe

It helped only to disable protected_symlinks & hardlinks

# uname -a
Linux <hostname> 3.10.0-427.10.1.lve1.4.7.el7.x86_64 #1 SMP Sat Apr 2 12:09:46 EDT 2016 x86_64 x86_64 x86_64 GNU/Linux
  • Page :
  • 1

There are no replies made for this post yet.
Be one of the first to reply to this post!
Submit Your Response
Upload files or images for this discussion by clicking on the upload button below. Supports gif,jpg,png,zip,rar,pdf
• Insert • Remove Upload Files (Maximum File Size: 2 MB)
To protect the site from bots and unauthorized scripts, we require that you enter the captcha codes below before posting your question.