Mailinglist Archive: opensuse-buildservice (81 mails)

< Previous Next >
Re: [opensuse-buildservice] RC 1 of Open Build Service 2.9 released
Am 22.02.2018 um 13:33 schrieb Bjoern Geuken:

OBS 2.9 Final
-------------
We look forward to release the final 2.9 version in the following weeks.
We hope you like this RC and look forward to your feedback, here on this
list, on IRC or by bug reports in GitHub.

Just gave it a shot on an openSUSE Leap 42.3 system with OBS 2.8.

Followed the instructions here:

https://github.com/openSUSE/open-build-service/blob/2.9/dist/README.UPDATERS


tl;dr

- 2 of the commands in the recipe didn't work for me.
- After following all steps the webserver gave me a
"We're sorry, but something went wrong."
- Did not try to debug it any further.
- Logs are available upon request.


Non-working commands
--------------------
zypper dup --from OBS_Server_2.9

complained, which I could resolve as follows:

--- snip ---
obsbox:~ # zypper dup --from OBS_Server_2.9
Loading repository data...
Reading installed packages...
Computing distribution upgrade...

Problem: ruby2.4-rubygem-passenger-5.0.30-5.9.x86_64 requires rubygem-passenger
=
5.0.30, but this requirement cannot be provided
deleted providers: rubygem-passenger-5.0.30-5.9.x86_64
Solution 1: deinstallation of ruby2.4-rubygem-passenger-5.0.30-5.9.x86_64
Solution 2: keep obsolete rubygem-passenger-5.0.30-5.9.x86_64
Solution 3: break ruby2.4-rubygem-passenger-5.0.30-5.9.x86_64 by ignoring some
of
its dependencies

Choose from above solutions by number or cancel [1/2/3/c] (c): 1
Resolving dependencies...
Computing distribution upgrade...
[...]
--- snap ---


RAILS_ENV="production" rails.ruby2.4 db:migrate:with_data

said

--- snip ---
obsbox:/srv/www/obs/api # RAILS_ENV="production" rails.ruby2.4
db:migrate:with_data
Your bundle is locked to rake (12.3.0), but that version could not be found in
any of
the sources listed in your Gemfile. If you haven't changed sources, that means
the
author of rake (12.3.0) has removed it. You'll need to update your bundle to a
different version of rake (12.3.0) that hasn't been removed in order to install.
Run `bundle install` to install missing gems.
--- snap ---

Changing it to

RAILS_ENV="production" rails.ruby2.5 db:migrate:with_data

seems to have worked. At least I saw plenty of migrations and no error on the
console.


OBS not working properly
------------------------
Pointing my browser to https://obsbox:443 gave me

--- snip ---
We're sorry, but something went wrong.
The issue has been logged for investigation. Please try again later.

Technical details for the administrator of this website
Error: Web application could not be started
Error ID: 5a69c091
Details: Web application could not be started by the Phusion Passenger
application
server.

Please read the Passenger log file (search for the Error ID) to find the
details of
the error.

You can also get a detailed report to appear directly on this page, but for
security
reasons it is only provided if Phusion Passenger is run with environment set to
development and/or with the friendly error pages option set to on.
--- snap ---


These are the passenger related RPMs that are installed after the update

--- snip ---
obsbox:~ # rpm -qa | grep passe | sort
ruby2.5-rubygem-passenger-5.1.11-3.10.x86_64
rubygem-passenger-5.1.11-3.10.x86_64
rubygem-passenger-apache2-5.1.11-3.10.x86_64
--- snap ---


Logs
----
I saved these logs from my test drive and can provide them upon request:

/srv/www/obs/api/log/*log
/srv/obs/log/*log
/var/log/apache2/*log
/var/log/messages


HTH -- Till
--
Dipl.-Inform. Till Dörges doerges@xxxxxxxxxxxx
Tel. +49 - 40 - 244 2407 - 14
Fax +49 - 40 - 244 2407 - 24
PRESENSE Technologies GmbH Sachsenstr. 5, D-20097 HH
Geschäftsführer/Managing Directors AG Hamburg, HRB 107844
Till Dörges, Jürgen Sander USt-IdNr.: DE263765024
--
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-buildservice+owner@xxxxxxxxxxxx

< Previous Next >
Follow Ups
References