Thank you! The system is back up and running.
Things I learned during this process:
- if you delete your data directory to let OBS rebuild it, you have to
copy the newly generated certs into your ssl store (/etc/ssl/certs on
the appliance) manually
- if you create a new user, make sure you don't put any illegal
characters in the username, or else you won't be able to fix it except
by going into the mysql database
- if you go into the mysql database to fix a broken user, don't
accidentally delete _nobody_.
Again, thanks for the help!
On 18 June 2014 04:49, Adrian Schröter
On Dienstag, 17. Juni 2014, 15:59:09 wrote Smith, Kenneth:
It didn't look SSL related. I tried deleting the /srv/obs content and rebooting to let OBS create it again. Now the SSL errors are appearing in the logs again. Apparently this is a one-use system.
On 17 June 2014 15:18, Kanstantsin Shautsou
wrote: Hm, your error doesn’t look like SSL cert error. In my installation for ssl errors i did this modification https://github.com/KostyaSha/open-build-service/commit/cbd6f8f61c4c7d2698b45...
On Jun 18, 2014, at 0:32 , Smith, Kenneth
wrote: ... <status code="not_found"> <summary>Couldn't find User with login = _nobody_</summary> <details></details> </status> ): lib/activexml/transport.rb:449:in `handle_response' lib/activexml/transport.rb:400:in `http_do' app/models/api_details.rb:26:in `find' app/models/person.rb:183:in `requests_that_need_work' app/controllers/application_controller.rb:254:in `check_user'
The "_nobody_" user got removed in the database. It should always be there.
You can manually create it via the command below, but the questions why this standard seeded user disappered in your DB:
from seeds.rb
User.where(login: '_nobody_').first_or_create login: "_nobody_", email: "nobody@localhost", realname: "Anonymous User", state: "3", password: "123456", password_confirmation: "123456"
you can run it in
RAILS_ENV="production" rails c
--
Adrian Schroeter email: adrian@suse.de
SUSE LINUX GmbH, GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer, HRB 21284 (AG Nürnberg) Maxfeldstraße 5 90409 Nürnberg Germany
-- Kind Regards Kenneth F. Smith ------------------- Infotainment Engineer MSX on behalf of Jaguar Land Rover One World Trade Center, 121 Southwest Salmon Street, 11th Floor, Portland, Oregon, 97204 Email: ksmith15@jaguarlandrover.com PGP: RSA 2048/2048 979C6B958B89909D ------------------- Business Details: Jaguar Land Rover Limited Registered Office: Abbey Road, Whitley, Coventry CV3 4LF Registered in England No: 1672070 This e-mail and any attachments contain confidential information for a specific individual and purpose. The information is private and privileged and intended solely for the use of the individual to whom it is addressed. If you are not the intended recipient, please e-mail us immediately. We apologise for any inconvenience caused but you are hereby notified that any disclosure, copying or distribution or the taking of any action in reliance on the information contained herein is strictly prohibited. This e-mail does not constitute an order for goods or services unless accompanied by an official purchase order. -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org