[Errno 13] Permission denied: ‘/usr/local/CyberCP/lib/python3.8/site-packages/tldextract/.suffix_cache/publicsuffix.org-tlds/de84b5ca2167d4c83e38fb162f2e8738.tldextract.json.lock’
I cannot create a DKIM key. What is the problem?
[Errno 13] Permission denied: ‘/usr/local/CyberCP/lib/python3.8/site-packages/tldextract/.suffix_cache/publicsuffix.org-tlds/de84b5ca2167d4c83e38fb162f2e8738.tldextract.json.lock’
I cannot create a DKIM key. What is the problem?
same issue on Centos 8
messages says:
opendkim.service: Can’t open PID file /var/run/opendkim/opendkim.pid (yet?) after start: No such file or directory
it does exist though…
Same here Ubuntu 18.04
[Errno 13] Permission denied: ‘/usr/local/CyberCP/lib/python3.8/site-packages/tldextract/.suffix_cache/publicsuffix.org-tlds/de84b5ca2167d4c83e38fb162f2e8738.tldextract.json.lock’
same here with Ubuntu 20.04, yesterday it was ok
Thank you. Problem solved.
Yep, similar problem. Errno 13] Permission denied: ‘/usr/local/CyberCP/lib/python3.8/site-packages/tldextract/.suffix_cache/publicsuffix.org-tlds/de84b5ca2167d4c83e38fb162f2e8738.tldextract.json.lock’
Type your comment> @lowenruh said:
It helped from : https://forums.cyberpanel.net/discussion/4916/cant-genrate-dkim#latest
run :
sh <(curl https://raw.githubusercontent.com/usmannasir/cyberpanel/stable/preUpgrade.sh || wget -O - https://raw.githubusercontent.com/usmannasir/cyberpanel/stable/preUpgrade.sh)
Problem solved here too. Thank you.
The solution is to grant permission to Cyberpanel.
chown -R cyberpanel:cyberpanel /usr/local/CyberCP/lib/python3.8/site-packages/tldextract/.suffix_cache/
Type your comment> @Philipinho said:
The solution is to grant permission to Cyberpanel.
chown -R cyberpanel:cyberpanel /usr/local/CyberCP/lib/python3.8/site-packages/tldextract/.suffix_cache/
That way would be wrong.
This way worked for me on centos 8.
You forgot the sudo.
sudo chown cyberpanel:cyberpanel -R /usr/local/CyberCP/lib/python3.6/site-packages/tldextract/.suffix_cache
I’d like to confirm,
@Master3395 said:
Type your comment> @Philipinho said:The solution is to grant permission to Cyberpanel.
chown -R cyberpanel:cyberpanel /usr/local/CyberCP/lib/python3.8/site-packages/tldextract/.suffix_cache/
That way would be wrong.
This way worked for me on centos 8.
You forgot the sudo.sudo chown cyberpanel:cyberpanel -R /usr/local/CyberCP/lib/python3.6/site-packages/tldextract/.suffix_cache
sudo chown cyberpanel:cyberpanel -R /usr/local/CyberCP/lib/python3.6/site-packages/tldextract/.suffix_cache
This worked for me.
CENT OS
Perfect, chown worked for me too. Thanks Philipinho!
Type your comment> @friederbluemle said:
Perfect, chown worked for me too. Thanks Philipinho!
This should be fixed in 2.1.1 installer and upgrader now, from what I’ve seen.
@Philipinho Thanks, that worked for me as well.
Type your comment> @Master3395 said:
Type your comment> @friederbluemle said:
Perfect, chown worked for me too. Thanks Philipinho!
This should be fixed in 2.1.1 installer and upgrader now, from what I’ve seen.
No. Still failed in 2.1.1 version:
[Errno 13] Permission denied: ‘/usr/local/CyberCP/lib/python3.8/site-packages/tldextract/.suffix_cache/publicsuffix.org-tlds/de84b5ca2167d4c83e38fb162f2e8738.tldextract.json.lock’
Ubuntu 20
Type your comment> @fordiy said:
Type your comment> @Master3395 said:
Type your comment> @friederbluemle said:
Perfect, chown worked for me too. Thanks Philipinho!
This should be fixed in 2.1.1 installer and upgrader now, from what I’ve seen.
No. Still failed in 2.1.1 version:
[Errno 13] Permission denied: ‘/usr/local/CyberCP/lib/python3.8/site-packages/tldextract/.suffix_cache/publicsuffix.org-tlds/de84b5ca2167d4c83e38fb162f2e8738.tldextract.json.lock’Ubuntu 20
Did you try this command?
Or just the chown and after?
sudo chown cyberpanel:cyberpanel -R /usr/local/CyberCP/lib/python3.6/site-packages/tldextract/.suffix_cache
sudo chown cyberpanel:cyberpanel -R /usr/local/CyberCP/lib/python3.8/site-packages/tldextract/.suffix_cache
This worked.
Changed to python3.8 and it worked for me too.
sudo chown cyberpanel:cyberpanel -R /usr/local/CyberCP/lib/python3.8/site-packages/tldextract/.suffix_cache
Thanks!!
Ya’ll are the fucking BOMB! I spent all day trying to figure this out until I read your post!
Hi,
I have the same problem [Errno 13] Permission denied: CyberPanel V2.1.1 on Ubuntu 20.4
I tryed this commant:
sudo chown cyberpanel:cyberpanel -R /usr/local/CyberCP/lib/python3.8/site-packages/tldextract/.suffix_cache
and it work fine! 
Thanks, 23.09.21
Type your comment> @Philipinho said:
The solution is to grant permission to Cyberpanel.
chown -R cyberpanel:cyberpanel /usr/local/CyberCP/lib/python3.8/site-packages/tldextract/.suffix_cache/
Fixed the issue on Ubuntu 20.04 - CyberPanel 2.1 (latest stable).
debes tener acceso root antes.
despus ejecutar.
sudo chown cyberpanel:cyberpanel -R /usr/local/CyberCP/lib/python3.10/site-packages/tldextract/.suffix_cache
se soluciono el problema en ubuntu 22.04.
oh gracias
Guys if this command isn’t working for you, please change the Python version in your command. So the command that worked for me is -
chown -R cyberpanel:cyberpanel /usr/local/CyberCP/lib/python3.10/site-packages/tldextract/.suffix_cache/
And since my error code showed 3.10 python version, I also have to change it in my command. Silly mistake that took 1 hour.
You can resolve in Ubuntu 22.04:
sudo chmod -R 766 /usr/local/CyberCP/lib/python3.10/site-packages/tldextract/.suffix_cache/
In my case my directory was different.
This is error i was getting :
[Errno 13] Permission denied: ‘/usr/local/lib/python3.10/dist-packages/tldextract/.suffix_cache/publicsuffix.org-tlds/de84b5ca2167d4c83e38fb162f2e8738.tldextract.json.lock’
SOLUTION
sudo chmod -R 766 /usr/local/lib/python3.10/dist-packages/tldextract/.suffix_cache/
Using Ubuntu 22.04