Mailinglist Archive: opensuse-buildservice (73 mails)

< Previous Next >
Re: [opensuse-buildservice] Bootstrap private OBS issues
On Samstag, 29. Juli 2017, 00:34:04 CEST wrote Hans-Peter Jansen:
On Samstag, 29. Juli 2017 00:18:35 Adrian Schröter wrote:
On Samstag, 29. Juli 2017, 00:14:40 CEST wrote Hans-Peter Jansen:
On Freitag, 28. Juli 2017 23:57:36 you wrote:
On Freitag, 28. Juli 2017, 23:49:16 CEST wrote Hans-Peter Jansen:
Am I too silly?

uh, looks like a bug indeed....

anyway, you should be able to reach it by going to

http://$your_host/configuration

manually

Nope, results in "Requires admin privileges"...

Can I modify the db admin record directly?

hm, you could tweak the SQL db or you can try to run

bundle.ruby2.4 exec rails.ruby2.4 db:setup

again, which should have done this in first place...

Now it gets interesting:

obsserver:/srv/www/obs/api# bundle.ruby2.4 exec rails.ruby2.4 db:setup
/usr/lib64/ruby/gems/2.4.0/gems/activesupport-5.0.1/lib/active_support/xml_mini.rb:51:
warning: constant ::Fixnum is deprecated
/usr/lib64/ruby/gems/2.4.0/gems/activesupport-5.0.1/lib/active_support/xml_mini.rb:52:
warning: constant ::Bignum is deprecated
/usr/lib64/ruby/gems/2.4.0/gems/activejob-5.0.1/lib/active_job/arguments.rb:38:
warning: constant ::Fixnum is deprecated
/usr/lib64/ruby/gems/2.4.0/gems/activejob-5.0.1/lib/active_job/arguments.rb:38:
warning: constant ::Bignum is deprecated
/usr/lib64/ruby/gems/2.4.0/gems/activesupport-5.0.1/lib/active_support/core_ext/numeric/conversions.rb:138:
warning: constant ::Fixnum is deprecated
ERROR 1049 (42000): Unknown database 'api_development'

k, forgot to mention that you have to add

RAILS_ENV=production

to the line


--

Adrian Schroeter
email: adrian@xxxxxxx

SUSE Linux GmbH, GF: Felix Imendörffer, Jane Smithard, Graham Norton, 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