Can't update cwp version

Started by kienvictory, May 16, 2020, 02:47:50 AM

Previous topic - Next topic

kienvictory

Hello!
I tried update CWP last version but error: CWP Update FAILED Please urgently run update of cwpphp rpm: yum update cwpphp --enablerepo=cwp
I have used the following command sh /scripts/update_cwp and yum update cwpphp --enablerepo=cwp but not work.
It displays the following error:
Failed to set locale, defaulting to C
Loaded plugins: fastestmirror
Error getting repository data for cwp, repository not found

How to fix it?

rcschaff

This is for CentOS 7.  If your using 6, should be the same, but change all 7's to 6's

nano /etc/yum.repos.d/cwp.repo

[cwp]
name=CentOS Web Panel repo for Linux 7 - $basearch
baseurl=http://repo.centos-webpanel.com/repo/7/$basearch
enabled=1
gpgcheck=0
priority=1
Google Hangouts:  rcschaff82@gmail.com

kienvictory

Hello!
Im using  CentOS 7.7.1908.  :(

rcschaff

I gave you the answer:

nano /etc/yum.repos.d/cwp.repo

add the text from the code block for it's contents.

[cwp]
name=CentOS Web Panel repo for Linux 7 - $basearch
baseurl=http://repo.centos-webpanel.com/repo/7/$basearch
enabled=1
gpgcheck=0
priority=1


then run
Quoteyum update
Google Hangouts:  rcschaff82@gmail.com