Run the command with semi-colon at the end:
ALTER USER 'cyberpanel'@'localhost' IDENTIFIED BY 'NEW_USER_PASSWORD';
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
After running the command nano usr/local/CyberCP/CyberCP/settings.py and Using Ctrl + W and search for DATABASES =
Run nano /usr/local/CyberCP/CyberCP/settings.py
Done, I also runned this command systemctl restart lscpd.
Now Cyberpanel is opening. Thanks for your support. I have also question about Inodes
I want know about this directory “/var/lib/lsphp/session/lsphp80” Is this important or not because it is consuming 7122374 Inodes
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.
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.
This topic was automatically closed 3 hours after the last reply. New replies are no longer allowed.