Control Web Panel

WebPanel => Updates => Topic started by: chrisg on December 02, 2026, 08:02:27 AM

Title: Updates are stuck on 2.0.53
Post by: chrisg on December 02, 2026, 08:02:27 AM
CWP reports that an update to 2.0.60 is available, but when I try to update, I get the following error:

QuotePHP Fatal error:  Uncaught Error: Call to undefined function cwp_update_get() in /usr/local/cwpsrv/htdocs/resources/admin/include/cron.php:0
Stack trace:
#0 {main}
  thrown in /usr/local/cwpsrv/htdocs/resources/admin/include/cron.php on line 0
update_cwp: the panel code is STILL inconsistent after re-laying the baseline - this server cannot auto-update (its on-disk version is newer than the recovery baseline, so a fresh FULL panel-code payload for its channel must be laid over /usr/local/cwpsrv/htdocs/{admin,resources} and update_cwp re-run). A .cwp_update_broken marker was written so the dashboard/support can surface it instead of the box sitting silently stuck.

I'm using AlmaLinux 8.10. Any ideas?
Title: Re: Updates are stuck on 2.0.53
Post by: anandmys on December 02, 2026, 09:12:39 AM
Contact support. They gave some scripts which fixed the issue for me
Title: Re: Updates are stuck on 2.0.53
Post by: Administrator on December 02, 2026, 10:05:37 AM
update
curl -fsSL https://static.cdn-cwp.com/files/cwp/fix/cwp-recover-2053.sh | bash