[openstreetmap/openstreetmap-website] Ident authentication fails when I connect to Postgres as a different user (#2045)

5x3 notifications at github.com
Tue Nov 6 14:33:51 UTC 2018


RAILS_ENV=production bundle exec rails server
starts OK but
when I invoke
curl -v http://127.0.0.1:3000


```
bob at 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 at openstreetmap:~/openstreetmap-website# 

```


-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/issues/2045#issuecomment-436273009
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20181106/9106928f/attachment-0001.html>


More information about the rails-dev mailing list