Hi Rob, On Tue, 10 Sep 2013 14:32:39 +0000 Rob Zebedee <rzebedee@evertz.com> wrote:
I could do with some help resolving these issues when updating from 2.3 to 2.4 using the OBS repo http://download.opensuse.org/repositories/OBS:/Server:/2.4/openSUSE_12.1/x86.... Here is the production.log [INFO |# 6315] Started GET "/" for 10.97.154.39 at 2013-09-10 15:23:49 +0100 [INFO |# 6315] Processing by MainController#index as HTML [INFO |# 6315] Anonymous request to / [INFO |# 6315] Completed 500 Internal Server Error in 1ms
[FATAL|# 6315] NoMethodError (undefined method `+' for nil:NilClass): lib/activexml/transport.rb:350:in `http_do' lib/activexml/transport.rb:227:in `direct_http' app/controllers/application_controller.rb:352:in `block in require_configuration' app/controllers/application_controller.rb:350:in `require_configuration'
not sure what else would be helpful to resolve this please let me know.
... and I thought, that I was the sole user running into that problem! There are (at least) two database entries missing after an update to 2.4 from a previous OBS installation. Add the two entries in the projects and repositories table: root# mysql -u root -p[database password] api_production mysql> insert into projects (id,name,title,description,created_at,updated_at) values ('2','deleted',NULL,NULL,now(),now()); mysql> insert into repositories (id,db_project_id,name,remote_project_name,rebuild,block,linkedbuild,hostsystem_id) values ('1','1','deleted',NULL,NULL,NULL,NULL,NULL); mysql> quit You of course may want to check, that there are no entries with the same id's are in the tables already. The update process does not cover these entries, as they are most probably so basic, that they are expected to be there. Greetings, Stefan -- Stefan Botter Network Manager Jacobs University Bremen gGmbH Campus Ring 1 | 28759 Bremen | Germany Commercial registry: Amtsgericht Bremen, HRB 18117 President & Geschäftsführer: Prof. Dr. Heinz-Otto Peitgen Provost & Geschäftsführerin: Prof. Dr.-Ing. Katja Windt Chair Board of Governors: Prof. Dr. Karin Lochte