Hi,
the rake command aborts. I executed it with --trace for additional information:
./bin/rake --trace fix_project project="Test"
rake aborted!
LoadError: cannot load such file -- single_test/tasks
/usr/lib64/obs-api/ruby/2.5.0/gems/activesupport-5.2.5/lib/active_support/dependencies.rb:291:in `require'
/usr/lib64/obs-api/ruby/2.5.0/gems/activesupport-5.2.5/lib/active_support/dependencies.rb:291:in `block in require'
/usr/lib64/obs-api/ruby/2.5.0/gems/activesupport-5.2.5/lib/active_support/dependencies.rb:257:in `load_dependency'
/usr/lib64/obs-api/ruby/2.5.0/gems/activesupport-5.2.5/lib/active_support/dependencies.rb:291:in `require'
/srv/www/obs/api/Rakefile:12:in `'
/usr/lib64/obs-api/ruby/2.5.0/gems/rake-12.3.3/lib/rake/rake_module.rb:29:in `load'
/usr/lib64/obs-api/ruby/2.5.0/gems/rake-12.3.3/lib/rake/rake_module.rb:29:in `load_rakefile'
/usr/lib64/obs-api/ruby/2.5.0/gems/rake-12.3.3/lib/rake/application.rb:703:in `raw_load_rakefile'
/usr/lib64/obs-api/ruby/2.5.0/gems/rake-12.3.3/lib/rake/application.rb:104:in `block in load_rakefile'
/usr/lib64/obs-api/ruby/2.5.0/gems/rake-12.3.3/lib/rake/application.rb:186:in `standard_exception_handling'
/usr/lib64/obs-api/ruby/2.5.0/gems/rake-12.3.3/lib/rake/application.rb:103:in `load_rakefile'
/usr/lib64/obs-api/ruby/2.5.0/gems/rake-12.3.3/lib/rake/application.rb:82:in `block in run'
/usr/lib64/obs-api/ruby/2.5.0/gems/rake-12.3.3/lib/rake/application.rb:186:in `standard_exception_handling'
/usr/lib64/obs-api/ruby/2.5.0/gems/rake-12.3.3/lib/rake/application.rb:80:in `run'
rpm -qV obs-api looks ok so far, nothing is missing.
-----Ursprüngliche Nachricht-----
Von: Adrian Schröter [mailto:adrian@suse.de]
Gesendet: Montag, 20. September 2021 09:23
An: OBS List
Cc: Morschhäuser, Mark
Betreff: Re: "Additional projects in backend" mail
On Montag, 20. September 2021, 09:12:12 CEST Morschhäuser, Mark wrote:
Hello,
I get mails from my OBS instance with the content
Additional projects in backend:
["Test"]
What is the problem and how do I fix the issue?
The backend and frontend is out of sync.
cd /srv/www/obs/api/
./bin/rake fix_project project="Test"
to restore it in the frontend db.
--
Adrian Schroeter
Build Infrastructure Project Manager
SUSE Software Solutions Germany GmbH, Maxfeldstr. 5, 90409 Nuernberg, Germany (HRB 247165, AG München), Geschäftsführer: Felix Imendörffer