Mailinglist Archive: opensuse-buildservice (140 mails)

< Previous Next >
Re: [opensuse-buildservice] obs 2.6 rake migration failure
2016-04-11 9:51 GMT+03:00 Adrian Schröter <adrian@xxxxxxx>:
On Freitag, 8. April 2016, 19:52:39 wrote Matwey V. Kornilov:

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
NameError: uninitialized constant FixBrokenProjectTypes::DbProjectType
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@xxxxxxx

SUSE Linux GmbH, GF: Felix Imendörffer, Jane Smithard, Graham Norton, HRB
21284 (AG Nürnberg)

Maxfeldstraße 5
90409 Nürnberg

With best regards,
Matwey V. Kornilov
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-buildservice+owner@xxxxxxxxxxxx

< Previous Next >