From 1282d683944ae1fa47d1cc0177a700b163a3aac5 Mon Sep 17 00:00:00 2001 From: Nitesh Date: Mon, 15 Dec 2025 05:24:54 +0530 Subject: [PATCH] self-install --- CONTRIBUTING.md | 4 ++-- CPScripts/EasyEngine/EasyEngine-migration.sh | 10 ++++----- CPScripts/setup_php_sessions.sh | 2 +- IncBackups/IncBackupsControl.py | 2 +- .../templates/IncBackups/CreateV2Backup.html | 2 +- .../templates/IncBackups/DeleteV2repo.html | 2 +- .../templates/IncBackups/RestoreV2Backup.html | 2 +- .../IncBackups/ScheduleV2Backup.html | 2 +- .../templates/IncBackups/backupSchedule.html | 2 +- .../templates/IncBackups/createBackup.html | 2 +- .../IncBackups/incrementalDestinations.html | 2 +- .../IncBackups/restoreRemoteBackups.html | 2 +- README.md | 6 ++--- .../templates/WebTerminal/WebTerminal.html | 2 +- .../backup/OneClickBackupSchedule.html | 2 +- backup/templates/backup/backup.html | 2 +- .../templates/backup/backupDestinations.html | 2 +- backup/templates/backup/backupSchedule.html | 2 +- backup/templates/backup/googleDrive.html | 4 ++-- backup/templates/backup/remoteBackups.html | 2 +- backup/templates/backup/restore.html | 2 +- backup/templates/backup/restoreOCBackups.html | 2 +- .../templates/baseTemplate/FileManager.html | 2 +- .../baseTemplate/FileManagerIntegrated.html | 2 +- .../templates/baseTemplate/index.html | 8 +++---- .../templates/baseTemplate/onboarding.html | 2 +- .../baseTemplate/versionManagment.html | 4 ++-- baseTemplate/tests.py | 6 ++--- baseTemplate/views.py | 20 ++++++++--------- .../containerization/notAvailable.html | 2 +- cyberpanel.sh | 12 +++++----- cyberpanel_upgrade.sh | 12 +++++----- cyberpanel_utility.sh | 4 ++-- databases/databaseManager.py | 2 +- dns/templates/dns/addDeleteDNSRecords.html | 2 +- .../dns/addDeleteDNSRecordsCloudFlare.html | 2 +- .../dns/configureDefaultNameServers.html | 2 +- dns/templates/dns/createDNSZone.html | 2 +- dns/templates/dns/createNameServer.html | 2 +- dns/templates/dns/deleteDNSZone.html | 2 +- dns/templates/dns/resetdnsconf.html | 2 +- .../templates/emailMarketing/website.html | 4 ++-- .../templates/emailPremium/EmailDebugger.html | 14 ++++++------ .../templates/emailPremium/SpamAssassin.html | 2 +- .../templates/emailPremium/emailLimits.html | 2 +- .../templates/emailPremium/emailPage.html | 2 +- .../templates/emailPremium/listDomains.html | 2 +- .../templates/emailPremium/mailQueue.html | 2 +- .../templates/emailPremium/policyServer.html | 2 +- emailPremium/views.py | 4 ++-- filemanager/templates/filemanager/index.html | 2 +- .../filemanager/indexIntegrated.html | 2 +- filemanager/views.py | 2 +- firewall/templates/firewall/imunify.html | 2 +- firewall/templates/firewall/imunifyAV.html | 2 +- firewall/templates/firewall/notAvailable.html | 2 +- .../templates/firewall/notAvailableAV.html | 2 +- firewall/templates/firewall/secureSSH.html | 2 +- fix_cyberpanel_install.sh | 4 ++-- guides/DEBIAN_13_INSTALLATION_GUIDE.md | 4 ++-- install/dns_cyberpanel.sh | 2 +- install/install.py | 8 +++---- install/installCyberPanel.py | 2 +- install/venvsetup.sh | 22 +++++++++---------- loginSystem/templates/loginSystem/login.html | 2 +- mailServer/mailserverManager.py | 2 +- .../templates/mailServer/EmailLimits.html | 2 +- .../templates/mailServer/dkimManager.html | 2 +- .../templates/mailServer/emailForwarding.html | 2 +- .../templates/mailServer/listEmails.html | 2 +- manageSSL/templates/manageSSL/manageSSL.html | 2 +- .../templates/manageSSL/sslForHostName.html | 2 +- .../templates/manageSSL/sslForMailServer.html | 2 +- .../manageServices/managePostfix.html | 2 +- .../manageServices/managePowerDNS.html | 2 +- .../manageServices/managePureFtpd.html | 2 +- packages/packagesManager.py | 2 +- plogical/applicationInstaller.py | 2 +- plogical/backupUtilities.py | 4 ++-- plogical/mailUtilities.py | 4 ++-- plogical/modSec.py | 2 +- plogical/upgrade.py | 14 ++++++------ preUpgrade.sh | 4 ++-- scripts/test_ubuntu_24043_support.bat | 2 +- scripts/test_ubuntu_24043_support.sh | 2 +- .../templates/serverLogs/serverMail.html | 2 +- .../serverStatus/litespeedStatus.html | 2 +- testPlugin/OS_COMPATIBILITY.md | 2 +- testPlugin/SECURITY.md | 2 +- testPlugin/install.sh | 2 +- .../templates/testPlugin/plugin_docs.html | 12 +++++----- userManagment/userManager.py | 2 +- .../websiteFunctions/ApacheManager.html | 2 +- .../templates/websiteFunctions/WPCreate.html | 2 +- .../websiteFunctions/createDomain.html | 4 ++-- .../websiteFunctions/createWebsite.html | 2 +- .../websiteFunctions/installWordPress.html | 4 ++-- .../websiteFunctions/launchChild.html | 2 +- .../templates/websiteFunctions/listCron.html | 2 +- .../templates/websiteFunctions/manageGIT.html | 2 +- .../templates/websiteFunctions/sshAccess.html | 4 ++-- .../templates/websiteFunctions/website.html | 4 ++-- websiteFunctions/website.py | 2 +- 103 files changed, 178 insertions(+), 178 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 04834c690..3902509b6 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -50,7 +50,7 @@ CyberPanel uses a structured branching strategy to manage development and releas 2. **Add Upstream Remote** ```bash - git remote add upstream https://github.com/usmannasir/cyberpanel.git + git remote add upstream https://github.com/die2mrw007/cyberpanel.git ``` 3. **Create Development Branch** @@ -226,7 +226,7 @@ CyberPanel follows semantic versioning (MAJOR.MINOR.PATCH): ### **Getting Help** -- 📚 [Documentation](https://cyberpanel.net/KnowledgeBase/) +- 📚 [Documentation](https://raw.githubusercontent.com/die2mrw007/cyberpanel/stable/KnowledgeBase/) - 💬 [Discord](https://discord.gg/g8k8Db3) - 📢 [Forums](https://community.cyberpanel.net) - 📵 [Facebook Group](https://www.facebook.com/groups/cyberpanel) diff --git a/CPScripts/EasyEngine/EasyEngine-migration.sh b/CPScripts/EasyEngine/EasyEngine-migration.sh index 81357b083..1379049f9 100644 --- a/CPScripts/EasyEngine/EasyEngine-migration.sh +++ b/CPScripts/EasyEngine/EasyEngine-migration.sh @@ -16,7 +16,7 @@ owner_group="" set_header() { if [[ -d /opt/easyengine/sites/${domains[$i]}/app/htdocs/wp-content ]] ; then -ssh -o StrictHostKeyChecking=no root@$server_ip -p$server_port -i /root/.ssh/cyberpanel_migration_key "$sudoer wget -q -O /root/header.sh https://raw.githubusercontent.com/usmannasir/cyberpanel/stable/CPScripts/EasyEngine/header.sh ; $sudoer bash /root/header.sh ${domains[$i]}" +ssh -o StrictHostKeyChecking=no root@$server_ip -p$server_port -i /root/.ssh/cyberpanel_migration_key "$sudoer wget -q -O /root/header.sh https://raw.githubusercontent.com/die2mrw007/cyberpanel/stable/CPScripts/EasyEngine/header.sh ; $sudoer bash /root/header.sh ${domains[$i]}" fi } @@ -113,7 +113,7 @@ create_database() { clean_up() { #remove all the files created during operation echo -e "\nstarting clean up process..." -ssh -o StrictHostKeyChecking=no root@$server_ip -p$server_port -i /root/.ssh/cyberpanel_migration_key "$sudoer wget -q -O /root/key.sh https://raw.githubusercontent.com/usmannasir/cyberpanel/stable/CPScripts/EasyEngine/key.sh ; $sudoer bash /root/key.sh disable" +ssh -o StrictHostKeyChecking=no root@$server_ip -p$server_port -i /root/.ssh/cyberpanel_migration_key "$sudoer wget -q -O /root/key.sh https://raw.githubusercontent.com/die2mrw007/cyberpanel/stable/CPScripts/EasyEngine/key.sh ; $sudoer bash /root/key.sh disable" rm -f /root/.ssh/cyberpanel_migration_key rm -rf /opt/easyengine/tmp echo -e "\nclean up successful..." @@ -282,7 +282,7 @@ fi if [[ -f $password ]] ; then #check the input , if it's a file , consider it as key. - ssh -o StrictHostKeyChecking=no $user_name@$server_ip -p$server_port -i $password "$sudoer wget -q -O /root/key.sh https://raw.githubusercontent.com/usmannasir/cyberpanel/stable/CPScripts/EasyEngine/key.sh ; $sudoer bash /root/key.sh enable" + ssh -o StrictHostKeyChecking=no $user_name@$server_ip -p$server_port -i $password "$sudoer wget -q -O /root/key.sh https://raw.githubusercontent.com/die2mrw007/cyberpanel/stable/CPScripts/EasyEngine/key.sh ; $sudoer bash /root/key.sh enable" if [[ $? == "0" ]] ; then ssh -o StrictHostKeyChecking=no $user_name@$server_ip -p$server_port -i $password "$sudoer cat /root/.ssh/cyberpanel_migration_key" > /root/.ssh/cyberpanel_migration_key if [[ $? == "0" ]] ; then @@ -307,7 +307,7 @@ if [[ -f $password ]] ; then fi else #if it's not file , consider it as password - sshpass -p "${password}" ssh -o StrictHostKeyChecking=no $user_name@$server_ip -p$server_port "$sudoer wget -q -O /root/key.sh https://raw.githubusercontent.com/usmannasir/cyberpanel/stable/CPScripts/EasyEngine/key.sh ; $sudoer bash /root/key.sh enable" + sshpass -p "${password}" ssh -o StrictHostKeyChecking=no $user_name@$server_ip -p$server_port "$sudoer wget -q -O /root/key.sh https://raw.githubusercontent.com/die2mrw007/cyberpanel/stable/CPScripts/EasyEngine/key.sh ; $sudoer bash /root/key.sh enable" if [[ $? == "0" ]] ; then sshpass -p "${password}" ssh -o StrictHostKeyChecking=no $user_name@$server_ip -p$server_port "$sudoer cat /root/.ssh/cyberpanel_migration_key" > /root/.ssh/cyberpanel_migration_key chmod 400 /root/.ssh/cyberpanel_migration_key @@ -481,7 +481,7 @@ for (( i=0; i<${tLen}; i++ )); done #for loop to run each function for each domain. -ssh -o StrictHostKeyChecking=no root@$server_ip -p$server_port -i /root/.ssh/cyberpanel_migration_key "$sudoer wget -q -O /root/ext.sh https://raw.githubusercontent.com/usmannasir/cyberpanel/stable/CPScripts/EasyEngine/ext.sh ; $sudoer bash /root/ext.sh" +ssh -o StrictHostKeyChecking=no root@$server_ip -p$server_port -i /root/.ssh/cyberpanel_migration_key "$sudoer wget -q -O /root/ext.sh https://raw.githubusercontent.com/die2mrw007/cyberpanel/stable/CPScripts/EasyEngine/ext.sh ; $sudoer bash /root/ext.sh" #install some php ext show_cyberpanel_site diff --git a/CPScripts/setup_php_sessions.sh b/CPScripts/setup_php_sessions.sh index 119593f27..5a06f51dc 100644 --- a/CPScripts/setup_php_sessions.sh +++ b/CPScripts/setup_php_sessions.sh @@ -2,7 +2,7 @@ ## Author: Michael Ramsey ## Objective Fix session issues on CyberPanel and standardized session paths. # Fixes #430 -# https://github.com/usmannasir/cyberpanel/issues/430 +# https://github.com/die2mrw007/cyberpanel/issues/430 # Create the session path directories and chmod it for security to 1733 like the existing one is. diff --git a/IncBackups/IncBackupsControl.py b/IncBackups/IncBackupsControl.py index 2b4ca6e3b..38558ffd6 100644 --- a/IncBackups/IncBackupsControl.py +++ b/IncBackups/IncBackupsControl.py @@ -845,7 +845,7 @@ Subject: %s logging.statusWriter(self.statusPath, 'It seems restic is not installed, for incremental backups to work ' 'restic must be installed. You can manually install restic using this ' - 'guide -> https://cyberpanel.net/KnowledgeBase/. [5009]', 1) + 'guide -> https://raw.githubusercontent.com/die2mrw007/cyberpanel/stable/KnowledgeBase/. [5009]', 1) pass return 0 diff --git a/IncBackups/templates/IncBackups/CreateV2Backup.html b/IncBackups/templates/IncBackups/CreateV2Backup.html index eeaebff22..34be64ec9 100644 --- a/IncBackups/templates/IncBackups/CreateV2Backup.html +++ b/IncBackups/templates/IncBackups/CreateV2Backup.html @@ -13,7 +13,7 @@
-

{% trans "Create V2 Backup" %} - {% trans "Create V2 Backup" %} - {% trans "Backup Docs" %}

diff --git a/IncBackups/templates/IncBackups/DeleteV2repo.html b/IncBackups/templates/IncBackups/DeleteV2repo.html index 02a0a4c0a..8c88191b0 100644 --- a/IncBackups/templates/IncBackups/DeleteV2repo.html +++ b/IncBackups/templates/IncBackups/DeleteV2repo.html @@ -14,7 +14,7 @@
-

{% trans "Delete V2 Repo" %} - {% trans "Delete V2 Repo" %} - {% trans "Backup Docs" %}

diff --git a/IncBackups/templates/IncBackups/RestoreV2Backup.html b/IncBackups/templates/IncBackups/RestoreV2Backup.html index ec15c8f02..6d0878800 100644 --- a/IncBackups/templates/IncBackups/RestoreV2Backup.html +++ b/IncBackups/templates/IncBackups/RestoreV2Backup.html @@ -14,7 +14,7 @@ {% if BackupStat %}
-

{% trans "Restore V2 Backups" %} - {% trans "Restore V2 Backups" %} - {% trans "Backup Docs" %}

diff --git a/IncBackups/templates/IncBackups/ScheduleV2Backup.html b/IncBackups/templates/IncBackups/ScheduleV2Backup.html index 6fc22d0e7..2d2f96022 100644 --- a/IncBackups/templates/IncBackups/ScheduleV2Backup.html +++ b/IncBackups/templates/IncBackups/ScheduleV2Backup.html @@ -14,7 +14,7 @@ {% if BackupStat %}
-

{% trans "Schedule V2 Backup" %} - {% trans "Schedule V2 Backup" %} - {% trans "Backup Docs" %}

diff --git a/IncBackups/templates/IncBackups/backupSchedule.html b/IncBackups/templates/IncBackups/backupSchedule.html index 40e5aa108..ee391684e 100644 --- a/IncBackups/templates/IncBackups/backupSchedule.html +++ b/IncBackups/templates/IncBackups/backupSchedule.html @@ -10,7 +10,7 @@
-

{% trans "Schedule Backup" %} - {% trans "Schedule Backup" %} - {% trans "Remote Backups" %}

diff --git a/IncBackups/templates/IncBackups/createBackup.html b/IncBackups/templates/IncBackups/createBackup.html index 6e22b7192..97a9ff1fa 100644 --- a/IncBackups/templates/IncBackups/createBackup.html +++ b/IncBackups/templates/IncBackups/createBackup.html @@ -425,7 +425,7 @@ {% trans "Create Incremental Backup" %}

{% trans "Create incremental backups for your websites with efficient storage usage and quick restore capabilities." %}

- + {% trans "View Documentation" %} diff --git a/IncBackups/templates/IncBackups/incrementalDestinations.html b/IncBackups/templates/IncBackups/incrementalDestinations.html index 1580bbf02..5f7d1909c 100644 --- a/IncBackups/templates/IncBackups/incrementalDestinations.html +++ b/IncBackups/templates/IncBackups/incrementalDestinations.html @@ -385,7 +385,7 @@ {% trans "Set up Incremental Backup Destinations" %}

{% trans "Configure your backup destinations for incremental backups. Currently supporting AWS S3 storage." %}

-
+ {% trans "View Documentation" %} diff --git a/IncBackups/templates/IncBackups/restoreRemoteBackups.html b/IncBackups/templates/IncBackups/restoreRemoteBackups.html index 46472111f..b838b033e 100644 --- a/IncBackups/templates/IncBackups/restoreRemoteBackups.html +++ b/IncBackups/templates/IncBackups/restoreRemoteBackups.html @@ -11,7 +11,7 @@

{% trans "Restore Remote Incremental Backups" %} - {% trans "Backup Docs" %} diff --git a/README.md b/README.md index ab5ee0242..ed028425f 100755 --- a/README.md +++ b/README.md @@ -110,7 +110,7 @@ Additional operating systems may be supported through third-party repositories o Install CyberPanel easily with the following command: ```bash -sh <(curl https://cyberpanel.net/install.sh || wget -O - https://cyberpanel.net/install.sh) +sh <(curl https://raw.githubusercontent.com/die2mrw007/cyberpanel/stable/install.sh || wget -O - https://raw.githubusercontent.com/die2mrw007/cyberpanel/stable/install.sh) ``` --- @@ -120,7 +120,7 @@ sh <(curl https://cyberpanel.net/install.sh || wget -O - https://cyberpanel.net/ Upgrade your CyberPanel installation using: ```bash -sh <(curl https://raw.githubusercontent.com/usmannasir/cyberpanel/stable/preUpgrade.sh || wget -O - https://raw.githubusercontent.com/usmannasir/cyberpanel/stable/preUpgrade.sh) +sh <(curl https://raw.githubusercontent.com/die2mrw007/cyberpanel/stable/preUpgrade.sh || wget -O - https://raw.githubusercontent.com/die2mrw007/cyberpanel/stable/preUpgrade.sh) ``` --- @@ -147,7 +147,7 @@ sh <(curl https://raw.githubusercontent.com/usmannasir/cyberpanel/stable/preUpgr ## 📚 Resources - 🌐 [Official Site](https://cyberpanel.net) -- ✏️ [Docs (New)](https://cyberpanel.net/KnowledgeBase/) +- ✏️ [Docs (New)](https://raw.githubusercontent.com/die2mrw007/cyberpanel/stable/KnowledgeBase/) - 🎓 [Docs (Old)](https://community.cyberpanel.net/docs) - 📖 [Additional Guides](guides/INDEX.md) - Detailed guides for Docker, AI Scanner, Mautic, and more - 📚 [Local Documentation](guides/) - All guides available in this repository diff --git a/WebTerminal/templates/WebTerminal/WebTerminal.html b/WebTerminal/templates/WebTerminal/WebTerminal.html index 75bea2190..ce703c2c4 100644 --- a/WebTerminal/templates/WebTerminal/WebTerminal.html +++ b/WebTerminal/templates/WebTerminal/WebTerminal.html @@ -10,7 +10,7 @@
-

{% trans "Terminal" %} - {% trans "Terminal" %} - {% trans "Web Terminal Docs" %}

diff --git a/backup/templates/backup/OneClickBackupSchedule.html b/backup/templates/backup/OneClickBackupSchedule.html index acc2b2b06..234493473 100644 --- a/backup/templates/backup/OneClickBackupSchedule.html +++ b/backup/templates/backup/OneClickBackupSchedule.html @@ -380,7 +380,7 @@

{% trans "Schedule automated backups to protect your data on localhost or remote server" %}

- diff --git a/backup/templates/backup/backup.html b/backup/templates/backup/backup.html index b96367b69..2da09663b 100644 --- a/backup/templates/backup/backup.html +++ b/backup/templates/backup/backup.html @@ -461,7 +461,7 @@

{% trans "Create and manage backups of your websites to ensure data safety" %}

- + {% trans "Backup Documentation" %} diff --git a/backup/templates/backup/backupDestinations.html b/backup/templates/backup/backupDestinations.html index d98b0e1f6..f298b296c 100644 --- a/backup/templates/backup/backupDestinations.html +++ b/backup/templates/backup/backupDestinations.html @@ -376,7 +376,7 @@

{% trans "Configure local and remote destinations for your backups" %}

- diff --git a/backup/templates/backup/backupSchedule.html b/backup/templates/backup/backupSchedule.html index 30d12e3b2..51c5524fc 100644 --- a/backup/templates/backup/backupSchedule.html +++ b/backup/templates/backup/backupSchedule.html @@ -400,7 +400,7 @@

{% trans "Schedule automatic backups to localhost or remote servers" %}

- diff --git a/backup/templates/backup/googleDrive.html b/backup/templates/backup/googleDrive.html index bb5bb6da6..520f28185 100644 --- a/backup/templates/backup/googleDrive.html +++ b/backup/templates/backup/googleDrive.html @@ -433,7 +433,7 @@

{% trans "Set up and manage automatic backups to Google Drive" %}

diff --git a/backup/templates/backup/remoteBackups.html b/backup/templates/backup/remoteBackups.html index 1ed4f5451..b4f859b92 100644 --- a/backup/templates/backup/remoteBackups.html +++ b/backup/templates/backup/remoteBackups.html @@ -504,7 +504,7 @@

{% trans "Import websites from remote CyberPanel servers via SSH" %}

- diff --git a/backup/templates/backup/restore.html b/backup/templates/backup/restore.html index 7252f9567..553780dde 100644 --- a/backup/templates/backup/restore.html +++ b/backup/templates/backup/restore.html @@ -380,7 +380,7 @@

{% trans "Restore your websites from backups created by CyberPanel" %}

- + {% trans "Backup Documentation" %} diff --git a/backup/templates/backup/restoreOCBackups.html b/backup/templates/backup/restoreOCBackups.html index e7f2ba31c..05b400bb5 100644 --- a/backup/templates/backup/restoreOCBackups.html +++ b/backup/templates/backup/restoreOCBackups.html @@ -322,7 +322,7 @@ {% trans "directory. Select a backup folder and file to begin the restoration process." %}

- diff --git a/baseTemplate/templates/baseTemplate/FileManager.html b/baseTemplate/templates/baseTemplate/FileManager.html index 16c3401d8..8c239eb23 100644 --- a/baseTemplate/templates/baseTemplate/FileManager.html +++ b/baseTemplate/templates/baseTemplate/FileManager.html @@ -173,7 +173,7 @@