Mailinglist Archive: opensuse-buildservice (73 mails)

< Previous Next >
Re: [opensuse-buildservice] Bootstrap private OBS issues
  • From: Hans-Peter Jansen <hpj@xxxxxxxxx>
  • Date: Sat, 29 Jul 2017 00:34:04 +0200
  • Message-id: <3863225.EHzoYHbQT8@xrated>
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'
rails aborted!
failed to execute: `mysql`
Please check the output above for any errors and make sure that `mysql` is
installed in your PATH and has proper permissions.

/srv/www/obs/api/lib/tasks/databases.rake:90:in `block (2 levels) in <top
(required)>'
bin/rails:4:in `require'
bin/rails:4:in `<main>'
Tasks: TOP => db:structure:load
(See full trace by running task with --trace)

--
Pete

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

< Previous Next >
Follow Ups