Control Web Panel

WebPanel => Updates => Topic started by: zakrpa on July 28, 2026, 09:53:46 AM

Title: Alma 9 / 1.3 Update
Post by: zakrpa on July 28, 2026, 09:53:46 AM
So new update new problems  ;D

Need to post new thread sorry.
This morning cwp was off, noticed error about cert path which I did fix with command from other post and ok worked fine until I did notice some errors in log files with ssl subdomains and after that did generate what is missing and restart apache crashed completely with cant remember what error now...
Went to rebuild apache and saw there is bit change and new version seems everything worked fine sites are online did not check error logs but seems config files are overwritten indexing is going to index.html first which is not a big problem.

Yum manager does not work just keeps loading animation on every tab!
The module firewallv2 does not exist
Mod Security seems to work but also keeps loading animation too.

Anyone can confirm this like I said alma 9 in use.
Title: Re: Alma 9 / 1.3 Update
Post by: zakrpa on July 28, 2026, 11:59:13 AM
php_switch_v2 seems to be broken on alma 8 same problem stuck on loading, and does not compile or cant change versions
firewall and mod security also broken on alma 8.

Title: Re: Alma 9 / 1.3 Update
Post by: Purelaise on July 28, 2026, 12:20:38 PM
Same issues on 8. Mod sec, CSF etc seem to be loading but the GUI is completely busted
Title: Re: Alma 9 / 1.3 Update
Post by: overseer on July 28, 2026, 02:01:40 PM
Code: [Select]
ln -s /etc/pki/tls/certs/hostname.{cert,crt}
Title: Re: Alma 9 / 1.3 Update
Post by: zakrpa on July 28, 2026, 02:51:09 PM
Code: [Select]
ln -s /etc/pki/tls/certs/hostname.{cert,crt}

did that but gui problems on some modules still exist
Title: Re: Alma 9 / 1.3 Update
Post by: luislegacwp23 on July 28, 2026, 04:21:10 PM
I updated a "cwp httpd" and now apache is not working, other servers I ran the command

/usr/local/cwpsrv/htdocs/resources/scripts/generate_hostname_ssl

and are working but not updating the cwp httpd

Help
Title: Re: Alma 9 / 1.3 Update
Post by: zakrpa on July 28, 2026, 04:42:54 PM
try rebuild apache with new and vhosts

also think this script cause problems loading some modules which is missing inside folder

design/charts/sparklines/jquery.sparkline.js

did not have time to check all :(
Title: Re: Alma 9 / 1.3 Update
Post by: luislegacwp23 on July 28, 2026, 05:03:10 PM
I rebuiled it but still not working

Code: [Select]
/usr/local/cwpsrv/htdocs/resources/scripts/generate_hostname_ssl
writing RSA key
Certificate request self-signature ok
subject=C=HR, ST=Zagreb, O=CentOS Web Panel, L=HR, CN=vps.servidoreslegarda.com, OU=CentOS Web Panel, emailAddress=info@centos-webpanel.com
Redirecting to /bin/systemctl restart postfix.service
Redirecting to /bin/systemctl restart dovecot.service
Redirecting to /bin/systemctl restart cwpsrv.service
Redirecting to /bin/systemctl restart httpd.service
Job for httpd.service failed because the control process exited with error code.
See "systemctl status httpd.service" and "journalctl -xeu httpd.service" for details.
Redirecting to /bin/systemctl restart nginx.service
Failed to restart nginx.service: Unit nginx.service not found.
Redirecting to /bin/systemctl restart pure-ftpd.service

Title: Re: Alma 9 / 1.3 Update
Post by: zakrpa on July 28, 2026, 06:51:57 PM
Code: [Select]
ln -s /etc/pki/tls/certs/hostname.{cert,crt}

did u make symlink with this command?
Title: Re: Alma 9 / 1.3 Update
Post by: Starburst on July 28, 2026, 08:49:14 PM
1. There isn't anything CWP related with a version of 1.3.

2. What does
Code: [Select]
rpm -q cwpsrv show?
Title: Quick & Dirty Workaround
Post by: Starburst on July 28, 2026, 09:03:47 PM
Quick & Dirty Workaround:

Code: [Select]
cd /etc/pki/tls/certs/
Code: [Select]
mv hostname.crt hostname.crt-BAD
Code: [Select]
cp hostname.cert hostname.crt
Will bring back the CWP Panel.

Thankfully this Bug didn't affect sites.
Title: Re: Alma 9 / 1.3 Update
Post by: ghoste on July 28, 2026, 09:19:19 PM
1. There isn't anything CWP related with a version of 1.3.

2. What does
Code: [Select]
rpm -q cwpsrv show?

cwpsrv-1.24.0-2.x86_64. Hi, it's version 1.4, a new update has just been released.
Title: Re: Alma 9 / 1.24 Update
Post by: Starburst on July 28, 2026, 09:30:44 PM
Version cwpsrv-1.24.0-2 is the one that corrupted systems.

As of 2129Z, no update has been published.
Title: Re: Alma 9 / 1.24 Update
Post by: ghoste on July 28, 2026, 09:38:34 PM
Version cwpsrv-1.24.0-2 is the one that corrupted systems.

As of 2129Z, no update has been published.

Impossible , check pls https://control-webpanel.com/changelog

it's total chaos anyway.
Title: Re: Alma 9 / 1.3 Update
Post by: Starburst on July 28, 2026, 10:06:33 PM
That is a typeo, that left the 2 out. So 1.24 became 1.4

Look at your own system:
rpm -q cwpsrv

Has been cwpsrv-1.24.0-1 since 2023, now its cwpsrv-1.24.0-2

NO 1.3, 1.4, or 1.5.

I've checked.

cwpsrv-1.24.0-2.x86_64.rpm  27-Jul-2026  09:04  353K

Regurgitating a type-o, isn't going to change anything.
But I agree, it's a mess.
Title: Re: Alma 9 / 1.3 Update
Post by: zakrpa on July 28, 2026, 10:32:12 PM
update did not fix any dead module...
but I think my sites were dead in the morning and my apache was updated on latest version, I m sure in that because I was planning to update it today after some work.
Title: cwpsrv 1.24.0-2 Update
Post by: Starburst on July 28, 2026, 10:36:39 PM
update did not fix any dead module...
but I think my sites were dead in the morning and my apache was updated on latest version, I m sure in that because I was planning to update it today after some work.

Both cwp-httpd-2.4.68-1 and cwpsrv-1.24.0-2 where release today.
Title: Re: cwpsrv 1.24.0-2 Update
Post by: zakrpa on July 28, 2026, 10:51:14 PM
update did not fix any dead module...
but I think my sites were dead in the morning and my apache was updated on latest version, I m sure in that because I was planning to update it today after some work.

Both cwp-httpd-2.4.68-1 and cwpsrv-1.24.0-2 where release today.

Did update both of my servers and both shows cwpsrv-1.24.0-2.x86_64 still mod security does not load and firewall too is dead (maybe its disabled but I used this one in security / firewall manager). Mod security works in background I receive emails about blocked IP's, did have some problems but managed to fix sites to come online.

There are some errors which js ajax scripts loads in gui which are missing or pointing to folder which does not exist, and one of those I wrote before today after creating symlink to file loads ok php version switcher and mod security.



Title: cwp-httpd
Post by: Starburst on July 29, 2026, 12:17:30 AM
Your problem isn't with cwpsrv.

cwp-httpd did an update to 2.4.68-1 at the same time, if you look at the error Apache is throwing, you should be able to track down what happened.
Title: Re: cwpsrv 1.24.0-2 Update
Post by: Netino on July 29, 2026, 01:04:44 AM

Did update both of my servers and both shows cwpsrv-1.24.0-2.x86_64 still mod security does not load and firewall too is dead (maybe its disabled but I used this one in security / firewall manager). Mod security works in background I receive emails about blocked IP's, did have some problems but managed to fix sites to come online.

There are some errors which js ajax scripts loads in gui which are missing or pointing to folder which does not exist, and one of those I wrote before today after creating symlink to file loads ok php version switcher and mod security.

Out of several servers, I have only one experiencing this issue. I’ve already discovered that the digital certificate installed by CWP is invalid. I reinstalled it (copying the same link from another server), but the landing page remains completely broken, making it virtually unusable.
If you check the logs, there is a file that isn't being found, even though the file is actually there:
Code: [Select]
MY.IP.ADD.RES - root [28/Jul/2026:21:19:33 -0300] "GET /cwp_0130303030302250e53d34b52eb95ed7/admin/design/charts/sparklines/jquery.sparkline.js HTTP/1.1" 404 1010 https://my_server.com:2031/cwp_013030303032250e53d34b52eb95ed7/admin/index.php?chk=y Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/150.0.0.0 Safari/537.36

The files are here:
Code: [Select]
-rw-r----- 1 root root 125947 set 27  2017 /usr/local/cwpsrv/htdocs/admin/design/plugins/charts/sparkline/jquery.sparkline.js
-rw-r----- 1 root root 125947 ago 22  2017 /usr/local/cwpsrv/htdocs/admin/design/plugins/charts/sparklines/jquery.sparkline.js
Notice that the path is different; it has '/plugins' in the middle, which prevents it from being found.
But creating a symbolic link for charts -> plugins/charts in /usr/local/cwpsrv/htdocs/admin/design/ does not solve the problem.

This is definitely a bug in CWP.
Title: Re: Alma 9 / 1.3 Update
Post by: 6Sense on July 29, 2026, 03:28:26 AM
Cheers @Netino you're a god send, again!

For short term relief I made a directory named charts inside /usr/local/cwpsrv/htdocs/admin/design/ (gotta remove immutable attribute first). Copied the 2 directories it wants (sparkline & sparklines, they are just JS UI component files so nothing scary) to the new charts directory & made it immutable again.

Misbehaving UI components eg: ModSec now display correctly in panel. It's probably going to be overwritten with next update but hopefully the next update has this corrected anyhow.

Title: Re: Alma 9 / 1.3 Update
Post by: zakrpa on July 29, 2026, 09:10:23 AM
so I was right about script error, had to test it on empty server to confirm last night.

Your problem isn't with cwpsrv.

cwp-httpd did an update to 2.4.68-1 at the same time, if you look at the error Apache is throwing, you should be able to track down what happened.


My fix was just rebuilding all again with new apache and vhosts, after that only thing I noticed are these menu module problems and that httpd conf files are overwriten too, in folders where index.html (cwp test page) left undeleted are loaded as default.
Title: Re: Alma 9 / 1.3 Update
Post by: adrianofnatal on July 29, 2026, 07:44:06 PM
About Firewall module...

Navigating to modules dir, notice that firewallv2.php file does not exists but firewall.php exists.

Changing the ending part of URL from firewallv2 to firewall the GUI is loaded.

Please, check it.

Title: Re: Alma 9 / 1.3 Update
Post by: zakrpa on July 29, 2026, 07:52:09 PM
About Firewall module...

Navigating to modules dir, notice that firewallv2.php file does not exists but firewall.php exists.

Changing the ending part of URL from firewallv2 to firewall the GUI is loaded.

Please, check it.

yeah it works did not check it before  ;D
Title: Re: Alma 9 / 1.3 Update
Post by: chrisk on July 29, 2026, 11:27:35 PM
I verified that changing the URL end for the firewall from firewallv2 to firewall does bring up the firewall manager as stated by adrianofnatal.  Just go to the firewall dashboard from the main dashboard then change the URL at the end.
Title: Re: Alma 9 / 1.4 Update
Post by: Starburst on July 29, 2026, 11:44:56 PM
If you are running CSF 15.10, at the bottom of the left menu you will see "ConfigServer Firewall' with a little bug the the left.
Click on that, and then an the same submenu, it will open the CSF GUI menu.

This is the main CSF menu you would see if you have the web interface enabled.
Title: Re: Alma 9 / 1.3 Update
Post by: zakrpa on July 30, 2026, 10:45:19 PM
good news I think new update marked as 1.6 which I just saw fixed GUI bugs

correction: mod security still stuck at loading :D
Title: Re: Alma 9 / 1.3 Update
Post by: luislegacwp23 on July 31, 2026, 05:22:39 AM
My server now its working.

Just php select module is not working, it stays loading when you select manage options

Aby ideas??
Title: Re: Alma 9 / 1.3 Update
Post by: zakrpa on July 31, 2026, 07:32:28 AM
My server now its working.

Just php select module is not working, it stays loading when you select manage options

Aby ideas??

did you try this and? fixed most of problems on my test server including php compile module.

Code: [Select]
# 1. Temporarily remove the immutable flag on the design directory
chattr -i /usr/local/cwpsrv/htdocs/admin/design

# 2. Create the missing directory path
mkdir -p /usr/local/cwpsrv/htdocs/admin/design/charts/sparklines

# 3. Symlink the existing plugin file to the expected path
ln -s /usr/local/cwpsrv/htdocs/admin/design/plugins/charts/sparkline/jquery.sparkline.js /usr/local/cwpsrv/htdocs/admin/design/charts/sparklines/jquery.sparkline.js

# 4. Re-enable immutable flag to protect the directory
chattr +i /usr/local/cwpsrv/htdocs/admin/design
Title: Re: Alma 9 / 1.3 Update
Post by: luislegacwp23 on August 01, 2026, 06:28:35 AM
Thanks alot it does work