mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2025-11-06 05:15:49 +01:00
This commit is contained in:
@@ -2832,6 +2832,9 @@ class CloudManager:
|
|||||||
command = 'chown cyberpanel:cyberpanel -R /usr/local/CyberCP/lib/python3.8/site-packages/tldextract/.suffix_cache'
|
command = 'chown cyberpanel:cyberpanel -R /usr/local/CyberCP/lib/python3.8/site-packages/tldextract/.suffix_cache'
|
||||||
ProcessUtilities.executioner(command)
|
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"
|
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'
|
command = 'chown cyberpanel:cyberpanel -R /usr/local/CyberCP/lib/python3.8/site-packages/tldextract/.suffix_cache'
|
||||||
ProcessUtilities.executioner(command)
|
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():
|
for website in Websites.objects.all():
|
||||||
import tldextract
|
import tldextract
|
||||||
extractDomain = tldextract.extract(website.domain)
|
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'
|
command = 'chown cyberpanel:cyberpanel -R /usr/local/CyberCP/lib/python3.8/site-packages/tldextract/.suffix_cache'
|
||||||
ProcessUtilities.executioner(command)
|
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
|
from websiteFunctions.models import ChildDomains
|
||||||
for website in ChildDomains.objects.all():
|
for website in ChildDomains.objects.all():
|
||||||
|
|
||||||
|
|||||||
@@ -665,6 +665,9 @@ class MailServerManager(multi.Thread):
|
|||||||
command = 'chown cyberpanel:cyberpanel -R /usr/local/CyberCP/lib/python3.8/site-packages/tldextract/.suffix_cache'
|
command = 'chown cyberpanel:cyberpanel -R /usr/local/CyberCP/lib/python3.8/site-packages/tldextract/.suffix_cache'
|
||||||
ProcessUtilities.executioner(command)
|
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
|
import tldextract
|
||||||
|
|
||||||
extractDomain = tldextract.extract(domainName)
|
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'
|
command = 'chown cyberpanel:cyberpanel -R /usr/local/CyberCP/lib/python3.8/site-packages/tldextract/.suffix_cache'
|
||||||
ProcessUtilities.executioner(command)
|
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
|
import tldextract
|
||||||
|
|
||||||
extractDomain = tldextract.extract(domainName)
|
extractDomain = tldextract.extract(domainName)
|
||||||
|
|||||||
@@ -120,6 +120,9 @@ class DNS:
|
|||||||
command = 'chown cyberpanel:cyberpanel -R /usr/local/CyberCP/lib/python3.8/site-packages/tldextract/.suffix_cache'
|
command = 'chown cyberpanel:cyberpanel -R /usr/local/CyberCP/lib/python3.8/site-packages/tldextract/.suffix_cache'
|
||||||
ProcessUtilities.executioner(command)
|
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
|
import tldextract
|
||||||
|
|
||||||
extractDomain = tldextract.extract(domain)
|
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'
|
command = 'chown cyberpanel:cyberpanel -R /usr/local/CyberCP/lib/python3.8/site-packages/tldextract/.suffix_cache'
|
||||||
ProcessUtilities.executioner(command)
|
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
|
import tldextract
|
||||||
|
|
||||||
extractDomain = tldextract.extract(domain)
|
extractDomain = tldextract.extract(domain)
|
||||||
|
|||||||
@@ -314,6 +314,9 @@ class mailUtilities:
|
|||||||
command = 'chown cyberpanel:cyberpanel -R /usr/local/CyberCP/lib/python3.8/site-packages/tldextract/.suffix_cache'
|
command = 'chown cyberpanel:cyberpanel -R /usr/local/CyberCP/lib/python3.8/site-packages/tldextract/.suffix_cache'
|
||||||
ProcessUtilities.executioner(command)
|
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
|
import tldextract
|
||||||
|
|
||||||
actualDomain = virtualHostName
|
actualDomain = virtualHostName
|
||||||
|
|||||||
Reference in New Issue
Block a user