mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2025-11-05 21:05:46 +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'
|
||||
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():
|
||||
|
||||
|
||||
Reference in New Issue
Block a user