网上找了很久,有说8080端口被tomcat占用的,但是移除tomcat之后还是会报这个错。
参考GitLab – 502 Whoops, GitLab is taking too much time to respond[附]说只要运行:
sudo gitlab-ctl restart
或者:
sudo gitlab-ctl reconfigure
就可以搞定,然而这我里并不行。
后来看到有说是虚拟机装ubuntu的话,内存至少要2G才可以。
把内存改为2G,然后重启 gitlab——restart或者reconfigure,解决了。
附:
If you get the “502 Whoops, GitLab is taking too much time to respond” message, first thing to try is
sudo gitlab-ctl restart
IF the restart doesn’t help then try
sudo gitlab-ctl reconfigure
Typically one of the two will fix the problem.