[opensuse-buildservice] Application error on webui since obs 2.0.1
Hi, every now and then I get the following error in the webui: Application error Change this error message for exceptions thrown outside of an action (like in Dispatcher setups or broken Ruby code) in public/500.html I am unable to find a hint in the log. Where could that error come from? -- With best regards, Carsten Hoeger
Am Montag 28 Juni 2010 schrieb Carsten Hoeger:
Hi,
every now and then I get the following error in the webui:
Application error
Change this error message for exceptions thrown outside of an action (like in Dispatcher setups or broken Ruby code) in public/500.html
I am unable to find a hint in the log. Where could that error come from?
Check the webserver log files (lighttpd's error.log) Greetings, Stephan -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
On Mon, Jun 28, Stephan Kulow wrote:
every now and then I get the following error in the webui:
Application error
Change this error message for exceptions thrown outside of an action (like in Dispatcher setups or broken Ruby code) in public/500.html
I am unable to find a hint in the log. Where could that error come from?
Check the webserver log files (lighttpd's error.log)
I am unable to find anything related. in error.log is nothing at all - as always in this setup -. But I found another one, which happens every time i click on /monitor: Processing MonitorController#plothistory (for ::ffff:10.10.2.42 at 2010-06-29 09:30:22) [GET] [I|#26439] Parameters: {"set"=>"arm_workers", "action"=>"plothistory", "time"=>"1277796621", "range"=>"24", "controller"=>"monitor"} [D|#26439] Setting return_to: "/monitor/plothistory?range=24&set=arm_workers&time=12777 96621" [D|#26439] Authenticating with iChain mode: off [I|#26439] Authenticated request to "/monitor/plothistory?range=24&set=arm_workers&time =1277796621" from Admin [D|#26439] Cache read: monitor_plot_arm_workers_24 [D|#26439] Cache hit: monitor_plot_arm_workers_24 ({:expires_in=>576, :raw=>true}) [I|#26439] Sending data [I|#26439] Completed in 4ms (View: 1, DB: 1) | 200 OK [http://buildwebgui.netline.de/monitor/pl othistory?range=24&set=arm_workers&time=1277796621] [F|#26439] /!\ FAILSAFE /!\ Tue Jun 29 09:30:22 +0200 2010 Status: 500 Internal Server Error SQLite3::BusyException: database is locked: UPDATE "sessions" SET "updated_at" = '2010-06-29 09:30:22', "data" = 'BAh7CToLcGFzc3dkIgxuZXRsaW5lOhBfY3NyZl90b2tlbiIxVjIrbkFpc294 WVNZTjRmcW1tbDBhY0owTUZCbktSNmJrNlI1QXJCUi90cz06CmxvZ2luIgpB ZG1pbiIKZmxhc2hJQzonQWN0aW9uQ29udHJvbGxlcjo6Rmxhc2g6OkZsYXNo SGFzaHsABjoKQHVzZWR7AA== ' WHERE "id" = 12 /usr/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/connection_adapters/abstra ct_adapter.rb:219:in `log' /usr/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/connection_adapters/sqlite _adapter.rb:172:in `execute' /usr/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/connection_adapters/sqlite _adapter.rb:417:in `catch_schema_changes' /usr/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/connection_adapters/sqlite _adapter.rb:172:in `execute' /usr/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/connection_adapters/abstra ct/database_statements.rb:265:in `update_sql' /usr/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/connection_adapters/sqlite _adapter.rb:176:in `update_sql' /usr/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/connection_adapters/abstra ct/database_statements.rb:49:in `update_without_query_dirty' /usr/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/connection_adapters/abstra ct/query_cache.rb:18:in `update' /usr/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/base.rb:2883:in `update_wi thout_lock' /usr/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/locking/optimistic.rb:70:i n `update_without_dirty' /usr/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/dirty.rb:146:in `update_wi thout_timestamps' /usr/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/timestamp.rb:64:in `update _without_callbacks' /usr/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/callbacks.rb:282:in `updat e' /usr/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/base.rb:2874:in `create_or _update_without_callbacks' /usr/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/callbacks.rb:250:in `creat e_or_update' /usr/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/base.rb:2538:in `save_with out_validation' /usr/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/validations.rb:1078:in `save_without_dirty' /usr/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/dirty.rb:79:in `save_witho ut_transactions' /usr/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/transactions.rb:229:in `se nd' /usr/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/transactions.rb:229:in `wi th_transaction_returning_status' /usr/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/connection_adapters/abstra ct/database_statements.rb:136:in `transaction' /usr/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/transactions.rb:182:in `tr ansaction' /usr/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/transactions.rb:228:in `wi th_transaction_returning_status' /usr/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/transactions.rb:196:in `sa ve' /usr/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/transactions.rb:208:in `ro llback_active_record_state!' /usr/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/transactions.rb:196:in `sa ve' /usr/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/session_store.rb:300:in `s et_session' /usr/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/base.rb:1448:in `silence' /usr/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/session_store.rb:297:in `s et_session' /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/session/abstract_store.r b:132:in `call' /usr/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/query_cache.rb:29:in `call' /usr/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/connection_adapters/abstra ct/query_cache.rb:34:in `cache' /usr/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/query_cache.rb:9:in `cache ' /usr/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/query_cache.rb:28:in `call ' /usr/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/connection_adapters/abstra ct/connection_pool.rb:361:in `call' /usr/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/cache/strategy/local_cac he.rb:24:in `call' /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/failsafe.rb:26:in `call' /usr/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/lock.rb:11:in `call' /usr/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/lock.rb:11:in `synchronize' /usr/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/lock.rb:11:in `call' /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/dispatcher.rb:114:in `ca ll' /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/reloader.rb:34:in `run' /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/dispatcher.rb:108:in `ca ll' /usr/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/content_length.rb:13:in `call' /usr/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/handler/fastcgi.rb:58:in `serve' /usr/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/fcgi_handler.rb:103:in `process_request' /usr/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/fcgi_handler.rb:153:in `with_signal_handler' /usr/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/fcgi_handler.rb:101:in `process_request' /usr/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/fcgi_handler.rb:78:in `process_each_request' /usr/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/fcgi_handler.rb:77:in `each' /usr/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/fcgi_handler.rb:77:in `process_each_request' /usr/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/fcgi_handler.rb:76:in `catch' /usr/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/fcgi_handler.rb:76:in `process_each_request' /usr/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/fcgi_handler.rb:51:in `process!' /usr/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/fcgi_handler.rb:23:in `process!' /srv/www/obs/webui/public/dispatch.fcgi:24 -- With best regards, Carsten Hoeger
On Mon, Jun 28, Stephan Kulow wrote:
every now and then I get the following error in the webui:
Application error
Change this error message for exceptions thrown outside of an action (like in Dispatcher setups or broken Ruby code) in public/500.html
I am unable to find a hint in the log. Where could that error come from?
Check the webserver log files (lighttpd's error.log)
Here we go: [I|#22774] Completed in 126ms (View: 67, DB: 1) | 200 OK [http://buildwebgui.netline.de/project/ monitor?project=open-xchange-6.17-rev10-outlook-updater] [F|#22774] /!\ FAILSAFE /!\ Wed Jun 30 15:50:25 +0200 2010 Status: 500 Internal Server Error SQLite3::BusyException: database is locked: UPDATE "sessions" SET "updated_at" = '2010-06-30 1 5:50:25', "data" = 'BAh7CToLcGFzc3dkIgxuZXRsaW5lOhBfY3NyZl90b2tlbiIxdjdTd091cENl QW9rQmdGOWhjTi9KSG9pNGthcjNsNU5qS0ZTUFBnMUNFaz0iCmZsYXNoSUM6 J0FjdGlvbkNvbnRyb2xsZXI6OkZsYXNoOjpGbGFzaEhhc2h7AAY6CkB1c2Vk ewA6CmxvZ2luIgpBZG1pbg== ' WHERE "id" = 17 /usr/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/connection_adapters/abstrac t_adapter.rb:219:in `log' /usr/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/connection_adapters/sqlite_ adapter.rb:172:in `execute' /usr/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/connection_adapters/sqlite_ adapter.rb:417:in `catch_schema_changes' /usr/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/connection_adapters/sqlite_ adapter.rb:172:in `execute' /usr/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/connection_adapters/abstrac t/database_statements.rb:265:in `update_sql' /usr/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/connection_adapters/sqlite_ adapter.rb:176:in `update_sql' /usr/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/connection_adapters/abstrac t/database_statements.rb:49:in `update_without_query_dirty' /usr/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/connection_adapters/abstrac t/query_cache.rb:18:in `update' /usr/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/base.rb:2883:in `update_without_lock' /usr/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/locking/optimistic.rb:70:in `update_without_dirty' /usr/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/dirty.rb:146:in `update_wit hout_timestamps' /usr/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/timestamp.rb:64:in `update_ without_callbacks' /usr/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/callbacks.rb:282:in `update ' /usr/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/base.rb:2874:in `create_or_ update_without_callbacks' /usr/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/callbacks.rb:250:in `create _or_update' /usr/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/base.rb:2538:in `save_witho ut_validation' /usr/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/validations.rb:1078:in `sav e_without_dirty' /usr/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/dirty.rb:79:in `save_withou t_transactions' /usr/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/transactions.rb:229:in `sen d' /usr/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/transactions.rb:229:in `wit h_transaction_returning_status' /usr/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/connection_adapters/abstrac t/database_statements.rb:136:in `transaction' /usr/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/transactions.rb:182:in `tra nsaction' /usr/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/transactions.rb:228:in `wit h_transaction_returning_status' /usr/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/transactions.rb:196:in `sav e' /usr/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/transactions.rb:208:in `rol lback_active_record_state!' /usr/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/transactions.rb:196:in `sav e' /usr/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/session_store.rb:300:in `se t_session' /usr/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/base.rb:1448:in `silence' /usr/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/session_store.rb:297:in `se t_session' /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/session/abstract_store.rb :132:in `call' /usr/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/query_cache.rb:29:in `call' /usr/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/connection_adapters/abstrac t/query_cache.rb:34:in `cache' /usr/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/query_cache.rb:9:in `cache' /usr/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/query_cache.rb:28:in `call' /usr/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/connection_adapters/abstrac t/connection_pool.rb:361:in `call' /usr/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/cache/strategy/local_cach e.rb:24:in `call' /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/failsafe.rb:26:in `call' /usr/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/lock.rb:11:in `call' /usr/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/lock.rb:11:in `synchronize' /usr/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/lock.rb:11:in `call' /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/dispatcher.rb:114:in `cal l' /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/reloader.rb:34:in `run' /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/dispatcher.rb:108:in `cal l' /usr/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/content_length.rb:13:in `call' /usr/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/handler/fastcgi.rb:58:in `serve' /usr/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/fcgi_handler.rb:103:in `process_request' /usr/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/fcgi_handler.rb:153:in `with_signal_handler' /usr/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/fcgi_handler.rb:101:in `process_request' /usr/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/fcgi_handler.rb:78:in `process_each_request' /usr/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/fcgi_handler.rb:77:in `each' /usr/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/fcgi_handler.rb:77:in `process_each_request' /usr/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/fcgi_handler.rb:76:in `catch' /usr/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/fcgi_handler.rb:76:in `process_each_request' /usr/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/fcgi_handler.rb:51:in `process!' /usr/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/fcgi_handler.rb:23:in `process!' /srv/www/obs/webui/public/dispatch.fcgi:24 -- With best regards, Carsten Hoeger
On Wednesday 30 June 2010 15:53:13 Carsten Hoeger wrote:
On Mon, Jun 28, Stephan Kulow wrote:
every now and then I get the following error in the webui:
Application error
Change this error message for exceptions thrown outside of an action (like in Dispatcher setups or broken Ruby code) in public/500.html
I am unable to find a hint in the log. Where could that error come from?
Check the webserver log files (lighttpd's error.log)
Here we go:
[I|#22774] Completed in 126ms (View: 67, DB: 1) | 200 OK [http://buildwebgui.netline.de/project/ monitor?project=open-xchange-6.17-rev10-outlook-updater] [F|#22774] /!\ FAILSAFE /!\ Wed Jun 30 15:50:25 +0200 2010 Status: 500 Internal Server Error SQLite3::BusyException: database is locked: UPDATE "sessions" SET
best way to solve that is to switch to mysql as well with the webui. It can handle this much better. I will do so as well by default with 2.1 appliance. bye adrian -- Adrian Schroeter SUSE Linux Products GmbH email: adrian@suse.de -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
On Wed, Jun 30, Adrian Schröter wrote:
every now and then I get the following error in the webui:
Application error
Change this error message for exceptions thrown outside of an action (like in Dispatcher setups or broken Ruby code) in public/500.html
I am unable to find a hint in the log. Where could that error come from?
Check the webserver log files (lighttpd's error.log)
Here we go:
[I|#22774] Completed in 126ms (View: 67, DB: 1) | 200 OK [http://buildwebgui.netline.de/project/ monitor?project=open-xchange-6.17-rev10-outlook-updater] [F|#22774] /!\ FAILSAFE /!\ Wed Jun 30 15:50:25 +0200 2010 Status: 500 Internal Server Error SQLite3::BusyException: database is locked: UPDATE "sessions" SET
best way to solve that is to switch to mysql as well with the webui.
It can handle this much better. I will do so as well by default with 2.1 appliance.
Is there a deployment script available which creates the required tables? Just configuring it in database.yml does not work. -- With best regards, Carsten Hoeger
On Wednesday 30 June 2010 16:47:15 Carsten Hoeger wrote:
On Wed, Jun 30, Adrian Schröter wrote:
every now and then I get the following error in the webui:
Application error
Change this error message for exceptions thrown outside of an action (like in Dispatcher setups or broken Ruby code) in public/500.html
I am unable to find a hint in the log. Where could that error come from?
Check the webserver log files (lighttpd's error.log)
Here we go:
[I|#22774] Completed in 126ms (View: 67, DB: 1) | 200 OK [http://buildwebgui.netline.de/project/ monitor?project=open-xchange-6.17-rev10-outlook-updater] [F|#22774] /!\ FAILSAFE /!\ Wed Jun 30 15:50:25 +0200 2010 Status: 500 Internal Server Error SQLite3::BusyException: database is locked: UPDATE "sessions" SET
best way to solve that is to switch to mysql as well with the webui.
It can handle this much better. I will do so as well by default with 2.1 appliance.
Is there a deployment script available which creates the required tables? Just configuring it in database.yml does not work.
rake db:migrate or rake db:setup -- Adrian Schroeter SUSE Linux Products GmbH email: adrian@suse.de -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
participants (3)
-
Adrian Schröter
-
Carsten Hoeger
-
Stephan Kulow