CentOS 8 Failed to download metadata for repo 'epel'

Im attempting to install Virtualmin GPL 6.1.1 on a new deployment of CentOS 8.1 and getting an a few errors and it failing to download metadata for repo ‘epel’. Any ideas? Appreciate the help!

▣□□ Phase 1 of 3: Setup
Downloading virtualmin-release-latest.noarch.rpm [ :heavy_check_mark: ]
Installing virtualmin-release package [ :heavy_check_mark: ]

▣▣□ Phase 2 of 3: Installation
Downloading epel-release-latest-8.noarch.rpm [ :heavy_check_mark: ]
Installing EPEL release package [ :heavy_check_mark: ]
Enabling PowerTools package repository [ :heavy_check_mark: ]
Installing dependencies and system packages [ERROR] Failed with error: 1
[ ✘ ]

[ERROR] Something went wrong. Exiting.
[ERROR] The last few log entries were:
Downloading epel-release-latest-8.noarch.rpm: Success.
Spin pid is: 5519
warning: epel-release-latest-8.noarch.rpm: Header V3 RSA/SHA256 Signature, key ID 2f86d6a1: NOKEY
Installing EPEL release package: Success.
Spin pid is: 5575
Updating Subscription Management repositories.
Unable to read consumer identity
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
Enabling PowerTools package repository: Success.
Spin pid is: 5620
Failed to download metadata for repo ‘epel’
Error: Failed to download metadata for repo ‘epel’
Installing dependencies and system packages: [2020-06-12 17:39:57 CDT] [ERROR] Failed with error: 1
[2020-06-12 17:39:57 CDT] [ERROR] Something went wrong. Exiting.
[2020-06-12 17:39:57 CDT] [ERROR] The last few log entries were:
cat /root/virtualmin-install.log
Checking for Perl…found Perl at /bin/perl
Checking for HTTP client…found /usr/bin/wget -nv
[2020-06-12 17:39:09 CDT] [DEBUG] Memory is greater than 1572 MB, which should be sufficient.
[2020-06-12 17:39:09 CDT] [INFO] Started installation log in /root/virtualmin-install.log
[2020-06-12 17:39:09 CDT] [DEBUG] Phase 1 of 3: Setup
[2020-06-12 17:39:09 CDT] [DEBUG] Install mode: full
[2020-06-12 17:39:09 CDT] [DEBUG] Product: Virtualmin GPL
[2020-06-12 17:39:09 CDT] [DEBUG] install.sh version: 6.1.1
[2020-06-12 17:39:09 CDT] [DEBUG] Checking for fully qualified hostname…
[2020-06-12 17:39:09 CDT] [DEBUG] Hostname OK: fully qualified as SERVERNAME
[2020-06-12 17:39:09 CDT] [DEBUG] Installing serial number and license key into /etc/virtualmin-license
[2020-06-12 17:39:09 CDT] [DEBUG] Operating system name: CentOS
[2020-06-12 17:39:09 CDT] [DEBUG] Operating system version: 8.1.1911
[2020-06-12 17:39:09 CDT] [DEBUG] Operating system type: centos
[2020-06-12 17:39:09 CDT] [DEBUG] Operating system major: 8
[2020-06-12 17:39:09 CDT] [DEBUG] Configuring package manager for CentOS 8.1.1911…
[2020-06-12 17:39:09 CDT] [DEBUG] Disabling SELinux during installation…
[2020-06-12 17:39:09 CDT] [DEBUG] setenforce 0 succeeded
Spin pid is: 5402
2020-06-12 17:39:10 URL:https://software.virtualmin.com/vm/6/gpl/centos/8/x86_64/virtualmin-release-latest.noarch.rpm [14112/14112] -> “virtualmin-release-latest.noarch.rpm” [1]
Downloading virtualmin-release-latest.noarch.rpm: Success.
Spin pid is: 5445
warning: virtualmin-release-latest.noarch.rpm: Header V4 RSA/SHA1 Signature, key ID 60d62a6b: NOKEY
Installing virtualmin-release package: Success.
[2020-06-12 17:39:10 CDT] [DEBUG] Phase 2 of 3: Installation
Spin pid is: 5482
2020-06-12 17:39:11 URL:https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm [22332/22332] -> “epel-release-latest-8.noarch.rpm” [1]
Downloading epel-release-latest-8.noarch.rpm: Success.
Spin pid is: 5519
warning: epel-release-latest-8.noarch.rpm: Header V3 RSA/SHA256 Signature, key ID 2f86d6a1: NOKEY
Installing EPEL release package: Success.
Spin pid is: 5575
Updating Subscription Management repositories.
Unable to read consumer identity
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
Enabling PowerTools package repository: Success.
Spin pid is: 5620
Failed to download metadata for repo ‘epel’
Error: Failed to download metadata for repo ‘epel’
Installing dependencies and system packages: [2020-06-12 17:39:57 CDT] [ERROR] Failed with error: 1
[2020-06-12 17:39:57 CDT] [ERROR] Something went wrong. Exiting.
[2020-06-12 17:39:57 CDT] [ERROR] The last few log entries were:

Hi,

Thank for reporting it.

We believe this issue has been sorted out with the latest, yet unreleased, Virtualmin install script.

Run:

dnf remove epel-release

… download the latest script linked above and try again.

Coming to confirm the method worked perfectly for me.

Tho in MY case everything installed perfectly for the server on a VPS, but this happened when i tried it locally.

Also, different issue. but if you chose mysql/maria for a database during post install set up, it will lose the root password that was set. I fixed it by copying the password (as I had a habit of for reasons like this) and manually setting it back via the command line. Once all done going back to virtualmin was fine and it was able to use mysql/maria again.

Thanks that resolve the issue on my CentOS 8 box!

Is it ok to use this unreleased version for a production deployment or should I wait until the official release?

Thanks!

This topic was automatically closed 4 days after the last reply. New replies are no longer allowed.