On 02/22/2018 10:30 PM, Till Dörges wrote:
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.
Hi Till, Thanks much for your feedback. We've updated our updaters guide according to your it. This slipped through and we forgot to update it after the ruby version bump. Sorry for that.
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 ---
By now I can't say much about the https error. We need to debug this first.
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
It would be really great, if you could send us the apache logs. Thanks again and regards, Björn
HTH -- Till
-- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org