From 536d3da622c2be41877991e3c54bb6703e5bd97d Mon Sep 17 00:00:00 2001 From: Usman Nasir Date: Tue, 12 May 2020 02:49:45 +0500 Subject: [PATCH] some more debugging --- cyberpanel.sh | 4 ++++ install/install.py | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/cyberpanel.sh b/cyberpanel.sh index 6510f3cdc..8bc1b726f 100644 --- a/cyberpanel.sh +++ b/cyberpanel.sh @@ -1015,6 +1015,7 @@ if [[ $debug == "1" ]] ; then /usr/local/CyberPanel/bin/pip3 install --ignore-installed /usr/local/pip-packs/* check_return else + . /usr/local/CyberCP/bin/activate wget https://raw.githubusercontent.com/usmannasir/cyberpanel/$BRANCH_NAME/requirments.txt /usr/local/CyberPanel/bin/pip3 install --ignore-installed -r requirments.txt check_return @@ -1073,6 +1074,8 @@ if [[ $DEV == "ON" ]] ; then fi if [ -f requirements.txt ] && [ -d cyberpanel ] ; then + echo $PWD + sleep 20 rm -rf cyberpanel rm -f requirements.txt fi @@ -1171,6 +1174,7 @@ if [[ $UBUNTU_20 == "False" ]] ; then pip3.6 install --ignore-installed /usr/local/pip-packs/* check_return else + . /usr/local/CyberCP/bin/activate wget https://raw.githubusercontent.com/usmannasir/cyberpanel/$BRANCH_NAME/requirments.txt pip3.6 install --ignore-installed -r requirments.txt check_return diff --git a/install/install.py b/install/install.py index 45dec46de..ed7f9aecf 100755 --- a/install/install.py +++ b/install/install.py @@ -1312,6 +1312,10 @@ imap_folder_list_limit = 0 logging.InstallLog.writeToFile("Starting LSCPD installation..") + print(os.getcwd()) + + time.sleep(30) + os.chdir(self.cwd) if self.distro == ubuntu: