[opensuse-buildservice] Issues while updating from 2.4.6 to 2.5.3
Hi, I did an update on my staging system yesterday. Everything _seems_ to work. But two things make me worrying: 1. during %post while updating packages, I saw this error: Updating etc/sysconfig/obs-server... /srv/obs/configuration.xml: No such file or directory /srv/obs/configuration.xml: No such file or directory /srv/obs/configuration.xml: No such file or directory /srv/obs/configuration.xml: No such file or directory /srv/obs/configuration.xml: No such file or directory and later when stopping/starting: choeger@buildservice:~> sudo /etc/init.d/obsscheduler restart /srv/obs/configuration.xml: No such file or directory /srv/obs/configuration.xml: No such file or directory Is that anything I have to worry about??? 2. buildservice:/srv/www/obs/api # RAILS_ENV="production" rake ts:index --trace rake aborted! Don't know how to build task 'ts:index' /usr/lib/ruby/1.9.1/rake/task_manager.rb:49:in `[]' /usr/lib/ruby/1.9.1/rake/application.rb:115:in `invoke_task' /usr/lib/ruby/1.9.1/rake/application.rb:94:in `block (2 levels) in top_level' /usr/lib/ruby/1.9.1/rake/application.rb:94:in `each' /usr/lib/ruby/1.9.1/rake/application.rb:94:in `block in top_level' /usr/lib/ruby/1.9.1/rake/application.rb:133:in `standard_exception_handling' /usr/lib/ruby/1.9.1/rake/application.rb:88:in `top_level' /usr/lib/ruby/1.9.1/rake/application.rb:66:in `block in run' /usr/lib/ruby/1.9.1/rake/application.rb:133:in `standard_exception_handling' /usr/lib/ruby/1.9.1/rake/application.rb:63:in `run' /usr/bin/rake:32:in `<main>’ -- mit freundlichen Gruessen/with best regards, Carsten Hoeger Open-Xchange GmbH -------------------------------------------------------------------------------- Open-Xchange AG, Rollnerstr. 14, 90408 Nürnberg, Amtsgericht Nürnberg HRB 24738 Vorstand: Rafael Laguna de la Vera, Carsten Dirks Aufsichtsratsvorsitzender: Richard Seibt European Office: Open-Xchange GmbH, Martinstr. 41, D-57462 Olpe, Germany Amtsgericht Siegen, HRB 8718, Geschäftsführer: Frank Hoberg, Martin Kauss US Office: Open-Xchange. Inc., 530 Lytton Avenue, Palo Alto, CA 94301, USA --------------------------------------------------------------------------------
On Mittwoch, 28. Mai 2014, 13:16:48 wrote Carsten Höger:
Hi,
I did an update on my staging system yesterday. Everything _seems_ to work.
But two things make me worrying:
1.
during %post while updating packages, I saw this error:
Updating etc/sysconfig/obs-server... /srv/obs/configuration.xml: No such file or directory /srv/obs/configuration.xml: No such file or directory /srv/obs/configuration.xml: No such file or directory /srv/obs/configuration.xml: No such file or directory /srv/obs/configuration.xml: No such file or directory
and later when stopping/starting:
choeger@buildservice:~> sudo /etc/init.d/obsscheduler restart /srv/obs/configuration.xml: No such file or directory /srv/obs/configuration.xml: No such file or directory
Is that anything I have to worry about???
yes, but only if it does not fix itself :) It should get writted by a delayed job, after you did run the database migration.
buildservice:/srv/www/obs/api # RAILS_ENV="production" rake ts:index --trace rake aborted! Don't know how to build task 'ts:index'
hm, I can not reproduce this here. Do you have sphinx and rubygem-thinking-sphinx installed? -- Adrian Schroeter email: adrian@suse.de SUSE LINUX GmbH, GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer, HRB 21284 (AG Nürnberg) Maxfeldstraße 5 90409 Nürnberg Germany -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
On 28 May 2014, at 14:05 , Adrian Schröter
On Mittwoch, 28. Mai 2014, 13:16:48 wrote Carsten Höger:
Hi,
I did an update on my staging system yesterday. Everything _seems_ to work.
But two things make me worrying:
1.
during %post while updating packages, I saw this error:
Updating etc/sysconfig/obs-server... /srv/obs/configuration.xml: No such file or directory /srv/obs/configuration.xml: No such file or directory /srv/obs/configuration.xml: No such file or directory /srv/obs/configuration.xml: No such file or directory /srv/obs/configuration.xml: No such file or directory
and later when stopping/starting:
choeger@buildservice:~> sudo /etc/init.d/obsscheduler restart /srv/obs/configuration.xml: No such file or directory /srv/obs/configuration.xml: No such file or directory
Is that anything I have to worry about???
yes, but only if it does not fix itself :)
It should get writted by a delayed job, after you did run the database migration.
I did what is documented in README.UPDATERS. There was no error while running # cd /srv/www/obs/api/ # RAILS_ENV="production" rake db:migrate and restarting memcached
buildservice:/srv/www/obs/api # RAILS_ENV="production" rake ts:index --trace rake aborted! Don't know how to build task 'ts:index'
hm, I can not reproduce this here. Do you have sphinx and rubygem-thinking-sphinx installed?
No, since nothing I have installed seems to depend on it. Since everything including search is working, can I assume that it is optional? -- mit freundlichen Gruessen/with best regards, Carsten Hoeger Open-Xchange GmbH -------------------------------------------------------------------------------- Open-Xchange AG, Rollnerstr. 14, 90408 Nürnberg, Amtsgericht Nürnberg HRB 24738 Vorstand: Rafael Laguna de la Vera, Carsten Dirks Aufsichtsratsvorsitzender: Richard Seibt European Office: Open-Xchange GmbH, Martinstr. 41, D-57462 Olpe, Germany Amtsgericht Siegen, HRB 8718, Geschäftsführer: Frank Hoberg, Martin Kauss US Office: Open-Xchange. Inc., 530 Lytton Avenue, Palo Alto, CA 94301, USA --------------------------------------------------------------------------------
Hi,
On 28 May 2014, at 14:14 , Carsten Höger
I did an update on my staging system yesterday. Everything _seems_ to work.
But two things make me worrying:
1.
during %post while updating packages, I saw this error:
Updating etc/sysconfig/obs-server... /srv/obs/configuration.xml: No such file or directory /srv/obs/configuration.xml: No such file or directory /srv/obs/configuration.xml: No such file or directory /srv/obs/configuration.xml: No such file or directory /srv/obs/configuration.xml: No such file or directory
and later when stopping/starting:
choeger@buildservice:~> sudo /etc/init.d/obsscheduler restart /srv/obs/configuration.xml: No such file or directory /srv/obs/configuration.xml: No such file or directory
Is that anything I have to worry about???
yes, but only if it does not fix itself :)
It should get writted by a delayed job, after you did run the database migration.
I did what is documented in README.UPDATERS. There was no error while running
# cd /srv/www/obs/api/ # RAILS_ENV="production" rake db:migrate
and restarting memcached
buildservice:/srv/www/obs/api # RAILS_ENV="production" rake ts:index --trace rake aborted! Don't know how to build task 'ts:index'
hm, I can not reproduce this here. Do you have sphinx and rubygem-thinking-sphinx installed?
No, since nothing I have installed seems to depend on it. Since everything including search is working, can I assume that it is optional?
This issue was resolved. zypper did only update a part of all the packages. obs-api was not updated and I did not notice. Now the former problems are gone. New one: I am unable to login: http://pastebin.com/LXf2W3kK choeger@buildservice:/etc/apache2/vhosts.d> osc api /person/Admin WARNING: SSL certificate checks disabled. Connection is insecure! <person> <login>Admin</login> <email>root@localhost</email> <realname>OBS Instance Superuser</realname> <state>confirmed</state> <globalrole>Admin</globalrole> <globalrole>User</globalrole> </person> choeger@buildservice:/etc/apache2/vhosts.d> osc api /person/Admin/login WARNING: SSL certificate checks disabled. Connection is insecure! Server returned an error: HTTP Error 404: Not Found What next? -- mit freundlichen Gruessen/with best regards, Carsten Hoeger Open-Xchange GmbH -------------------------------------------------------------------------------- Open-Xchange AG, Rollnerstr. 14, 90408 Nürnberg, Amtsgericht Nürnberg HRB 24738 Vorstand: Rafael Laguna de la Vera, Carsten Dirks Aufsichtsratsvorsitzender: Richard Seibt European Office: Open-Xchange GmbH, Martinstr. 41, D-57462 Olpe, Germany Amtsgericht Siegen, HRB 8718, Geschäftsführer: Frank Hoberg, Martin Kauss US Office: Open-Xchange. Inc., 530 Lytton Avenue, Palo Alto, CA 94301, USA --------------------------------------------------------------------------------
Hi,
On 28 May 2014, at 15:41 , Carsten Höger
I am unable to login:
choeger@buildservice:/etc/apache2/vhosts.d> osc api /person/Admin WARNING: SSL certificate checks disabled. Connection is insecure!
<person> <login>Admin</login> <email>root@localhost</email> <realname>OBS Instance Superuser</realname> <state>confirmed</state> <globalrole>Admin</globalrole> <globalrole>User</globalrole> </person> choeger@buildservice:/etc/apache2/vhosts.d> osc api /person/Admin/login WARNING: SSL certificate checks disabled. Connection is insecure!
Server returned an error: HTTP Error 404: Not Found
What next?
status monitor also does not work: [fc3b7a9f-b1da-4b7d-8c2d-52c6a9b94714] [24117:636.56] Started GET "/monitor" for 10.10.2.42 at 2014-05-28 15:45:15 +0200 [fc3b7a9f-b1da-4b7d-8c2d-52c6a9b94714] [24117:636.57] Processing by Webui::MonitorController#index as HTML [fc3b7a9f-b1da-4b7d-8c2d-52c6a9b94714] [24117:636.57] Anonymous request to /monitor [fc3b7a9f-b1da-4b7d-8c2d-52c6a9b94714] [24117:636.57] Rendered webui/monitor/_lights.html.erb (1.5ms) [fc3b7a9f-b1da-4b7d-8c2d-52c6a9b94714] [24117:636.58] Rendered webui/monitor/_workers_table.html.erb (1.1ms) [fc3b7a9f-b1da-4b7d-8c2d-52c6a9b94714] [24117:636.58] Rendered webui/monitor/_events.html.erb (1.8ms) [fc3b7a9f-b1da-4b7d-8c2d-52c6a9b94714] [24117:636.58] Rendered webui/monitor/index.html.erb within layouts/webui/webui (5.1ms) [fc3b7a9f-b1da-4b7d-8c2d-52c6a9b94714] [24117:636.58] Rendered layouts/webui/_watch_and_search.html.erb (0.6ms) [fc3b7a9f-b1da-4b7d-8c2d-52c6a9b94714] [24117:636.58] Rendered layouts/webui/_header.html.erb (1.3ms) [fc3b7a9f-b1da-4b7d-8c2d-52c6a9b94714] [24117:636.58] Rendered layouts/webui/_personal_navigation.html.erb (2.5ms) [fc3b7a9f-b1da-4b7d-8c2d-52c6a9b94714] [24117:636.58] Rendered layouts/webui/_flash.html.erb (0.1ms) [fc3b7a9f-b1da-4b7d-8c2d-52c6a9b94714] [24117:636.58] Completed 200 OK in 19ms (Views: 12.3ms | ActiveRecord: 0.6ms | Backend: 0.0ms | XML: 0.5ms) [bf6bd31e-3c5f-4293-81d9-74d43fa48fb4] [24117:636.78] Started GET "/monitor/update_building" for 10.10.2.42 at 2014-05-28 15:45:15 +0200 [bf6bd31e-3c5f-4293-81d9-74d43fa48fb4] [24117:636.78] Processing by Webui::MonitorController#update_building as JSON [bf6bd31e-3c5f-4293-81d9-74d43fa48fb4] [24117:636.78] Anonymous request to /monitor/update_building [bf6bd31e-3c5f-4293-81d9-74d43fa48fb4] [24117:636.78] Completed 200 OK in 6ms (Views: 0.1ms | ActiveRecord: 0.4ms | Backend: 0.0ms | XML: 0.5ms) [64871f79-990e-4c33-93f7-395e561916f1] [24117:636.79] Started GET "/monitor/events?range=24&arch=i586" for 10.10.2.42 at 2014-05-28 15:45:15 +0200 [64871f79-990e-4c33-93f7-395e561916f1] [24117:636.79] Processing by Webui::MonitorController#events as JSON [64871f79-990e-4c33-93f7-395e561916f1] [24117:636.79] Parameters: {"range"=>"24", "arch"=>"i586"} [64871f79-990e-4c33-93f7-395e561916f1] [24117:636.79] Anonymous request to /monitor/events?range=24&arch=i586 [64871f79-990e-4c33-93f7-395e561916f1] [24117:636.80] Completed 500 Internal Server Error in 5ms [64871f79-990e-4c33-93f7-395e561916f1] [24117:636.81] ActiveXML::Transport::NotFoundError (<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> <html><head> <title>404 Not Found</title> </head><body> <h1>Not Found</h1> <p>The requested URL /status/history was not found on this server.</p> <p>Additionally, a 406 Not Acceptable error was encountered while trying to use an ErrorDocument to handle the request.</p> <hr> <address>Apache/2.2.12 (Linux/SUSE) Server at localhost Port 80</address> </body></html> ): lib/activexml/transport.rb:447:in `handle_response' lib/activexml/transport.rb:394:in `http_do' lib/activexml/transport.rb:231:in `direct_http' app/controllers/webui/monitor_controller.rb:81:in `block in gethistory' dalli (2.6.4) lib/active_support/cache/dalli_store.rb:80:in `block in fetch' dalli (2.6.4) lib/active_support/cache/dalli_store.rb:291:in `block in instrument' activesupport (4.0.3) lib/active_support/notifications.rb:161:in `instrument' dalli (2.6.4) lib/active_support/cache/dalli_store.rb:291:in `instrument' dalli (2.6.4) lib/active_support/cache/dalli_store.rb:79:in `fetch' app/controllers/webui/monitor_controller.rb:79:in `gethistory' app/controllers/webui/monitor_controller.rb:98:in `block in events' app/controllers/webui/monitor_controller.rb:97:in `each' app/controllers/webui/monitor_controller.rb:97:in `events' actionpack (4.0.3) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.0.3) lib/abstract_controller/base.rb:189:in `process_action' actionpack (4.0.3) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.0.3) lib/abstract_controller/callbacks.rb:18:in `block in process_action' activesupport (4.0.3) lib/active_support/callbacks.rb:483:in `_run__461815631__process_action__callbacks' activesupport (4.0.3) lib/active_support/callbacks.rb:80:in `run_callbacks' actionpack (4.0.3) lib/abstract_controller/callbacks.rb:17:in `process_action' actionpack (4.0.3) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.0.3) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.0.3) lib/active_support/notifications.rb:159:in `block in instrument' activesupport (4.0.3) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.0.3) lib/active_support/notifications.rb:159:in `instrument' actionpack (4.0.3) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.0.3) lib/action_controller/metal/params_wrapper.rb:245:in `process_action' activerecord (4.0.3) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.0.3) lib/abstract_controller/base.rb:136:in `process' actionpack (4.0.3) lib/abstract_controller/rendering.rb:44:in `process' actionpack (4.0.3) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.0.3) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.0.3) lib/action_controller/metal.rb:231:in `block in action' actionpack (4.0.3) lib/action_dispatch/routing/route_set.rb:80:in `call' actionpack (4.0.3) lib/action_dispatch/routing/route_set.rb:80:in `dispatch' actionpack (4.0.3) lib/action_dispatch/routing/route_set.rb:48:in `call' actionpack (4.0.3) lib/action_dispatch/routing/mapper.rb:44:in `call' actionpack (4.0.3) lib/action_dispatch/journey/router.rb:71:in `block in call' actionpack (4.0.3) lib/action_dispatch/journey/router.rb:59:in `each' actionpack (4.0.3) lib/action_dispatch/journey/router.rb:59:in `call' actionpack (4.0.3) lib/action_dispatch/routing/route_set.rb:680:in `call' config/initializers/wrap_parameters.rb:41:in `call' hoptoad_notifier (2.4.11) lib/hoptoad_notifier/rack.rb:27:in `call' rack (1.5.2) lib/rack/deflater.rb:25:in `call' rack (1.5.2) lib/rack/etag.rb:23:in `call' rack (1.5.2) lib/rack/conditionalget.rb:25:in `call' rack (1.5.2) lib/rack/head.rb:11:in `call' actionpack (4.0.3) lib/action_dispatch/middleware/flash.rb:241:in `call' rack (1.5.2) lib/rack/session/abstract/id.rb:225:in `context' rack (1.5.2) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.0.3) lib/action_dispatch/middleware/cookies.rb:486:in `call' activerecord (4.0.3) lib/active_record/query_cache.rb:36:in `call' activerecord (4.0.3) lib/active_record/connection_adapters/abstract/connection_pool.rb:626:in `call' actionpack (4.0.3) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.0.3) lib/active_support/callbacks.rb:373:in `_run__615973032__call__callbacks' activesupport (4.0.3) lib/active_support/callbacks.rb:80:in `run_callbacks' actionpack (4.0.3) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.0.3) lib/action_dispatch/middleware/remote_ip.rb:76:in `call' actionpack (4.0.3) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.0.3) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.0.3) lib/rails/rack/logger.rb:38:in `call_app' railties (4.0.3) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.0.3) lib/active_support/tagged_logging.rb:67:in `block in tagged' activesupport (4.0.3) lib/active_support/tagged_logging.rb:25:in `tagged' activesupport (4.0.3) lib/active_support/tagged_logging.rb:67:in `tagged' railties (4.0.3) lib/rails/rack/logger.rb:20:in `call' actionpack (4.0.3) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.5.2) lib/rack/methodoverride.rb:21:in `call' rack (1.5.2) lib/rack/runtime.rb:17:in `call' activesupport (4.0.3) lib/active_support/cache/strategy/local_cache.rb:83:in `call' rack (1.5.2) lib/rack/lock.rb:17:in `call' rack (1.5.2) lib/rack/sendfile.rb:112:in `call' hoptoad_notifier (2.4.11) lib/hoptoad_notifier/user_informer.rb:12:in `call' railties (4.0.3) lib/rails/engine.rb:511:in `call' railties (4.0.3) lib/rails/application.rb:97:in `call' railties (4.0.3) lib/rails/railtie/configurable.rb:30:in `method_missing' passenger (4.0.33) lib/phusion_passenger/rack/thread_handler_extension.rb:77:in `process_request' passenger (4.0.33) lib/phusion_passenger/request_handler/thread_handler.rb:141:in `accept_and_process_next_request' passenger (4.0.33) lib/phusion_passenger/request_handler/thread_handler.rb:109:in `main_loop' passenger (4.0.33) lib/phusion_passenger/request_handler.rb:440:in `block (3 levels) in start_threads' -- mit freundlichen Gruessen/with best regards, Carsten Hoeger Open-Xchange GmbH -------------------------------------------------------------------------------- Open-Xchange AG, Rollnerstr. 14, 90408 Nürnberg, Amtsgericht Nürnberg HRB 24738 Vorstand: Rafael Laguna de la Vera, Carsten Dirks Aufsichtsratsvorsitzender: Richard Seibt European Office: Open-Xchange GmbH, Martinstr. 41, D-57462 Olpe, Germany Amtsgericht Siegen, HRB 8718, Geschäftsführer: Frank Hoberg, Martin Kauss US Office: Open-Xchange. Inc., 530 Lytton Avenue, Palo Alto, CA 94301, USA --------------------------------------------------------------------------------
participants (2)
-
Adrian Schröter
-
Carsten Höger