(Yes, resurrecting an old thread, but additional information for sparsely documented problems might be helpful to others ;-) Am 20.09.21 um 09:23 schrieb Adrian Schröter:
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.
RAILS_ENV=production ./bin/rake ... to make it actually work. IF the project complained about is a project whose creation failed due to the signd not wanting to sign after the update of the host OS or an expired key, then a simple way to fix this is to simply remove the directory /srv/obs/projects/Test.pkg and the file /srv/obs/projects/Test.xml This saves the effort to actually delete the project again after "rake fix_project" added it to tha database :-) Have fun, -- Stefan Seyfried "Once the rockets are up, who cares where they come down? That's not my department," says Wernher von Braun. -- Tom Lehrer