<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=utf-8">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <p>Er det mulig å fikse dette?<br>
    </p>
    <div class="moz-forward-container">Ben<br>
      <br>
      -------- Forwarded Message --------
      <table class="moz-email-headers-table" border="0" cellpadding="0"
        cellspacing="0">
        <tbody>
          <tr>
            <th align="RIGHT" nowrap="nowrap" valign="BASELINE">Subject:
            </th>
            <td>[rt.nuug.no #16742] [ERROR] general#version
              (ActiveRecord::StatementInvalid) "PG::UndefinedTable:
              ERROR: relation \"widget_votes\" does not...</td>
          </tr>
          <tr>
            <th align="RIGHT" nowrap="nowrap" valign="BASELINE">Date: </th>
            <td>Mon, 24 Oct 2016 12:17:13 +0200</td>
          </tr>
          <tr>
            <th align="RIGHT" nowrap="nowrap" valign="BASELINE">From: </th>
            <td>do-not-reply-to-this-address@localhost via RT
              <a class="moz-txt-link-rfc2396E" href="mailto:mimesbronn@rt.nuug.no">&lt;mimesbronn@rt.nuug.no&gt;</a></td>
          </tr>
          <tr>
            <th align="RIGHT" nowrap="nowrap" valign="BASELINE">Reply-To:
            </th>
            <td><a class="moz-txt-link-abbreviated" href="mailto:mimesbronn@rt.nuug.no">mimesbronn@rt.nuug.no</a></td>
          </tr>
        </tbody>
      </table>
      <br>
      <br>
      <pre>Mon Oct 24 12:17:13 2016: Request 16742 was acted upon.
Transaction: Ticket created by do-not-reply-to-this-address@localhost
       Queue: mimesbronn
     Subject: [ERROR] general#version (ActiveRecord::StatementInvalid) "PG::UndefinedTable: ERROR:  relation \"widget_votes\" does not...
       Owner: Nobody
  Requestors: 
      Status: new
 Ticket &lt;URL: <a class="moz-txt-link-freetext" href="https://rt.nuug.no:443/Ticket/Display.html?id=16742">https://rt.nuug.no:443/Ticket/Display.html?id=16742</a> &gt;


An ActiveRecord::StatementInvalid occurred in general#version:

  PG::UndefinedTable: ERROR:  relation "widget_votes" does not exist
LINE 5:              WHERE a.attrelid = '"widget_votes"'::regclass
                                        ^
:             SELECT a.attname, format_type(a.atttypid, a.atttypmod),
                     pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod
              FROM pg_attribute a LEFT JOIN pg_attrdef d
                ON a.attrelid = d.adrelid AND a.attnum = d.adnum
             WHERE a.attrelid = '"widget_votes"'::regclass
               AND a.attnum &gt; 0 AND NOT a.attisdropped
             ORDER BY a.attnum

  activerecord (3.2.21) lib/active_record/connection_adapters/postgresql_adapter.rb:1163:in `async_exec'


-------------------------------
Request:
-------------------------------

  * URL       : <a class="moz-txt-link-freetext" href="https://www.mimesbronn.no/version.json">https://www.mimesbronn.no/version.json</a>
  * IP address: 50.116.3.88
  * Parameters: {"controller"=&gt;"general", "action"=&gt;"version", "format"=&gt;"json"}
  * Rails root: /srv/alaveteli_production/releases/20150919122035
  * Timestamp : 2016-10-24 12:17:07 +0200

-------------------------------
Session:
-------------------------------

  * session id: [FILTERED]
  * data: {"session_id"=&gt;"39c58e1047eb4c657d94c18db3fbee29", "locale"=&gt;"nb"}

-------------------------------
Environment:
-------------------------------

  * CONTENT_LENGTH                                 : 0
  * GATEWAY_INTERFACE                              : CGI/1.2
  * HTTP_ACCEPT                                    : */*
  * HTTP_ACCEPT_CHARSET                            : ISO-8859-1,utf-8;q=0.7,*;q=0.7
  * HTTP_ACCEPT_ENCODING                           : gzip,deflate,identity
  * HTTP_ACCEPT_LANGUAGE                           : en-us,en;q=0.5
  * HTTP_CONNECTION                                : close
  * HTTP_HOST                                      : <a class="moz-txt-link-abbreviated" href="http://www.mimesbronn.no">www.mimesbronn.no</a>
  * HTTP_USER_AGENT                                : Mechanize/2.7.3 Ruby/2.2.4p230 (<a class="moz-txt-link-freetext" href="http://github.com/sparklemotion/mechanize/">http://github.com/sparklemotion/mechanize/</a>)
  * HTTP_VERSION                                   : HTTP/1.0
  * HTTP_X_ACCEL_MAPPING                           : /srv/alaveteli_production/shared/cache/zips/production/download=/download
  * HTTP_X_FORWARDED_FOR                           : 50.116.3.88
  * HTTP_X_FORWARDED_PROTO                         : https
  * HTTP_X_REAL_IP                                 : 50.116.3.88
  * HTTP_X_SENDFILE_TYPE                           : X-Accel-Redirect
  * ORIGINAL_FULLPATH                              : /version.json
  * PATH_INFO                                      : /version.json
  * QUERY_STRING                                   : 
  * REMOTE_ADDR                                    : 127.0.0.1
  * REQUEST_METHOD                                 : GET
  * REQUEST_PATH                                   : /version.json
  * REQUEST_URI                                    : /version.json
  * SCRIPT_NAME                                    : 
  * SERVER_NAME                                    : <a class="moz-txt-link-abbreviated" href="http://www.mimesbronn.no">www.mimesbronn.no</a>
  * SERVER_PORT                                    : 80
  * SERVER_PROTOCOL                                : HTTP/1.1
  * SERVER_SOFTWARE                                : thin 1.5.1 codename Straight Razor
  * action_controller.instance                     : general#version
  * action_dispatch.backtrace_cleaner              : #&lt;Rails::BacktraceCleaner:0x000000066cb280&gt;
  * action_dispatch.cookies                        : #&lt;ActionDispatch::Cookies::CookieJar:0x0000000f20e3d8&gt;
  * action_dispatch.logger                         : #&lt;ActiveSupport::TaggedLogging:0x00000005760660&gt;
  * action_dispatch.parameter_filter               : [:password, /RAW_POST_DATA/, /RAW_POST_DATA/, /RAW_POST_DATA/]
  * action_dispatch.remote_ip                      : 50.116.3.88
  * action_dispatch.request.content_type           : 
  * action_dispatch.request.formats                : [application/json]
  * action_dispatch.request.parameters             : {"controller"=&gt;"general", "action"=&gt;"version", "format"=&gt;"json"}
  * action_dispatch.request.path_parameters        : {:controller=&gt;"general", :action=&gt;"version", :format=&gt;"json"}
  * action_dispatch.request.query_parameters       : {}
  * action_dispatch.request.request_parameters     : {}
  * action_dispatch.request.unsigned_session_cookie: {"session_id"=&gt;"39c58e1047eb4c657d94c18db3fbee29"}
  * action_dispatch.request_id                     : 5e7d5004ca1f8ba56fbd8b7123b37b7e
  * action_dispatch.routes                         : #&lt;ActionDispatch::Routing::RouteSet:0x000000056a6f58&gt;
  * action_dispatch.secret_token                   : 3$M3XjgpED5B#^CM*m$Y7Z8JfbUt^crCm^$*rDvrV8sxBTnhygndV#HRMYRySucUC
  * action_dispatch.show_detailed_exceptions       : false
  * action_dispatch.show_exceptions                : true
  * async.callback                                 : #&lt;Method: Thin::Connection#post_process&gt;
  * async.close                                    : #&lt;EventMachine::DefaultDeferrable:0x0000000f84f698&gt;
  * newrelic.transaction_started                   : true
  * rack.errors                                    : #&lt;IO:0x00000001809318&gt;
  * rack.input                                     : #&lt;StringIO:0x0000000f84ff58&gt;
  * rack.multiprocess                              : false
  * rack.multithread                               : false
  * rack.request.cookie_hash                       : {}
  * rack.request.query_hash                        : {}
  * rack.request.query_string                      : 
  * rack.run_once                                  : false
  * rack.session                                   : {"session_id"=&gt;"39c58e1047eb4c657d94c18db3fbee29", "locale"=&gt;"nb"}
  * rack.session.options                           : {:path=&gt;"/", :domain=&gt;nil, :expire_after=&gt;nil, :secure=&gt;false, :httponly=&gt;true, :defer=&gt;false, :renew=&gt;false, :secret=&gt;"5e67a9537cd3c773fef39463ecb8437faeb0332975fcbfa81ee2f8dc1c7b", :coder=&gt;#&lt;Rack::Session::Cookie::Base64::Marshal:0x00000005d9b1d8&gt;, :id=&gt;"39c58e1047eb4c657d94c18db3fbee29"}
  * rack.url_scheme                                : http
  * rack.version                                   : [1, 0]
  
  * Process: 13121
  * Server : alaveteli-prod.nuug.no

-------------------------------
Backtrace:
-------------------------------

  activerecord (3.2.21) lib/active_record/connection_adapters/postgresql_adapter.rb:1163:in `async_exec'
  activerecord (3.2.21) lib/active_record/connection_adapters/postgresql_adapter.rb:1163:in `exec_no_cache'
  activerecord (3.2.21) lib/active_record/connection_adapters/postgresql_adapter.rb:660:in `block in exec_query'
  activerecord (3.2.21) lib/active_record/connection_adapters/abstract_adapter.rb:280:in `block in log'
  activesupport (3.2.21) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
  activerecord (3.2.21) lib/active_record/connection_adapters/abstract_adapter.rb:275:in `log'
  newrelic_rpm (3.12.1.298) lib/new_relic/agent/instrumentation/active_record.rb:59:in `block in log_with_newrelic_instrumentation'
  newrelic_rpm (3.12.1.298) lib/new_relic/agent/method_tracer.rb:73:in `block in trace_execution_scoped'
  newrelic_rpm (3.12.1.298) lib/new_relic/agent/method_tracer_helpers.rb:82:in `trace_execution_scoped'
  newrelic_rpm (3.12.1.298) lib/new_relic/agent/method_tracer.rb:71:in `trace_execution_scoped'
  newrelic_rpm (3.12.1.298) lib/new_relic/agent/instrumentation/active_record.rb:56:in `log_with_newrelic_instrumentation'
  activerecord (3.2.21) lib/active_record/connection_adapters/postgresql_adapter.rb:659:in `exec_query'
  activerecord (3.2.21) lib/active_record/connection_adapters/postgresql_adapter.rb:1292:in `column_definitions'
  activerecord (3.2.21) lib/active_record/connection_adapters/postgresql_adapter.rb:855:in `columns'
  activerecord (3.2.21) lib/active_record/connection_adapters/schema_cache.rb:12:in `block in initialize'
  activerecord (3.2.21) lib/active_record/model_schema.rb:229:in `yield'
  activerecord (3.2.21) lib/active_record/model_schema.rb:229:in `default'
  activerecord (3.2.21) lib/active_record/model_schema.rb:229:in `columns'
  activerecord (3.2.21) lib/active_record/model_schema.rb:249:in `column_names'
  activerecord (3.2.21) lib/active_record/relation/calculations.rb:220:in `aggregate_column'
  activerecord (3.2.21) lib/active_record/relation/calculations.rb:241:in `execute_simple_calculation'
  activerecord (3.2.21) lib/active_record/relation/calculations.rb:215:in `perform_calculation'
  activerecord (3.2.21) lib/active_record/relation/calculations.rb:159:in `calculate'
  activerecord (3.2.21) lib/active_record/relation/calculations.rb:58:in `count'
  activerecord (3.2.21) lib/active_record/querying.rb:12:in `count'
  app/controllers/general_controller.rb:203:in `block (2 levels) in version'
  actionpack (3.2.21) lib/action_controller/metal/mime_responds.rb:196:in `call'
  actionpack (3.2.21) lib/action_controller/metal/mime_responds.rb:196:in `respond_to'
  app/controllers/general_controller.rb:192:in `version'
  actionpack (3.2.21) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
  actionpack (3.2.21) lib/abstract_controller/base.rb:167:in `process_action'
  actionpack (3.2.21) lib/action_controller/metal/rendering.rb:10:in `process_action'
  actionpack (3.2.21) lib/abstract_controller/callbacks.rb:18:in `block in process_action'
  activesupport (3.2.21) lib/active_support/callbacks.rb:591:in `block in _run__3305783166855647946__process_action__1952611876480500104__callbacks'
  activesupport (3.2.21) lib/active_support/callbacks.rb:215:in `block in _conditional_callback_around_1158'
  app/controllers/application_controller.rb:122:in `record_memory'
  activesupport (3.2.21) lib/active_support/callbacks.rb:214:in `_conditional_callback_around_1158'
  activesupport (3.2.21) lib/active_support/callbacks.rb:590:in `_run__3305783166855647946__process_action__1952611876480500104__callbacks'
  activesupport (3.2.21) lib/active_support/callbacks.rb:405:in `__run_callback'
  activesupport (3.2.21) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks'
  activesupport (3.2.21) lib/active_support/callbacks.rb:81:in `run_callbacks'
  actionpack (3.2.21) lib/abstract_controller/callbacks.rb:17:in `process_action'
  actionpack (3.2.21) lib/action_controller/metal/rescue.rb:29:in `process_action'
  actionpack (3.2.21) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action'
  activesupport (3.2.21) lib/active_support/notifications.rb:123:in `block in instrument'
  activesupport (3.2.21) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
  activesupport (3.2.21) lib/active_support/notifications.rb:123:in `instrument'
  actionpack (3.2.21) lib/action_controller/metal/instrumentation.rb:29:in `process_action'
  actionpack (3.2.21) lib/action_controller/metal/params_wrapper.rb:207:in `process_action'
  activerecord (3.2.21) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
  newrelic_rpm (3.12.1.298) lib/new_relic/agent/instrumentation/rails3/action_controller.rb:28:in `block in process_action'
  newrelic_rpm (3.12.1.298) lib/new_relic/agent/instrumentation/controller_instrumentation.rb:361:in `perform_action_with_newrelic_trace'
  newrelic_rpm (3.12.1.298) lib/new_relic/agent/instrumentation/rails3/action_controller.rb:27:in `process_action'
  actionpack (3.2.21) lib/abstract_controller/base.rb:121:in `process'
  actionpack (3.2.21) lib/abstract_controller/rendering.rb:45:in `process'
  actionpack (3.2.21) lib/action_controller/metal.rb:203:in `dispatch'
  actionpack (3.2.21) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch'
  actionpack (3.2.21) lib/action_controller/metal.rb:246:in `block in action'
  actionpack (3.2.21) lib/action_dispatch/routing/route_set.rb:73:in `call'
  actionpack (3.2.21) lib/action_dispatch/routing/route_set.rb:73:in `dispatch'
  actionpack (3.2.21) lib/action_dispatch/routing/route_set.rb:36:in `call'
  journey (1.0.4) lib/journey/router.rb:68:in `block in call'
  journey (1.0.4) lib/journey/router.rb:56:in `each'
  journey (1.0.4) lib/journey/router.rb:56:in `call'
  actionpack (3.2.21) lib/action_dispatch/routing/route_set.rb:608:in `call'
  newrelic_rpm (3.12.1.298) lib/new_relic/agent/instrumentation/middleware_tracing.rb:67:in `call'
  newrelic_rpm (3.12.1.298) lib/new_relic/rack/agent_hooks.rb:30:in `traced_call'
  newrelic_rpm (3.12.1.298) lib/new_relic/agent/instrumentation/middleware_tracing.rb:67:in `call'
  newrelic_rpm (3.12.1.298) lib/new_relic/rack/browser_monitoring.rb:32:in `traced_call'
  newrelic_rpm (3.12.1.298) lib/new_relic/agent/instrumentation/middleware_tracing.rb:67:in `call'
  exception_notification (3.0.1) lib/exception_notifier.rb:41:in `call'
  newrelic_rpm (3.12.1.298) lib/new_relic/agent/instrumentation/middleware_tracing.rb:67:in `call'
  actionpack (3.2.21) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
  newrelic_rpm (3.12.1.298) lib/new_relic/agent/instrumentation/middleware_tracing.rb:67:in `call'
  rack (1.4.6) lib/rack/etag.rb:23:in `call'
  newrelic_rpm (3.12.1.298) lib/new_relic/agent/instrumentation/middleware_tracing.rb:67:in `call'
  rack (1.4.6) lib/rack/conditionalget.rb:25:in `call'
  newrelic_rpm (3.12.1.298) lib/new_relic/agent/instrumentation/middleware_tracing.rb:67:in `call'
  actionpack (3.2.21) lib/action_dispatch/middleware/head.rb:14:in `call'
  newrelic_rpm (3.12.1.298) lib/new_relic/agent/instrumentation/middleware_tracing.rb:67:in `call'
  actionpack (3.2.21) lib/action_dispatch/middleware/params_parser.rb:21:in `call'
  newrelic_rpm (3.12.1.298) lib/new_relic/agent/instrumentation/middleware_tracing.rb:67:in `call'
  actionpack (3.2.21) lib/action_dispatch/middleware/flash.rb:242:in `call'
  newrelic_rpm (3.12.1.298) lib/new_relic/agent/instrumentation/middleware_tracing.rb:67:in `call'
  rack (1.4.6) lib/rack/session/abstract/id.rb:210:in `context'
  rack (1.4.6) lib/rack/session/abstract/id.rb:205:in `call'
  newrelic_rpm (3.12.1.298) lib/new_relic/agent/instrumentation/middleware_tracing.rb:67:in `call'
  actionpack (3.2.21) lib/action_dispatch/middleware/cookies.rb:341:in `call'
  newrelic_rpm (3.12.1.298) lib/new_relic/agent/instrumentation/middleware_tracing.rb:67:in `call'
  rack-ssl (1.3.4) lib/rack/ssl.rb:27:in `call'
  newrelic_rpm (3.12.1.298) lib/new_relic/agent/instrumentation/middleware_tracing.rb:67:in `call'
  lib/whatdotheyknow/strip_empty_sessions.rb:15:in `call'
  newrelic_rpm (3.12.1.298) lib/new_relic/agent/instrumentation/middleware_tracing.rb:67:in `call'
  activerecord (3.2.21) lib/active_record/query_cache.rb:64:in `call'
  newrelic_rpm (3.12.1.298) lib/new_relic/agent/instrumentation/middleware_tracing.rb:67:in `call'
  activerecord (3.2.21) lib/active_record/connection_adapters/abstract/connection_pool.rb:479:in `call'
  newrelic_rpm (3.12.1.298) lib/new_relic/agent/instrumentation/middleware_tracing.rb:67:in `call'
  actionpack (3.2.21) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
  activesupport (3.2.21) lib/active_support/callbacks.rb:405:in `_run__3704044655809853670__call__4479265784034053989__callbacks'
  activesupport (3.2.21) lib/active_support/callbacks.rb:405:in `__run_callback'
  activesupport (3.2.21) lib/active_support/callbacks.rb:385:in `_run_call_callbacks'
  activesupport (3.2.21) lib/active_support/callbacks.rb:81:in `run_callbacks'
  actionpack (3.2.21) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
  newrelic_rpm (3.12.1.298) lib/new_relic/agent/instrumentation/middleware_tracing.rb:67:in `call'
  actionpack (3.2.21) lib/action_dispatch/middleware/remote_ip.rb:31:in `call'
  newrelic_rpm (3.12.1.298) lib/new_relic/agent/instrumentation/middleware_tracing.rb:67:in `call'
  actionpack (3.2.21) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'
  newrelic_rpm (3.12.1.298) lib/new_relic/agent/instrumentation/middleware_tracing.rb:67:in `call'
  actionpack (3.2.21) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
  newrelic_rpm (3.12.1.298) lib/new_relic/agent/instrumentation/middleware_tracing.rb:67:in `call'
  railties (3.2.21) lib/rails/rack/logger.rb:32:in `call_app'
  railties (3.2.21) lib/rails/rack/logger.rb:16:in `block in call'
  activesupport (3.2.21) lib/active_support/tagged_logging.rb:22:in `tagged'
  railties (3.2.21) lib/rails/rack/logger.rb:16:in `call'
  newrelic_rpm (3.12.1.298) lib/new_relic/agent/instrumentation/middleware_tracing.rb:67:in `call'
  actionpack (3.2.21) lib/action_dispatch/middleware/request_id.rb:22:in `call'
  newrelic_rpm (3.12.1.298) lib/new_relic/agent/instrumentation/middleware_tracing.rb:67:in `call'
  rack (1.4.6) lib/rack/methodoverride.rb:21:in `call'
  newrelic_rpm (3.12.1.298) lib/new_relic/agent/instrumentation/middleware_tracing.rb:67:in `call'
  rack (1.4.6) lib/rack/runtime.rb:17:in `call'
  newrelic_rpm (3.12.1.298) lib/new_relic/agent/instrumentation/middleware_tracing.rb:67:in `call'
  activesupport (3.2.21) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
  newrelic_rpm (3.12.1.298) lib/new_relic/agent/instrumentation/middleware_tracing.rb:67:in `call'
  rack (1.4.6) lib/rack/lock.rb:15:in `call'
  newrelic_rpm (3.12.1.298) lib/new_relic/agent/instrumentation/middleware_tracing.rb:67:in `call'
  actionpack (3.2.21) lib/action_dispatch/middleware/static.rb:83:in `call'
  newrelic_rpm (3.12.1.298) lib/new_relic/agent/instrumentation/middleware_tracing.rb:67:in `call'
  rack-utf8_sanitizer (1.3.0) lib/rack/utf8_sanitizer.rb:15:in `call'
  newrelic_rpm (3.12.1.298) lib/new_relic/agent/instrumentation/middleware_tracing.rb:67:in `call'
  railties (3.2.21) lib/rails/engine.rb:484:in `call'
  railties (3.2.21) lib/rails/application.rb:231:in `call'
  railties (3.2.21) lib/rails/railtie/configurable.rb:30:in `method_missing'
  newrelic_rpm (3.12.1.298) lib/new_relic/agent/instrumentation/middleware_tracing.rb:67:in `call'
  thin (1.5.1) lib/thin/connection.rb:81:in `block in pre_process'
  thin (1.5.1) lib/thin/connection.rb:79:in `catch'
  thin (1.5.1) lib/thin/connection.rb:79:in `pre_process'
  thin (1.5.1) lib/thin/connection.rb:54:in `process'
  thin (1.5.1) lib/thin/connection.rb:39:in `receive_data'
  eventmachine (1.0.7) lib/eventmachine.rb:187:in `run_machine'
  eventmachine (1.0.7) lib/eventmachine.rb:187:in `run'
  thin (1.5.1) lib/thin/backends/base.rb:63:in `start'
  thin (1.5.1) lib/thin/server.rb:159:in `start'
  thin (1.5.1) lib/thin/controllers/controller.rb:86:in `start'
  thin (1.5.1) lib/thin/runner.rb:187:in `run_command'
  thin (1.5.1) lib/thin/runner.rb:152:in `run!'
  thin (1.5.1) bin/thin:6:in `&lt;top (required)&gt;'
  /srv/alaveteli_production/shared/bundle/ruby/1.9.1/bin/thin:23:in `load'
  /srv/alaveteli_production/shared/bundle/ruby/1.9.1/bin/thin:23:in `&lt;main&gt;'



</pre>
    </div>
  </body>
</html>