diff --git a/cloudAPI/cloudManager.py b/cloudAPI/cloudManager.py index ebb6b5f6b..f27ab4a28 100755 --- a/cloudAPI/cloudManager.py +++ b/cloudAPI/cloudManager.py @@ -2832,6 +2832,9 @@ class CloudManager: command = 'chown cyberpanel:cyberpanel -R /usr/local/CyberCP/lib/python3.8/site-packages/tldextract/.suffix_cache' ProcessUtilities.executioner(command) + command = 'chown cyberpanel:cyberpanel -R /usr/local/CyberCP/lib/python3.10/site-packages/tldextract/.suffix_cache/urls/62bf135d1c2f3d4db4228b9ecaf507a2.tldextract.json.lock' + ProcessUtilities.executioner(command) + ## ipFile = "/etc/cyberpanel/machineIP" @@ -2852,6 +2855,9 @@ class CloudManager: command = 'chown cyberpanel:cyberpanel -R /usr/local/CyberCP/lib/python3.8/site-packages/tldextract/.suffix_cache' ProcessUtilities.executioner(command) + command = 'chown cyberpanel:cyberpanel -R /usr/local/CyberCP/lib/python3.10/site-packages/tldextract/.suffix_cache/urls/62bf135d1c2f3d4db4228b9ecaf507a2.tldextract.json.lock' + ProcessUtilities.executioner(command) + for website in Websites.objects.all(): import tldextract extractDomain = tldextract.extract(website.domain) @@ -2897,6 +2903,9 @@ class CloudManager: command = 'chown cyberpanel:cyberpanel -R /usr/local/CyberCP/lib/python3.8/site-packages/tldextract/.suffix_cache' ProcessUtilities.executioner(command) + command = 'chown cyberpanel:cyberpanel -R /usr/local/CyberCP/lib/python3.10/site-packages/tldextract/.suffix_cache/urls/62bf135d1c2f3d4db4228b9ecaf507a2.tldextract.json.lock' + ProcessUtilities.executioner(command) + from websiteFunctions.models import ChildDomains for website in ChildDomains.objects.all(): diff --git a/mailServer/mailserverManager.py b/mailServer/mailserverManager.py index 66249eb2a..de9662819 100755 --- a/mailServer/mailserverManager.py +++ b/mailServer/mailserverManager.py @@ -665,6 +665,9 @@ class MailServerManager(multi.Thread): command = 'chown cyberpanel:cyberpanel -R /usr/local/CyberCP/lib/python3.8/site-packages/tldextract/.suffix_cache' ProcessUtilities.executioner(command) + command = 'chown cyberpanel:cyberpanel -R /usr/local/CyberCP/lib/python3.10/site-packages/tldextract/.suffix_cache/urls/62bf135d1c2f3d4db4228b9ecaf507a2.tldextract.json.lock' + ProcessUtilities.executioner(command) + import tldextract extractDomain = tldextract.extract(domainName) @@ -730,6 +733,9 @@ class MailServerManager(multi.Thread): command = 'chown cyberpanel:cyberpanel -R /usr/local/CyberCP/lib/python3.8/site-packages/tldextract/.suffix_cache' ProcessUtilities.executioner(command) + command = 'chown cyberpanel:cyberpanel -R /usr/local/CyberCP/lib/python3.10/site-packages/tldextract/.suffix_cache/urls/62bf135d1c2f3d4db4228b9ecaf507a2.tldextract.json.lock' + ProcessUtilities.executioner(command) + import tldextract extractDomain = tldextract.extract(domainName) diff --git a/plogical/dnsUtilities.py b/plogical/dnsUtilities.py index ef8221a7e..8b21196c5 100755 --- a/plogical/dnsUtilities.py +++ b/plogical/dnsUtilities.py @@ -120,6 +120,9 @@ class DNS: command = 'chown cyberpanel:cyberpanel -R /usr/local/CyberCP/lib/python3.8/site-packages/tldextract/.suffix_cache' ProcessUtilities.executioner(command) + command = 'chown cyberpanel:cyberpanel -R /usr/local/CyberCP/lib/python3.10/site-packages/tldextract/.suffix_cache/urls/62bf135d1c2f3d4db4228b9ecaf507a2.tldextract.json.lock' + ProcessUtilities.executioner(command) + import tldextract extractDomain = tldextract.extract(domain) @@ -527,6 +530,9 @@ class DNS: command = 'chown cyberpanel:cyberpanel -R /usr/local/CyberCP/lib/python3.8/site-packages/tldextract/.suffix_cache' ProcessUtilities.executioner(command) + command = 'chown cyberpanel:cyberpanel -R /usr/local/CyberCP/lib/python3.10/site-packages/tldextract/.suffix_cache/urls/62bf135d1c2f3d4db4228b9ecaf507a2.tldextract.json.lock' + ProcessUtilities.executioner(command) + import tldextract extractDomain = tldextract.extract(domain) diff --git a/plogical/mailUtilities.py b/plogical/mailUtilities.py index 2954cfc09..592637aaf 100755 --- a/plogical/mailUtilities.py +++ b/plogical/mailUtilities.py @@ -314,6 +314,9 @@ class mailUtilities: command = 'chown cyberpanel:cyberpanel -R /usr/local/CyberCP/lib/python3.8/site-packages/tldextract/.suffix_cache' ProcessUtilities.executioner(command) + command = 'chown cyberpanel:cyberpanel -R /usr/local/CyberCP/lib/python3.10/site-packages/tldextract/.suffix_cache/urls/62bf135d1c2f3d4db4228b9ecaf507a2.tldextract.json.lock' + ProcessUtilities.executioner(command) + import tldextract actualDomain = virtualHostName