Hello
so when i click on create website the page starts loading for 3 min and suddenly it shows 500 internal server error
clicking on create website after 3 min loading
Anyone knows how to fix it
(long time ago i created some other websites and they are still usable and they work perfectly)
Hello @arianramianpour Happy you are here
TIme to upgrade your copy
sh <(curl https://raw.githubusercontent.com/usmannasir/cyberpanel/stable/preUpgrade.sh || wget -O - https://raw.githubusercontent.com/usmannasir/cyberpanel/stable/preUpgrade.sh)
If using a sudo user rather than root, try this:
sudo su - -c "sh <(curl https://raw.githubusercontent.com/usmannasir/cyberpanel/stable/preUpgrade.sh || wget -O - https://raw.githubusercontent.com/usmannasir/cyberpanel/stable/preUpgrade.sh)"
If symptoms persist enable dynamic logging Troubleshooting CyberPanel - Docs - CyberPanel Community and CyberP debug logs Troubleshooting CyberPanel - Docs - CyberPanel Community in summary:
Run
nano /usr/local/CyberCP/CyberCP/settings.py
find DEBUG = False
and change it to DEBUG = True
and then do systemctl restart lscpd
And then redo what you are doing and you will get the reason for 500 Error.
okay i did update still getting error
did
`nano /usr/local/CyberCP/CyberCP/settings.py`
find `DEBUG = False` and change it to `DEBUG = True` and then do `systemctl restart lscpd`
And then redo what you are doing and you will get the reason for 500 Error.
no error
checked logs also no error
still when i click on create website it loads for ever
Which server os are you using?
Also post a screenshot of https://SERVER_URL:8090/base/versionManagment
There is definitely something wrong you should probably check mariadb settings for cyberpanel are correct if there is no errors displayed for django side of cyberpanel. The easiest method would be MySQL optimization on CyberPanel - Docs - CyberPanel Community if you are not interested in their services you can do it manually by optimizing your mysql installation
I recently had a support ticket where my web site had gone down, the admin panel was inaccessible, and all manner of other things were broken (FTP). Many services in a cyberpanel install depend on MySQL.
The default MySQL config file (/etc/my.cnf) is bare-bones. There are really no options in it. This lead to my innodb-powered sites to suffer near 100% CPU usage on a high load site. I came up with a fix for it that served as good tweaks for both myisam and innodb. Here’s what I came up with:
[…
OR (workaround)
Use the CLI to create your website
cyberpanel createWebsite --package Default --owner admin --domainName mytestdomain.org --email [email protected] --php 8.1
Some people just love command line interface and can’t get their eyes of the terminal. We’ve now most of the CyberPanel functionality available via command line. Run cyberpanel -h for more details.
This gives you the power to develop your own applications on top of CyberPanel, with language choice of yours.
User Functions
1. Create User
cyberpanel createUser --firstName Cyber --lastName Panel --email [email protected] --userName cyberpanel --password securepassword --websitesLimit 10 …