Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Admin: Keyrelay only partially removed #1426

Closed
vohmar opened this issue Nov 29, 2019 · 2 comments
Closed

Admin: Keyrelay only partially removed #1426

vohmar opened this issue Nov 29, 2019 · 2 comments
Assignees
Labels

Comments

@vohmar
Copy link
Contributor

vohmar commented Nov 29, 2019

There are errors in the logs from admin interface that is looking for keyrelay table.

Related to #715

Nov 29 14:00:41 test-reg ADMIN[16214]: [testadm] [7f249aef-e028-4f09-88c0-5dabeef271a5] [172.16.248.5] Completed 500 Internal Server Error in 58ms (ActiveRecord: 20.3ms)
Nov 29 14:00:41 test-reg ADMIN[16214]: [testadm] [7f249aef-e028-4f09-88c0-5dabeef271a5] [172.16.248.5] #012ActionView::Template::Error (PG::UndefinedTable: ERROR: relation "keyrelays" does not exist#012LINE 5: WHERE a.attrelid = '"keyrelays"'::regclass#012 ^#12: SELECT a.attname, format_type(a.atttypid, a.atttypmod),#12 pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod#012 FROM pg_attribute a LEFT JOIN pg_attrdef d#012 ON a.attrelid = d.adrelid AND a.attnum = d.adnum#012 WHERE a.attrelid = '"keyrelays"'::regclass#012 AND a.attnum > 0 AND NOT a.attisdropped#012 ORDER BY a.attnum#012):#12 11: %th{class: 'col-xs-2'}= t(:accepter)#12 12: %th{class: 'col-xs-1'}= t(:status)#12 13: %tbody#012 14: - @domain.keyrelays.includes([:requester, :accepter]).order(pa_date: :desc).each do |x|#12 15: %tr#012 16: %td= link_to(x.pa_date, [:admin, x])#12 17: %td= x.expiry#012 app/views/admin/domains/partials/_keyrelays.haml:14:in _app_views_admin_domains_partials__keyrelays_haml___1172657118214148997_47041031996680'#012 app/views/admin/domains/show.html.erb:62:in _app_views_admin_domains_show_html_erb___3072294832580202778_47041012755040'

@vohmar vohmar added the bug label Nov 29, 2019
@vohmar
Copy link
Contributor Author

vohmar commented Nov 29, 2019

keyrealay reference are in domain detail view and there is separate keyrelay menu also. Missing keyrelay table renders domain detail view unusable

@artur-intech
Copy link
Contributor

artur-intech commented Nov 30, 2019

PG::UndefinedTable: ERROR: relation "keyrelays" there is no such table in the database. Try redeploying.

#377 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants