Hi,
On May 7, 2012 at 7:11 PM "Carsten Höger"
The api logs show:
[INFO |#24729] Parameters: {"comment"=>"checked in by oxbuildpackage", "user"=>"oxbuilduser", "package"=>"open-xchange-imap", "project"=>"open-xchange-nightly", "cmd"=>"commitfilelist"} [INFO |#24729] Sending data [FATAL|#24729] ActiveRecord::StatementInvalid (Mysql::Error: Table 'frontend_production.db_package_kinds' doesn't exist: SELECT * FROM `db_package_kinds` WHERE (`db_package_kinds`.db_package_id = 25086) ):
This was the root cause of the problem. Checking file db/production_structure.sql I found 4 missing tables: db_package_issues, issues, db_package_kinds and issue_trackers. After I created them manually, I can upload again. These might not have been created by the db:migrate task, because that one fails: buildservice:/srv/www/obs/api # RAILS_ENV="production" rake db:migrate ** Erubis 2.6.6 == AddSqlConstraints: migrating ============================================== WARNING: The database is inconsistent, some FOREIGN KEYs (aka CONSTRAINTS) can not be added! please run script/check_database script to fix the data. rake aborted! An error has occurred, all later migrations canceled: uninitialized constant AddSqlConstraints::IllegalMigrationNameError Tasks: TOP => db:migrate (See full trace by running task with --trace) I don't know how to run script/check_database, it only tries to access frontend_development... -- mit freundlichen Gruessen/with best regards, Carsten Hoeger Open-Xchange GmbH ------------------------------------------------------------------------------- Open-Xchange AG, Maxfeldstr. 9, 90409 Nürnberg, Amtsgericht Nürnberg HRB 24738 Vorstand: Rafael Laguna de la Vera, Carsten Dirks Aufsichtsratsvorsitzender: Richard Seibt European Office: Open-Xchange GmbH, Martinstr. 41, D-57462 Olpe, Germany Amtsgericht Siegen, HRB 8718, Geschäftsführer: Frank Hoberg, Martin Kauss ------------------------------------------------------------------------------- -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org