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 :’