usmannasir / cyberpanel

Cyber Panel - The hosting control panel for OpenLiteSpeed
GNU General Public License v3.0
1.49k stars 582 forks source link

[BUG] Upgrade says "something wrong" on overloaded server #1089

Open jcn50 opened 1 year ago

jcn50 commented 1 year ago

When the server load is very high and at the end of the upgrade I am getting this message: Seems something wrong with upgrade, please check...

But everything went fine~ so I have tested the upgrade with this additional line sleep 5 after systemctl restart lscpd:

systemctl restart lscpd
sleep 5

in this file: https://raw.githubusercontent.com/usmannasir/cyberpanel/stable/cyberpanel_upgrade.sh

And all went OK!

Could you add it as well for users having the same issue as mine on small/overloaded servers? Thanks!

usmannasir commented 1 year ago

@qtwrk can you check.