Mailinglist Archive: opensuse-buildservice (140 mails)

< Previous Next >
Re: [opensuse-buildservice] Application error 500, SSLError
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 <gentoo.integer@xxxxxxxxx> 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/cbd6f8f61c4c7d2698b45f217a7703ede13c55ec

On Jun 18, 2014, at 0:32 , Smith, Kenneth <ksmith15@xxxxxxxxxxxxxxxxxxx>
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@xxxxxxx

SUSE LINUX GmbH, GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer, HRB 21284
(AG Nürnberg)
Maxfeldstraße 5
90409 Nürnberg
Germany



--
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-buildservice+owner@xxxxxxxxxxxx

< Previous Next >
Follow Ups