<p>RAILS_ENV=production bundle exec rails server<br>
starts OK but<br>
when I invoke<br>
curl -v <a href="http://127.0.0.1:3000" rel="nofollow">http://127.0.0.1:3000</a></p>
<pre><code>bob@openstreetmap:~/openstreetmap-website# cat log/production.log
I, [2018-11-06T09:32:11.893531 #1990] INFO -- : Message: getpresets
W, [2018-11-06T09:32:12.077609 #1990] WARN -- : Creating scope :open. Overwriting existing method Issue.open.
I, [2018-11-06T09:32:15.847575 #1990] INFO -- : [67625fa4-dce7-4afb-8cce-3e00f40cf072] Started GET "/" for 127.0.0.1 at 2018-11-06 09:32:15 -0500
I, [2018-11-06T09:32:15.900328 #1990] INFO -- : [67625fa4-dce7-4afb-8cce-3e00f40cf072] Processing by SiteController#index as */*
I, [2018-11-06T09:32:17.022691 #1990] INFO -- : [67625fa4-dce7-4afb-8cce-3e00f40cf072] Rendering site/index.html.erb within layouts/map
I, [2018-11-06T09:32:17.023587 #1990] INFO -- : [67625fa4-dce7-4afb-8cce-3e00f40cf072] Rendered site/index.html.erb within layouts/map (0.7ms)
I, [2018-11-06T09:32:17.028594 #1990] INFO -- : [67625fa4-dce7-4afb-8cce-3e00f40cf072] Completed 500 Internal Server Error in 1128ms
F, [2018-11-06T09:32:17.029322 #1990] FATAL -- : [67625fa4-dce7-4afb-8cce-3e00f40cf072]
F, [2018-11-06T09:32:17.029357 #1990] FATAL -- : [67625fa4-dce7-4afb-8cce-3e00f40cf072] ActionView::Template::Error (The asset "index.js" is not present in the asset pipeline.):
F, [2018-11-06T09:32:17.029485 #1990] FATAL -- : [67625fa4-dce7-4afb-8cce-3e00f40cf072] 1: <% content_for :head do %>
[67625fa4-dce7-4afb-8cce-3e00f40cf072] 2: <%= javascript_include_tag "index" %>
[67625fa4-dce7-4afb-8cce-3e00f40cf072] 3: <% end %>
[67625fa4-dce7-4afb-8cce-3e00f40cf072] 4:
[67625fa4-dce7-4afb-8cce-3e00f40cf072] 5: <% content_for(:body_class) { "map-layout" } %>
F, [2018-11-06T09:32:17.029516 #1990] FATAL -- : [67625fa4-dce7-4afb-8cce-3e00f40cf072]
F, [2018-11-06T09:32:17.029537 #1990] FATAL -- : [67625fa4-dce7-4afb-8cce-3e00f40cf072] app/views/layouts/map.html.erb:2:in `block in _app_views_layouts_map_html_erb___2600159433901687752_47157810216420'
[67625fa4-dce7-4afb-8cce-3e00f40cf072] app/views/layouts/map.html.erb:1:in `_app_views_layouts_map_html_erb___2600159433901687752_47157810216420'
[67625fa4-dce7-4afb-8cce-3e00f40cf072] config/initializers/cors.rb:9:in `call'
[67625fa4-dce7-4afb-8cce-3e00f40cf072] config/initializers/compressed_requests.rb:27:in `call'
I, [2018-11-06T09:32:17.030269 #1990] INFO -- : [67625fa4-dce7-4afb-8cce-3e00f40cf072] Processing by ErrorsController#internal_server_error as */*
I, [2018-11-06T09:32:17.034552 #1990] INFO -- : [67625fa4-dce7-4afb-8cce-3e00f40cf072] Rendering errors/internal_server_error.html.erb within layouts/error
I, [2018-11-06T09:32:17.034871 #1990] INFO -- : [67625fa4-dce7-4afb-8cce-3e00f40cf072] Rendered errors/internal_server_error.html.erb within layouts/error (0.2ms)
I, [2018-11-06T09:32:17.038324 #1990] INFO -- : [67625fa4-dce7-4afb-8cce-3e00f40cf072] Completed 500 Internal Server Error in 8ms
bob@openstreetmap:~/openstreetmap-website#
</code></pre>
<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/openstreetmap/openstreetmap-website/issues/2045#issuecomment-436273009">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABWnLZMTbrjQ6hZZ3HDyskDfd4NVOFSXks5usZ3PgaJpZM4YQa6x">mute the thread</a>.<img src="https://github.com/notifications/beacon/ABWnLetYw7wuNPZQ43Z4xrRfML4BTfTDks5usZ3PgaJpZM4YQa6x.gif" height="1" width="1" alt="" /></p>
<script type="application/json" data-scope="inboxmarkup">{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/openstreetmap/openstreetmap-website","title":"openstreetmap/openstreetmap-website","subtitle":"GitHub repository","main_image_url":"https://assets-cdn.github.com/images/email/message_cards/header.png","avatar_image_url":"https://assets-cdn.github.com/images/email/message_cards/avatar.png","action":{"name":"Open in GitHub","url":"https://github.com/openstreetmap/openstreetmap-website"}},"updates":{"snippets":[{"icon":"PERSON","message":"@5x3 in #2045: RAILS_ENV=production bundle exec rails server\r\nstarts OK but\r\nwhen I invoke\r\ncurl -v http://127.0.0.1:3000\r\n\r\n\r\n```\r\nbob@openstreetmap:~/openstreetmap-website# cat log/production.log \r\nI, [2018-11-06T09:32:11.893531 #1990] INFO -- : Message: getpresets\r\nW, [2018-11-06T09:32:12.077609 #1990] WARN -- : Creating scope :open. Overwriting existing method Issue.open.\r\nI, [2018-11-06T09:32:15.847575 #1990] INFO -- : [67625fa4-dce7-4afb-8cce-3e00f40cf072] Started GET \"/\" for 127.0.0.1 at 2018-11-06 09:32:15 -0500\r\nI, [2018-11-06T09:32:15.900328 #1990] INFO -- : [67625fa4-dce7-4afb-8cce-3e00f40cf072] Processing by SiteController#index as */*\r\nI, [2018-11-06T09:32:17.022691 #1990] INFO -- : [67625fa4-dce7-4afb-8cce-3e00f40cf072] Rendering site/index.html.erb within layouts/map\r\nI, [2018-11-06T09:32:17.023587 #1990] INFO -- : [67625fa4-dce7-4afb-8cce-3e00f40cf072] Rendered site/index.html.erb within layouts/map (0.7ms)\r\nI, [2018-11-06T09:32:17.028594 #1990] INFO -- : [67625fa4-dce7-4afb-8cce-3e00f40cf072] Completed 500 Internal Server Error in 1128ms\r\nF, [2018-11-06T09:32:17.029322 #1990] FATAL -- : [67625fa4-dce7-4afb-8cce-3e00f40cf072] \r\nF, [2018-11-06T09:32:17.029357 #1990] FATAL -- : [67625fa4-dce7-4afb-8cce-3e00f40cf072] ActionView::Template::Error (The asset \"index.js\" is not present in the asset pipeline.):\r\nF, [2018-11-06T09:32:17.029485 #1990] FATAL -- : [67625fa4-dce7-4afb-8cce-3e00f40cf072] 1: \u003c% content_for :head do %\u003e\r\n[67625fa4-dce7-4afb-8cce-3e00f40cf072] 2: \u003c%= javascript_include_tag \"index\" %\u003e\r\n[67625fa4-dce7-4afb-8cce-3e00f40cf072] 3: \u003c% end %\u003e\r\n[67625fa4-dce7-4afb-8cce-3e00f40cf072] 4: \r\n[67625fa4-dce7-4afb-8cce-3e00f40cf072] 5: \u003c% content_for(:body_class) { \"map-layout\" } %\u003e\r\nF, [2018-11-06T09:32:17.029516 #1990] FATAL -- : [67625fa4-dce7-4afb-8cce-3e00f40cf072] \r\nF, [2018-11-06T09:32:17.029537 #1990] FATAL -- : [67625fa4-dce7-4afb-8cce-3e00f40cf072] app/views/layouts/map.html.erb:2:in `block in _app_views_layouts_map_html_erb___2600159433901687752_47157810216420'\r\n[67625fa4-dce7-4afb-8cce-3e00f40cf072] app/views/layouts/map.html.erb:1:in `_app_views_layouts_map_html_erb___2600159433901687752_47157810216420'\r\n[67625fa4-dce7-4afb-8cce-3e00f40cf072] config/initializers/cors.rb:9:in `call'\r\n[67625fa4-dce7-4afb-8cce-3e00f40cf072] config/initializers/compressed_requests.rb:27:in `call'\r\nI, [2018-11-06T09:32:17.030269 #1990] INFO -- : [67625fa4-dce7-4afb-8cce-3e00f40cf072] Processing by ErrorsController#internal_server_error as */*\r\nI, [2018-11-06T09:32:17.034552 #1990] INFO -- : [67625fa4-dce7-4afb-8cce-3e00f40cf072] Rendering errors/internal_server_error.html.erb within layouts/error\r\nI, [2018-11-06T09:32:17.034871 #1990] INFO -- : [67625fa4-dce7-4afb-8cce-3e00f40cf072] Rendered errors/internal_server_error.html.erb within layouts/error (0.2ms)\r\nI, [2018-11-06T09:32:17.038324 #1990] INFO -- : [67625fa4-dce7-4afb-8cce-3e00f40cf072] Completed 500 Internal Server Error in 8ms\r\nbob@openstreetmap:~/openstreetmap-website# \r\n\r\n```\r\n"}],"action":{"name":"View Issue","url":"https://github.com/openstreetmap/openstreetmap-website/issues/2045#issuecomment-436273009"}}}</script>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/openstreetmap/openstreetmap-website/issues/2045#issuecomment-436273009",
"url": "https://github.com/openstreetmap/openstreetmap-website/issues/2045#issuecomment-436273009",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
},
{
"@type": "MessageCard",
"@context": "http://schema.org/extensions",
"hideOriginalBody": "false",
"originator": "AF6C5A86-E920-430C-9C59-A73278B5EFEB",
"title": "Re: [openstreetmap/openstreetmap-website] Ident authentication fails when I connect to Postgres as a different user (#2045)",
"sections": [
{
"text": "",
"activityTitle": "**5x3**",
"activityImage": "https://assets-cdn.github.com/images/email/message_cards/avatar.png",
"activitySubtitle": "@5x3",
"facts": [
]
}
],
"potentialAction": [
{
"name": "Add a comment",
"@type": "ActionCard",
"inputs": [
{
"isMultiLine": true,
"@type": "TextInput",
"id": "IssueComment",
"isRequired": false
}
],
"actions": [
{
"name": "Comment",
"@type": "HttpPOST",
"target": "https://api.github.com",
"body": "{\n\"commandName\": \"IssueComment\",\n\"repositoryFullName\": \"openstreetmap/openstreetmap-website\",\n\"issueId\": 2045,\n\"IssueComment\": \"{{IssueComment.value}}\"\n}"
}
]
},
{
"targets": [
{
"os": "default",
"uri": "https://github.com/openstreetmap/openstreetmap-website/issues/2045#issuecomment-436273009"
}
],
"@type": "OpenUri",
"name": "View on GitHub"
},
{
"name": "Unsubscribe",
"@type": "HttpPOST",
"target": "https://api.github.com",
"body": "{\n\"commandName\": \"MuteNotification\",\n\"threadId\": 406957745\n}"
}
],
"themeColor": "26292E"
}
]</script>