I am trying to upgrade the gitlab prod server from 14.10.5 to 15.0.5 , I am trying to install the version of 15.0.5 and it is throwing the below error. I can able to ping the server but getting this error. Can someone please help me figure out this
sudo yum install -y gitlab-ce-15.0.5-ce.0.e17.x86_64
Loaded plugins: langpacks, product-id, search-disabled-repos, subscription-manager
-download.docker.com/linux/centos/7Server/x86_64/stable/repodata/repomd.xml:
[Errno 14] curl#35 - “TCP connection reset by peer”
Trying other mirror.
No package gitlab-ce-15.0.5-ce.0.e17.x86_64 available.
Error: Nothing to do
system information :
Current User: git
Using RVM: no
Ruby Version: 2.7.5p203
Gem Version: 3.1.4
Bundler Version: 2.2.33
Rake Version: 13.0.6
Redis Version: 6.2.6
Sidekiq Version: 6.4.0
Go Version: unknown
GitLab Information
Version: 14.10.5
Revision: 02cdf459a13
Directory: /opt/gitlab/embedded/service/gitlab-rails
DB Adapter: PostgreSQL
DB Version: 12.7
URL: ***********
HTTP Clone URL: *********
SSH Clone URL: *********
Using LDAP: yes
Using Omniauth: yes
Omniauth Providers:
GitLab Shell
Version: 13.25.1
Repository storage paths:
_default: /var/opt/gitlab/git-data/repositories
GitLab Shell path: /opt/gitlab/embedded/service/gitlab-shell
Hi @SaiKalyanReddy and welcome to the GitLab community forum!
You might need to reconfigure and setup the GitLab yum repository. This can be done via:
curl -s https://packages.gitlab.com/install/repositories/gitlab/gitlab-ce/script.rpm.sh | sudo bash
If that still doesn’t work, there might be an issue with your yum package manager.
You can download the RPM directly via:
wget --content-disposition https://packages.gitlab.com/gitlab/gitlab-ee/packages/el/7/gitlab-ee-15.0.5-ee.0.el7.x86_64.rpm/download.rpm
and then install the package manually. (sudo yum install ./gitlab-ee-15.0.5-ee.0.el7.x86_64.rpm
)
2 Likes
Hello I’m trying to upgrade the Gitlab from 14.10.5 to EE15.05 EE version but when I’m trying to upgrade the GitLab my database is going down continuously. Could you help me to how to upgrade to recent version to 17.5 EE version. when i tried to fix the wal_size has some value again if i restart the gitlab and reconfigure im getting the same issue my postgresssql getting down. My postgress sql current version 14.11.
parameter “wal_keep_segments” in file “/var/opt/gitlab/postgresql/data/runtime.conf” line 30
2024-11-08_08:09:00.48777 2024-11-08 08:09:00.487 GMT [9417] FATAL: configuration file “/var/opt/gitlab/postgresql/data/runtime.conf” contains errors
Caused by:
PG::ConnectionBad: connection to server on socket “/var/opt/gitlab/postgresql/.s.PGSQL.5432” failed: No such file or directory
Is the server running locally and accepting connections on that socket?
/opt/gitlab/embedded/service/gitlab-rails/lib/gitlab/database/load_balancing/load_balancer.rb:124:in read_write' /opt/gitlab/embedded/service/gitlab-rails/lib/gitlab/database/load_balancing/connection_proxy.rb:126:in
write_using_load_balancer’
/opt/gitlab/embedded/service/gitlab-rails/lib/gitlab/database/load_balancing/connection_proxy.rb:96:in method_missing' /opt/gitlab/embedded/service/gitlab-rails/lib/tasks/migrate/schema_check.rake:7:in
block in <top (required)>’
Tasks: TOP => db:migrate => schema_version_check
(See full trace by running task with --trace)
bash-4.2#
Hi Greg, Thanks for responding, I tried too reconfigure the yum repository as you said, it still didn’t work. We are using community edition not the enterprise one.
When I am checking yum repolist it says gitlab_gitlab-ce-source status says 0 which exclamation mark !!!