From d3256678becae4aa4ecebb5f3efe6cf087df3904 Mon Sep 17 00:00:00 2001 From: Usman Nasir Date: Mon, 16 May 2022 20:42:23 +0500 Subject: [PATCH 1/2] bug fix: https://community.cyberpanel.net/t/not-allowed-to-move-in-this-path-please-choose-location-inside-home/34335 --- filemanager/static/filemanager/js/fileManager.js | 2 +- static/filemanager/js/fileManager.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/filemanager/static/filemanager/js/fileManager.js b/filemanager/static/filemanager/js/fileManager.js index 0f41ae271..53ae032b1 100755 --- a/filemanager/static/filemanager/js/fileManager.js +++ b/filemanager/static/filemanager/js/fileManager.js @@ -1203,7 +1203,7 @@ fileManager.controller('fileManagerCtrl', function ($scope, $http, FileUploader, $scope.extractionLoading = false; - var completeFileToExtract = $scope.currentRPath + "/" + allFilesAndFolders[0]; + var completeFileToExtract = pathbase + "/" + allFilesAndFolders[0]; var extractionType = ""; if (findFileExtension(completeFileToExtract) == "gz") { diff --git a/static/filemanager/js/fileManager.js b/static/filemanager/js/fileManager.js index 0f41ae271..53ae032b1 100644 --- a/static/filemanager/js/fileManager.js +++ b/static/filemanager/js/fileManager.js @@ -1203,7 +1203,7 @@ fileManager.controller('fileManagerCtrl', function ($scope, $http, FileUploader, $scope.extractionLoading = false; - var completeFileToExtract = $scope.currentRPath + "/" + allFilesAndFolders[0]; + var completeFileToExtract = pathbase + "/" + allFilesAndFolders[0]; var extractionType = ""; if (findFileExtension(completeFileToExtract) == "gz") { From e14ce3e0f9a8185b72f7114e885aa881719b941b Mon Sep 17 00:00:00 2001 From: Usman Nasir Date: Wed, 8 Jun 2022 19:37:55 +0500 Subject: [PATCH 2/2] resolve alma issue, ref https://github.com/usmannasir/cyberpanel/issues/891 --- install/installCyberPanel.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install/installCyberPanel.py b/install/installCyberPanel.py index f0a5a7f1c..60c10cd9c 100755 --- a/install/installCyberPanel.py +++ b/install/installCyberPanel.py @@ -248,7 +248,7 @@ class InstallCyberPanel: subprocess.call(command, shell=True) if self.distro == cent8: - command = 'dnf install lsphp71* lsphp72* lsphp73* lsphp74* lsphp80* --exclude lsphp73-pecl-zip -y' + command = 'dnf install lsphp71* lsphp72* lsphp73* lsphp74* lsphp80* --exclude lsphp73-pecl-zip --exclude *imagick* -y' subprocess.call(command, shell=True) def installMySQL(self, mysql):