Migration Gitlab-EE 16.8.0 PQsocket() can't get socket descriptor
Summary
I would like to change my Gitlab server (Centos to Debian 12) and I have carried out the migration procedure but I seem to be experiencing connection problems with PostgreSQL.
I've already tried restarting my server, reconfiguring it (gitlab-ctl reconfigure
), and redoing the process, but nothing works.
Steps to reproduce
This steps:
- https://docs.gitlab.com/ee/administration/backup_restore/migrate_to_new_server.html
- https://docs.gitlab.com/ee/administration/backup_restore/restore_gitlab.html
What is the current bug behavior?
Gitlab works but it doesn't have my data and I can't connect it.
What is the expected correct behavior?
Gitlab works with my data and I can connect it.
Relevant logs
Relevant logs
==> /var/log/gitlab/gitlab-exporter/current <== 2024-01-22_14:31:18.98322 - -> /ruby 2024-01-22_14:31:28.41162 ::1 - - [22/Jan/2024:14:31:28 UTC] "GET /sidekiq HTTP/1.1" 200 154722 2024-01-22_14:31:28.41164 - -> /sidekiq 2024-01-22_14:31:32.28404 E, [2024-01-22T14:31:32.283942 #17802] ERROR -- : Error connecting to the database: PQsocket() can't get socket descriptor 2024-01-22_14:31:32.28421 E, [2024-01-22T14:31:32.284149 #17802] ERROR -- : Error connecting to the database: PQsocket() can't get socket descriptor 2024-01-22_14:31:32.28436 E, [2024-01-22T14:31:32.284298 #17802] ERROR -- : Error connecting to the database: PQsocket() can't get socket descriptor 2024-01-22_14:31:32.30738 ::1 - - [22/Jan/2024:14:31:32 UTC] "GET /database HTTP/1.1" 200 0 2024-01-22_14:31:32.30739 - -> /database 2024-01-22_14:31:33.99938 ::1 - - [22/Jan/2024:14:31:33 UTC] "GET /ruby HTTP/1.1" 200 1087 2024-01-22_14:31:33.99940 - -> /ruby
Details of package version
Provide the package version installation details
||/ Name Version Architecture Description +++-==============-============-============-============================================================ un gitlab-ce (no description available) ii gitlab-ee 16.8.0-ee.0 amd64 GitLab Enterprise Edition (including NGINX, Postgres, Redis) un gitlab-fips (no description available)
Environment details
- Operating System:
Debian 12
- Installation Target, remove incorrect values:
- Bare Metal Machine
- Installation Type, remove incorrect values:
- New Installation
- Is there any other software running on the machine:
No
- Is this a single or multiple node installation?
- Resources
- CPU:
16
- Memory total:
32Go
- CPU: