Control Web Panel
WebPanel => CentOS 7 Problems => Topic started by: oleteacher on October 26, 2017, 04:40:35 PM
-
Seems after the last update I got for my two installs of cwp7pro, Yum Manager no longer works. Nothing else changed since has update except the update itself.
Two different VPS boxes on two different providers. This is what happens when trying to use:
Video: https://www.useloom.com/share/ee5c3edf483d4ca394d6720d63aeffee
The spinner continues to spin and never shows the available updates (which I have 23).
Any ideas on how to fix this issue?
-
I love the hell out of CWP and always upgrade to pro version BUT very discouraging when dev's will not take time to help with issues.
Guess that is the way it goes...
-
Apparently CWP yum update is now broken.
Loaded plugins: fastestmirror
http://vzdownload.swsoft.com/ez/packages/centos/7/x86_64/os/repodata/repomd.xml: [Errno 12] Timeout on http://vzdown
load.swsoft.com/ez/packages/centos/7/x86_64/os/repodata/repomd.xml: (28, 'Connection timed out after 30001 milliseco
nds')
-
this issue is probably related with your yum not working since cwp is a simply only gui for yum.
you can try to clean your yum and then run update, also you should check that your networking is open so you can download packages
yum clean all
yum makecache fast
-
Thank you for tips @studio4host.
Did the yum clean all and then yum makecache fast, which resulted in:
Could not retrieve mirrorlist http://vzdownload.swsoft.com/download/mirrors/centos-7 error was
12: Timeout on http://vzdownload.swsoft.com/download/mirrors/centos-7: (28, 'Connection timed out after 30001 millis
econds')
One of the configured repositories failed (Unknown),
and yum doesn't have enough cached data to continue. At this point the only
safe thing yum can do is fail. There are a few ways to work "fix" this:
1. Contact the upstream for the repository and get them to fix the problem.
2. Reconfigure the baseurl/etc. for the repository, to point to a working
upstream. This is most often useful if you are using a newer
distribution release than is supported by the repository (and the
packages for the previous distribution release still work).
3. Run the command with the repository temporarily disabled
yum --disablerepo=<repoid> ...
4. Disable the repository permanently, so yum won't use it by default. Yum
will then just ignore the repository until you permanently enable it
again or use --enablerepo for temporary usage:
yum-config-manager --disable <repoid>
or
subscription-manager repos --disable=<repoid>
5. Configure the failing repository to be skipped, if it is unavailable.
Note that yum will try to contact the repo. when it runs most commands,
so will have to try and fail each time (and thus. yum will be be much
slower). If it is a very temporary problem though, this is often a nice
compromise:
yum-config-manager --save --setopt=<repoid>.skip_if_unavailable=true
Cannot find a valid baseurl for repo: vz-base
I have not changed anything, or moved hosts and only thing changed was last yum update via CWP gui. Since then nothing has worked related to yum. Have three (3) cwpPro installs on three(3) different VPS providers (all different physical locations is US) and all of them have the same exact issue.
-
you can try manually this mirror from the shell
"curl http://vzdownload.swsoft.com/download/mirrors/centos-7"
if you still have no access to it then you should check why and do you have access to others
repository configurations are in this folder
/etc/yum.repos.d/
-
if you still have no access to it then you should check why and do you have access to others
ok. but why would three different cwpPro installs on three different VPS providers in 3 different locations all of a sudden start having yum issues?
i have changed nothing. only thing I have done is use the cwp built-in yum update. then, next time i try to update all of the installs have exact same issue?
will try your methods.
-
It was a CSF issue. Swear I have changed nothing, yum updates have worked without issues in past.
Disabling CSF and yum updates work.
Thanks for the tips nevertheless, they were appreciated.
-
@oleteacher I have the same problem.
Various updates,
1-I update,
2- I wait a while,
3-it says it has been updated,
but when restarting it keeps asking for the same updates.
What did you do to your csf for it to complete the update?
-
@novooriente@gmail.com
"What did you do to your csf for it to complete the update?"
I had to move on to aapanel, way too many issues here for me.
-
3-it says it has been updated,
but when restarting it keeps asking for the same updates.
It usually does that if you have unmet dependencies or an update (such as MariaDB) that requires "divine intervention" -- such as when moving to a major version number that requires a manual update. You think it installed everything, but if you carefully read the results, you can see that it skipped those updates.