0

Gitlab : Backup Restore error

When i was try to restore a backup in gitlab, it' s fails and i am getting this error please help


rake aborted!
PG::ConnectionBad: could not connect to server: No such file or directory
    Is the server running locally and accepting
    connections on Unix domain socket " /var/opt/gitlab/postgresql/.s.PGSQL.5432" ?
/opt/gitlab/embedded/service/gitlab-rails/lib/tasks/gitlab/db.rake:27:in `block (3 levels) in < top (required)> ' 
/opt/gitlab/embedded/service/gitlab-rails/lib/tasks/gitlab/backup.rake:52:in `block (3 levels) in < top (required)> ' 
/opt/gitlab/embedded/bin/bundle:23:in `load' 
/opt/gitlab/embedded/bin/bundle:23:in `< main> ' 
Tasks: TOP =>  gitlab:db:drop_tables
(See full trace by running task with --trace)
Git gitlab Add a comment
frank
asked Dec 27 2017

Answer

0

it is really fine together with meanful. it is really amazing webpage. Back linking may be very important idea. you will have extremely improved lots of individuals what person see webpage and provides him or her usefull material. транспорт на кола от германия

Add a comment
articlesfree
asked Feb 03 2024
edited Feb 04 2024
Post your Answer
0

It's probably your gitlab services are went down. While restoring a gitlab backup we need to stop these two services (unicorn & sidekiq) alone, and rest of your gitlab services should be running, and then you can try restoring your backup once again. You can manager your gitlab services (to start, or stop, or to check stats) using gitlab-ctl command as shown below

gitlab-ctl stop [service_name] (to stop a gitlab service)

gitlab-ctl status (to check the status for all gitlab services)

gitlab-ctl start (to start all gitlab services)

gitlab-ctl start [service_name] (to start a particular gitlab service)

Add a comment
parthiban
asked Dec 27 2017
edited Oct 05 2018
Post your Answer