2016-04-11 9:51 GMT+03:00 Adrian Schröter
On Freitag, 8. April 2016, 19:52:39 wrote Matwey V. Kornilov:
Hello,
I am running openSUSE Leap 42.1 and obs-api-2.6.51.git20160407.7e44383-1871.1.noarch from OBS:Server:Unstable
When running api migrate, I have the following failure:
== 20131021063641 FixBrokenProjectTypes: migrating
This means you try to upgrade from something like OBS 2.4 or earlier to OBS 2.7 directly?
This is not supported, please run the migrations to 2.5 first. Afterwards you can skip 2.6 and update to 2.7/Unstable.
Ok. Didn't know that. However, I've managed conflicts manually. The most annoying thing is that MySQL commits transactions on 'alter table ...'.
============================ rake aborted! StandardError: An error has occurred, all later migrations canceled:
uninitialized constant FixBrokenProjectTypes::DbProjectType/srv/www/obs/api/db/migrate/20131021063641_fix_broken_project_types.rb:3:in `up' NameError: uninitialized constant FixBrokenProjectTypes::DbProjectType /srv/www/obs/api/db/migrate/20131021063641_fix_broken_project_types.rb:3:in `up' Tasks: TOP => db:migrate (See full trace by running task with --trace)
Is it something wrong with migrations or with my database instance?
--
Adrian Schroeter email: adrian@suse.de
SUSE Linux GmbH, GF: Felix Imendörffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nürnberg)
Maxfeldstraße 5 90409 Nürnberg Germany
-- With best regards, Matwey V. Kornilov http://blog.matwey.name xmpp://0x2207@jabber.ru -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org