title: Always gitlab 502 error on RaspberryPi
body: <p>I 'm despair. I am trying to install gitlab for 3 days without success on my RaspberryPi 2 with Debian. I was following <a href="https://stackoverflow.com/questions/19606735/raspberry-pi-and-gitlab">this</a> guide at the newest version of gitlab (7-8-stable). I also installed the newest ruby version 2.2.1. If I ran <code>sudo -u git -H bundle exec rake gitlab:check RAILS_ENV=production</code> all field are green so the installation should be correct. <a href="http://pastebin.com/iZSgJHSk" rel="nofollow noreferrer">Here</a> is my <code>unicorn.stderr.log</code> file after the gitlab start an after the first site calling. The only error in the <code>production.log</code> file is </p>
  
  <pre><code>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'
  </code></pre>
  
  <p>and makes no sense for me. <a href="http://pastebin.com/00v1aP6D" rel="nofollow noreferrer">Here</a> is the <code>sidekiq.log</code>file. I already set the timeout in the <code>unicorn.rb</code> file to 360. </p>
  
  <p>A possible trouble could be the domain setting. I test gitlab in my local network so in every config I let the localhost option.</p>
  
  <p>EDIT:</p>
  
  <p>I test gitlab with a <strong>static</strong> local network ip <code>192.168.1.x</code>. Later I want to have access with the no-ip service and an domain like <code>xx.no-ip.org</code>. What should I write for </p>
  
  <pre><code># Update GitLab config file, follow the directions at top of file
  sudo -u git -H editor config/gitlab.yml
  </code></pre>
  
  <p>or in the nginx configuration. What is my fully qualified domain name? </p>
  
  <p>I think the problem lies here: </p>
  
  <pre><code>E, [2015-03-08T12:36:19.560253 #2751] ERROR -- : reaped #&lt;Process::Status: pid 2779 SIGABRT (signal 6)&gt; worker=2
  I, [2015-03-08T12:36:19.583573 #2878]  INFO -- : worker=2 ready
  </code></pre>
  
  <p>but I don't know how I can fix the problem.</p>
  
  <p>Can someone please help me?</p>