Forum Discussion

Pisitpongv's avatar
Pisitpongv
Icon for Nimbostratus rankNimbostratus
Jun 14, 2022

Issue with nginx instance manager repo with centos9

Hi all

Anyone have issue installing nginx instance manager on Centos9? I experenice issue when yum install nms-instance-manager on my new droplet instance on oceandigital. Awhile I don't have any issue install nginx-plus on the same instance.

 

 

[root@Nginx-SSO01 ~]# sudo yum install -y nms-instance-manager
NGINX Management Suite                          108  B/s | 153  B     00:01
Errors during downloading metadata for repository 'nms':
  - Status code: 404 for https://pkgs.nginx.com/nms/centos/9/x86_64/repodata/rep                                                                                                        omd.xml (IP: 3.126.134.177)
Error: Failed to download metadata for repo 'nms': Cannot download repomd.xml: C                                                                                                             annot download repodata/repomd.xml: All mirrors were tried

 

 

 After investigate, I found that it is issue with nginx instance manager repo with Centos version 9.

If I try to curl https://pkgs.nginx.com/nms/centos/9/x86_64/repodata/repomd.xml, the URL is not found and return 404.

 

 

[root@Nginx-SSO01 ~]# curl --cert  /etc/ssl/nginx/nginx-repo.crt --key /etc/ssl/nginx/nginx-repo.key https://pkgs.nginx.com/nms/centos/9/x86_64/repodata/repomd.xml
<html>
<head><title>404 Not Found</title></head>
<body>
<center><h1>404 Not Found</h1></center>
<hr><center>nginx/1.21.5</center>
</body>
</html>

 

 

If I change the directory to centos version 8, I found no issue.

 

 

[root@Nginx-SSO01 ~]# curl --cert  /etc/ssl/nginx/nginx-repo.crt --key /etc/ssl/nginx/nginx-repo.key https://pkgs.nginx.com/nms/centos/8/x86_64/repodata/repomd.xml
<?xml version="1.0" encoding="UTF-8"?>
<repomd xmlns="http://linux.duke.edu/metadata/repo" xmlns:rpm="http://linux.duke.edu/metadata/rpm">
 <revision>1649180146</revision>
<data type="filelists">
  <checksum type="sha256">7c829f9d959ee129b6f0f4d1f9192795caf0765c863889837f8aef93ca1fa307</checksum>

 

 

Anyone have a work around on this? I am on free trial license. I cannot raise issue.

 

Thanks

Pisitpong

  • Hi LiefZimmerman 

    After weeks, I just figured out that Nginx Instance Manager doesn't support CentOS verison 9. That is why I got that error. If anyone want to run nginx instance manger, I recommend you to run it on CentOS version 7. CentOS8 still have some issues.

    Thanks
    Pisitpong