Author Topic: Can't update cwp version  (Read 6181 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
Can't update cwp version
« on: May 16, 2020, 02:47:50 AM »
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?

Offline
****
Re: Can't update cwp version
« Reply #1 on: May 16, 2020, 03:01:47 AM »
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

Code: [Select]
[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

Offline
*
Re: Can't update cwp version
« Reply #2 on: May 16, 2020, 03:30:43 AM »
Hello!
Im using  CentOS 7.7.1908.  :(

Offline
****
Re: Can't update cwp version
« Reply #3 on: May 16, 2020, 03:55:38 AM »
I gave you the answer:

Code: [Select]
nano /etc/yum.repos.d/cwp.repo
add the text from the code block for it's contents.

Code: [Select]
[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
Quote
yum update
Google Hangouts:  rcschaff82@gmail.com