Berkk
October 23, 2018, 8:06am
1
Hi, hope someone can help me with this issue.
I cannot update my self-hosted GitLab-EE (11.3.0) anymore.
The GitLab Repo in Yum might be gone. If I list the repos with yum repolist it shows:
CentOS-7 - Base
CentOS-7 - Extras
CentOS-7 - Updates
I then tried to add the repo again with curl -s https://packages.gitlab.com/install/repositories/gitlab/gitlab-ee/script.rpm.sh | sudo bash but it says
curl: (60) Peer`s Certificate issuer is not recognized.
Also no luck with the -k Option.
As far as I know, we didn`t change anything in the environment and I still have internet access from the server.
Regards,
Berkk
axil
October 23, 2018, 8:48am
2
Hi! Seems like a temp network issue. If that persists, try to add the repo manually:
cat /etc/yum.repos.d/gitlab_gitlab-ee.repo
[gitlab_gitlab-ee]
name=gitlab_gitlab-ee
baseurl=https://packages.gitlab.com/gitlab/gitlab-ee/el/7/$basearch
repo_gpgcheck=1
gpgcheck=1
enabled=1
gpgkey=https://packages.gitlab.com/gitlab/gitlab-ee/gpgkey
https://packages.gitlab.com/gitlab/gitlab-ee/gpgkey/gitlab-gitlab-ee-3D645A26AB9FBD22.pub.gpg
sslverify=1
sslcacert=/etc/pki/tls/certs/ca-bundle.crt
metadata_expire=300
[gitlab_gitlab-ee-source]
name=gitlab_gitlab-ee-source
baseurl=https://packages.gitlab.com/gitlab/gitlab-ee/el/7/SRPMS
repo_gpgcheck=1
gpgcheck=1
enabled=1
gpgkey=https://packages.gitlab.com/gitlab/gitlab-ee/gpgkey
https://packages.gitlab.com/gitlab/gitlab-ee/gpgkey/gitlab-gitlab-ee-3D645A26AB9FBD22.pub.gpg
sslverify=1
sslcacert=/etc/pki/tls/certs/ca-bundle.crt
metadata_expire=300
You may have to manually add the gpg keys.
Berkk
October 23, 2018, 9:37am
3
Thanks for your reply! I just tried to update with the manually created Repo-File.
Result:
https://packages.gitlab.com/gitlab/gitlab-ee/el/7/x86_64/repodata/repomd.xml: [Errno 14] curl#60 - “Peer’s Certificate issuer is not recognized.”
Berkk
October 26, 2018, 7:09am
4
Ok, I just disabled SSLin the GitLab-Repo file and was able to update to the latest version. Unfortunately I still dont know what
s wrong with the SSL connection.
Both pygpgme and yum-utils are installed on the GitLab server and I don`t see any blocked connections on the firewall.