<p>So why on earth have you installed from source instead of installing from either the Ubuntu APT repos or the postgres ones?</p>

<p>In any case the issue is almost certainly that your locally built postgres is using some weird directory in /usr/local for it's sockets, so you will need to configure database.yml appropriately. You'll need to google for the details though because I have no idea.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br>Reply to this email directly or <a href="https://github.com/openstreetmap/openstreetmap-website/issues/978#issuecomment-106768903">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/ABWnLQgMtkOXQWxbsVl-9F7EqiJd6-zcks5oODjbgaJpZM4Eu7Zt.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
  <div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
    <link itemprop="url" href="https://github.com/openstreetmap/openstreetmap-website/issues/978#issuecomment-106768903"></link>
    <meta itemprop="name" content="View Issue"></meta>
  </div>
  <meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>