Error 502 : Whoops, GitLab is taking too much time to respond

Hi,
i got error 502 when acces my web page. i just copy mygitlab from my backup. all the service is up/run now. but it still error when access the webpage. please help me how to solve this.
and please what log should i show for this. i really have no idea.
regards

here from the gitlab-rails log

This looks like your database isn’t running. Run gitlab-ctl status postgresql to see if its running. Or gitlab-ctl status to see all.
Try to restart your database gitlab-ctl restart postgresql or look in /var/log/gitlab/postgresql/ for errors.

thanks for the respon, heres my gitlab-ctl status


i already restart
here the postgresql log

You can check if the permissions for the socket are correct, I have
srwxrwxrwx. 1 gitlab-psql gitlab-psql 0 Mar 9 08:47 .s.PGSQL.5432

Also what are the messages about /opt/gitlab/ and /data2/gitlab/? Do you have some symlinks there?

is the socket u mean on path /var/opt/gitlab/postgresql/ ?
image

ya, i created symlink on /opt/gitlab/ to the disk that i just restore from backup /data2/gitlab/

hi can someone help me :’

Hi,

The answer comes propably a little bit too late - but for future searchers some info:
I had the same problem and it was solved after updating my gitlab version following the update path documented here:

I recovered by backup as written here:

Then I updated using the following commands:

EXTERNAL_URL="https://gitlab.MYDOMAIN.de" apt-get install gitlab-ce=13.0.14-ce.0
   EXTERNAL_URL="https://gitlab.MYDOMAIN.de" apt-get install gitlab-ce=13.1.11-ce.0
   EXTERNAL_URL="https://gitlab.MYDOMAIN.de" apt-get install gitlab-ce=13.8.8-ce.0
   EXTERNAL_URL="https://gitlab.MYDOMAIN.de" apt-get install gitlab-ce=13.12.10-ce.0

Best regards, Alex