Error in adding website [ cyberpanel v2.3.3 Stable on ubuntu 22.04 / 20.04]

Error in adding website in new cyberpanel that installed on ubuntu 22

Error message: ["The file lock '/usr/local/CyberCP/lib/python3.10/site-packages/tldextract/.suffix_cache/publicsuffix.org-tlds/de84b5ca2167d4c83e38fb162f2e8738.tldextract.json.lock' could not be acquired. [404]"]

Hello @av_admin Happy you are here

Run the command

$ chown -R cyberpanel:cyberpanel /usr/local/CyberCP/lib/python3.10/site-packages/tldextract/.suffix_cache

and try again

after adding your command , I crate website and the error is like before

Error message: ["The file lock '/usr/local/CyberCP/lib/python3.10/site-packages/tldextract/.suffix_cache/publicsuffix.org-tlds/de84b5ca2167d4c83e38fb162f2e8738.tldextract.json.lock' could not be acquired. [404]"]

Try

$ chown cyberpanel:cyberpanel /usr/local/CyberCP/lib/python3.10/site-packages/tldextract/.suffix_cache/publicsuffix.org-tlds/de84b5ca2167d4c83e38fb162f2e8738.tldextract.json.lock

Looks like this patched issue bug fix: https://github.com/usmannasir/cyberpanel/issues/590 · usmannasir/cyberpanel@ec535d0 · GitHub

Are you running the stable version of cyberpanel

1 Like

this is my cyberpanel version

Current Version:  2.3
Build:  3Current Commit:  eb9eafd4daef7b244fb590c830e3fb3a8d5818f6
Latest Version:  2.3
Latest Build:  3Latest Commit:  eb9eafd4daef7b244fb590c830e3fb3a8d5818f6

I used this command to install

then I faced with that error and I run this

so Yes , I used the last version I supposed

this error

Error message: ["The file lock '/usr/local/CyberCP/lib/python3.10/site-packages/tldextract/.suffix_cache/publicsuffix.org-tlds/de84b5ca2167d4c83e38fb162f2e8738.tldextract.json.lock' could not be acquired. [404]"]

I cheek the folder

root@myubuntu:/usr/local/CyberCP/lib/python3.10/site-packages/tldextract/.suffix_cache/publicsuffix.org-tlds# ls
de84b5ca2167d4c83e38fb162f2e8738.tldextract.json.lock

and I edit the file with vi but its empty

I installed the Cyberpanel in Ubuntu 22.04 , Is it the problem ? becuse in changelog of this cp , usman nasir told it will support new ubuntu

Seems to be a file ownership issue but the obvious fix doesnt do the trick. I always recommend Ubuntu 20.04 if you are at liberty of doing a clean install try Ubuntu 20.04 and post your results of same action here

2 Likes

Clean Ubuntu 20.04
Latest cyberpanel

Error message: ["The file lock '/usr/local/CyberCP/lib/python3.8/site-packages/tldextract/.suffix_cache/publicsuffix.org-tlds/de84b5ca2167d4c83e38fb162f2e8738.tldextract.json.lock' could not be acquired. [404]"]

I apply this code:

chown cyberpanel:cyberpanel /usr/local/CyberCP/lib/python3.8/site-packages/tldextract/.suffix_cache/publicsuffix.org-tlds/de84b5ca2167d4c83e38fb162f2e8738.tldextract.json.lock

Nothing changes …