Hi Adrian,
On 6 Mar 2017, at 16:12 , Adrian Schröter
wrote:
I just did a quick test and updated a fresh installed 2.7 to 2.8 following
https://github.com/openSUSE/open-build-service/blob/2.8/dist/README.UPDATERS
Thanks a lot for testing!
Did you also test the migration with your production data?
No, that was a fresh installation if 2.7 with a simple test project created. Production is still on 2.6...
After the update, the webui just presents an error message:
We're sorry, but something went wrong.
We've been notified about this issue and we'll take a look at it shortly.
This is in the logs:
==> passenger.log <== App 5273 stdout: App 5273 stdout: [ 2017-03-06 15:55:07.0824 4049/7f6441445700 age/Cor/App/Implementation.cpp:304 ]: Could not spawn process for application /srv/www/obs/api: An error occurred while starting up the preloader. Error ID: c039a13c Error details saved to: /var/run/passenger/passenger-error-I1tr9E.html Message from application: cannot load such file -- phusion_passenger/platform_info/ruby (LoadError) /usr/lib64/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:127:in `require' ...
Did you change the passenger config to use ruby2.4 ? (/etc/apache2/conf.d/mod_passenger.conf)
That’s it! PassengerRuby "/usr/bin/ruby.ruby2.4” That should definitely go into https://github.com/openSUSE/open-build-service/blob/2.8/dist/README.UPDATERS -- kind regards, Carsten Hoeger Professional Services Email: carsten.hoeger@open-xchange.com ----------------------------------------------------------------------------------------- Open-Xchange AG, Rollnerstr. 14, 90408 Nuremberg, District Court Nuremberg HRB 24738 Managing Board: Rafael Laguna de la Vera, Carsten Dirks, Uwe Reumuth Chairman of the Board: Richard Seibt European Office: Open-Xchange GmbH, Olper Huette 5f, D-57462 Olpe, Germany, District Court Siegen, HRB 8718 Managing Directors: Frank Hoberg, Martin Kauss US Office: Open-Xchange. Inc., 530 Lytton Avenue, Palo Alto, CA 94301, USA ------------------------------------------------------------------------------------------