Control Web Panel

WebPanel => Updates => Topic started by: its_me_rbk on August 11, 2025, 06:34:37 AM

Title: Apache Update Script 404 Error Starburst KB
Post by: its_me_rbk on August 11, 2025, 06:34:37 AM
https://starburst.help/control-web-panel-cwp/control-web-panel-cwp-admin-tutorials/update-apache-to-2-4-65-in-cwp-on-almalinux-8-9/

When I try to wget the script, it gives me a 404 Not Found Error.
Title: Re: Apache Update Script 404 Error Starburst KB
Post by: 6Sense on August 12, 2025, 01:20:57 AM
Is a typo in the pathway. Should be the below

wget --no-cache --output-document="apache-rebuild.sh" https://dl.starburst.help/cwp_fixes/apache-2465-rebuild.sh
Title: Re: Apache Update Script 404 Error Starburst KB
Post by: its_me_rbk on August 12, 2025, 02:45:25 AM
Quote
wget --no-cache --output-document="apache-rebuild.sh" https://dl.starburst.help/cwp_fixes/apache-2465-rebuild.sh
I've used this script to update my Apache version from 2.4.62 to 2.4.65, but in the admin panel, it shows 2.4.65 & in the terminal when I use httpd -v, it shows 2.4.62.
Title: Re: Apache Update Script 404 Error Starburst KB
Post by: its_me_rbk on August 12, 2025, 02:57:16 AM
Code: [Select]
[root@domain.com /usr/local/src]# httpd -v
Server version: Apache/2.4.62 (AlmaLinux)
Server built:   Jan 29 2025 00:00:00

[root@domain.com /usr/local/src]# /usr/local/apache/bin/httpd -v
Server version: Apache/2.4.65 (Unix)
Server built:   Aug 12 2025 08:18:12

I found that two binaries are running, one is from AlmaLinux, which CWP does not use & the other is from CWP, which CWP uses. Am I correct?
Title: Re: Apache Update Script 404 Error Starburst KB
Post by: Starburst on August 12, 2025, 05:33:30 PM
I apologize about that.
Just fixed it.

Rearranged the download section while I was added additional directories.

What is it showing for the Apache version inside of CWP, in the bottom left box, along with MariaDB, etc?
You should have also gotten a notification in the inbox.
The script is also self-destructing, so nothing should be left in /src

Server version should never show (AlmaLinux), unless you installed the AL Apache over CWP's Apache via dnf.

So it looks like you might have 2 version of Apache installed.
httpd -v doesn't work outside of /usr/local/apache/bin/
Title: Re: Apache Update Script 404 Error Starburst KB
Post by: its_me_rbk on August 13, 2025, 10:01:08 AM
In the panel, it shows 2.4.65, which is from the Apache that CWP handles (/usr/local/apache/bin/httpd). The update was successful.

I haven't installed AlmaLinux's Apache via dnf or yum. When I try to remove httpd via dnf or yum, it tells me "No match for argument: httpd".

However, I'm not facing any issue here. Everything works fine, so I've turned AlmaLinux's Apache off from running.