Bobcares

WeSupport

Call Us! 1-800-383-5193
Call Us! 1-800-383-5193
Call Us! 1-800-383-5193

Error


Cannot find a valid baseurl for repo: ius : Solusvm upgrade fails

Are you stuck with the error ‘Cannot find a valid baseurl for repo: ius’ while upgrading SolusVM to a new version with PHP 7.3? Don’t worry, We can help!

Here at Bobcares, we often handle requests from our customers to fix similar SolusVM upgrade errors.

Today, let see how our Support Engineers fix this as a part of our Server Management Services.

“Cannot find a valid baseurl for repo: ius” error

Our Solusvm users often report to us that they are facing issues while trying to manually upgrading SolusVM to a new version with PHP 7.3. One of the errors that we noticed recently is :

Something went wrong, check /var/log/yum.log

Also, when trying to install the SolusVM repo, we see the following error :

# yum install solusvm-release
Loaded plugins: fastestmirror
Setting up Install Process
Determining fastest mirrors
epel/metalink | 16 kB 00:00
Could not retrieve mirrorlist https://mirrors.iuscommunity.org/mirrorlist?repo=ius-centos6&arch=x86_64&protocol=http error was
14: PYCURL ERROR 6 - "Couldn't resolve host 'mirrors.iuscommunity.org'"
Error: Cannot find a valid baseurl for repo: ius

While troubleshooting this error, our Support Engineers found that this issue is due to the unavailability of the repository ius.

The IUS Repository is a yum repository that provides the latest upstream versions of selected software, such as PHP, Python, MySQL, MariaDB, Kit, Redis. IUS stands for Inline With Upstream Stable.

How to Fix this error

Let us see the steps followed by our support engineers to resolve this error for our customers.

  1. Firstly, connect the affected node via SSH.
  2. Then disable the repository by setting the directive enabled=0 in /etc/yum.repos.d/ius.repo file.
  3. Save the changes and close the file.
  4. Finally, run the upgrade once again:
# /bin/bash /usr/local/solusvm/tmp/update/php_updater.sh

[Need help to resolve solusvm related errors? We’d be happy to assist]

Conclusion

In short, today we saw the steps followed by our Support Techs to resolve the error ‘Cannot find a valid baseurl for repo: ius’  while upgrading SolusVM to a new version with PHP 7.3.

 

 

SolusVM Error: Please configure your DNS servers – How to fix

Wondering how to fix SolusVM error: Please configure your DNS servers? We can help you!

Solusvm users often report to us that they are unable to add reverse DNS record and end up with this error.

Here at Bobcares, we handle requests from our customers to fix similar errors as a part of our Server Management Services.

Today let’s see how our Support Engineers fix this issue for our customers.

(more…)