ClosedServer Error (500) - No Access To 8090 Panel
Hello @stay, Happy to have you
- Run command touch /usr/local/CyberCP/debug, this will start generating more debug logs
- Run CyberP upgrade
- Post the contents of your
/home/cyberpanel/error-logs.txt,/usr/local/lsws/logs/access.logand/usr/local/lsws/logs/error.log - Post the contents of the service status:
$ sudo service lscpd status
Try upgrade the installation by running this command:
sh <(curl https://raw.githubusercontent.com/usmannasir/cyberpanel/stable/preUpgrade.sh || wget -O - https://raw.githubusercontent.com/usmannasir/cyberpanel/stable/preUpgrade.sh)
Seems like upgrade bash file cannot find your cyberpanel password. To change cyberpanel password, use this:
mysql -u root -p
Login to mysql root using the root password you will see here - /etc/cyberpanel/mysqlPassword
once logged in, you can use this command to change cyberpanel password
ALTER USER 'cyberpanel'@'localhost' IDENTIFIED BY 'NEW_USER_PASSWORD';
The output will show something like this
Query OK, 0 rows affected (0.00 sec)
Run systemctl restart lscpd && sh <(curl https://raw.githubusercontent.com/usmannasir/cyberpanel/stable/preUpgrade.sh || wget -O - https://raw.githubusercontent.com/usmannasir/cyberpanel/stable/preUpgrade.sh)

After running the password change command i didn’t get any output
Run the command with semi-colon at the end:
ALTER USER 'cyberpanel'@'localhost' IDENTIFIED BY 'NEW_USER_PASSWORD';
After changing root password and running the update command. Still getting this same error. You can use anydesk for access the server and find the error.
I think after few more messages, then I’m not allowed to reply any more and I’m facing this issue from morning but still not able to find the issue.
I have a request you to find any way to resolve the issue.
Before that real quick run this command and post contents here: nano /usr/local/lsws/logs/error.log
Try start the Cyberpanel service
service lscpd restart && service lscpd status
Good news! Run sh <(curl https://raw.githubusercontent.com/usmannasir/cyberpanel/stable/preUpgrade.sh || wget -O - https://raw.githubusercontent.com/usmannasir/cyberpanel/stable/preUpgrade.sh)
Post the result here
Use the same password you used above to change MySQL cyberpanel password
Run this command nano /usr/local/CyberCP/CyberCP/settings.py
CTRL+W paste this DATABASES =
Change the password under this line:
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.mysql',
'NAME': 'cyberpanel',
'USER': 'cyberpanel',
'PASSWORD': 'changethispassword',
'HOST': 'localhost',
'PORT':''
},
Finally run systemctl restart lscpd

I updated the post. Start over
Run nano /usr/local/CyberCP/CyberCP/settings.py
Retry the upgrade to confirm everything is ok.
sh <(curl https://raw.githubusercontent.com/usmannasir/cyberpanel/stable/preUpgrade.sh || wget -O - https://raw.githubusercontent.com/usmannasir/cyberpanel/stable/preUpgrade.sh) && reboot
Thanks for your valuable time & support. Now its started working. But, sir i have a question about Inodes.
I checked which file consuming more Inodes by this command
{ find / -xdev -printf ‘%h\n’ | sort | uniq -c | sort -k 1 -n; } 2>/dev/null
Then i see that directory “/var/lib/lsphp/session/lsphp80” consuming 7122374 Inodes. I want to know that does this is important or not. Do we can delete this to free the Inodes.
Kindly check the fix here
I’m already use this method and this did’nt work for me. Because, I’m same who message there. I started that topic “How to increase Inodes limit”
Please answer - This directory “/var/lib/lsphp/session/lsphp80” consuming 7122374 Inodes. I want to know that does this is important or not. Do we can delete this to free the Inodes.










