Mailinglist Archive: opensuse-buildservice (140 mails)

< Previous Next >
Re: [opensuse-buildservice] obs 2.6 rake migration failure
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.

============================
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@xxxxxxx

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

Maxfeldstraße 5
90409 Nürnberg
Germany


--
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-buildservice+owner@xxxxxxxxxxxx

< Previous Next >
Follow Ups
References