On Wed, 11 Sep 2013 16:19:02 +0000 Rob Zebedee email@example.com wrote:
Thanks for the pointers on that. I have managed to roll back to 2.3 for the moment and I am now trying to get 2.4 working on a vm. The issue I am now seeing is in the apache2/error_log is: [Wed Sep 11 16:42:28 2013] [notice] Apache/2.2.21 (Linux/SUSE) mod_ssl/2.2.21 OpenSSL/1.0.0k PHP/5.3.8 Phusion_Passenger/3.0.18 mod_wsgi/3.3 Python/2.7.2 configured -- resuming normal operations /usr/lib64/ruby/gems/1.9.1/gems/passenger-3.0.18/helper-scripts/prespawn:105:in `initialize': Connection refused - connect(2) (Errno::ECONNREFUSED) from /usr/lib64/ruby/gems/1.9.1/gems/passenger-3.0.18/helper-scripts/prespawn:105:in `new' from /usr/lib64/ruby/gems/1.9.1/gems/passenger-3.0.18/helper-scripts/prespawn:105:in `connect' from /usr/lib64/ruby/gems/1.9.1/gems/passenger-3.0.18/helper-scripts/prespawn:112:in `connect' from /usr/lib64/ruby/gems/1.9.1/gems/passenger-3.0.18/helper-scripts/prespawn:86:in `socket' from /usr/lib64/ruby/gems/1.9.1/gems/passenger-3.0.18/helper-scripts/prespawn:90:in `head_request' from /usr/lib64/ruby/gems/1.9.1/gems/passenger-3.0.18/helper-scripts/prespawn:145:in `<main>'
Does anyone have any ideas as to where to begin with fixing this. Access to the webui does not work at all and the api page just gives the about xml. Please help it is driving me mad trying to get this to work.
Did you follow the steps from https://github.com/openSUSE/open-build-service/blob/2.4/dist/README.UPDATERS (the first section 2.3 to 2.4)?
I did the update from 2.3 to 2.4 several times on different OBS installations, and apart from the missing DB entries, this worked. If you have the working 2.3 setup, try to get back to it, stop all obs processed, update the obs rpms, follow the steps in the README.UPDATERS, and restart the services. You need to have the mysql/mariadb process running, as the db's need updating.
You may want to have a look at the log files of the api and webui apache instances at /srv/www/obs/(api|webui)/logs.