Warning: file_get_contents(/data/phpspider/zhask/data//catemap/5/ruby/20.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Ruby RaspberryPi上始终存在gitlab 502错误_Ruby_Git_Gitlab - Fatal编程技术网

Ruby RaspberryPi上始终存在gitlab 502错误

Ruby RaspberryPi上始终存在gitlab 502错误,ruby,git,gitlab,Ruby,Git,Gitlab,我绝望了。我正试图用Debian在RaspberryPi 2上安装gitlab 3天,但没有成功。我在最新版本的gitlab(7-8-stable)上遵循指南。我还安装了最新的ruby版本2.2.1。如果我运行sudo-u git-H bundle exec rake gitlab:check RAILS\u ENV=production所有字段都是绿色的,因此安装应该是正确的。是gitlab在第一次站点调用后启动的unicorn.stderr.log文件。production.log文件中唯一

我绝望了。我正试图用Debian在RaspberryPi 2上安装gitlab 3天,但没有成功。我在最新版本的gitlab(7-8-stable)上遵循指南。我还安装了最新的ruby版本2.2.1。如果我运行
sudo-u git-H bundle exec rake gitlab:check RAILS\u ENV=production
所有字段都是绿色的,因此安装应该是正确的。是gitlab在第一次站点调用后启动的
unicorn.stderr.log
文件。
production.log
文件中唯一的错误是

PG::Error: ERROR:  database "gitlabhq_production" already exists
: CREATE DATABASE "gitlabhq_production" ENCODING = 'unicode'
PG::Error: ERROR:  database "gitlabhq_production" already exists
: CREATE DATABASE "gitlabhq_production" ENCODING = 'unicode'
对我来说毫无意义。是
sidekiq.log
文件。我已经在
unicorn.rb
文件中将超时设置为360

一个可能的问题可能是域设置。我在本地网络中测试gitlab,因此在每个配置中我都允许使用localhost选项

编辑:

我使用本地网络ip
192.168.1.x
测试gitlab。稍后,我想使用无ip服务和类似
xx.no ip.org
的域进行访问。我应该写什么

# Update GitLab config file, follow the directions at top of file
sudo -u git -H editor config/gitlab.yml
或者在nginx配置中。我的完全限定域名是什么

我认为问题在于:

E, [2015-03-08T12:36:19.560253 #2751] ERROR -- : reaped #<Process::Status: pid 2779 SIGABRT (signal 6)> worker=2
I, [2015-03-08T12:36:19.583573 #2878]  INFO -- : worker=2 ready
E[2015-03-08T12:36:19.560253#2751]错误--:收获的工人=2
一、 [2015-03-08T12:36:19.583573#2878]信息--:工人=2准备就绪
但我不知道如何解决这个问题


有人能帮我吗?

我终于拿到了。这篇文章很有帮助。谢谢您的帮助!…:/

链接到一个现在已经死了的帖子真的没有helped@H2ONOCK我很抱歉,我没有每天检查我3年前写的答案中的链接是否仍然可以访问…没有必要为此道歉,也许只是写下更好的答案,以便在将来可以及时查看,而不是链接出来?谢谢