[opensuse-buildservice] Upgrading to OBS 2.7, database migrate fails
Hi there, I'm trying to upgrade to OBS 2.7, and I need to migrate the DB. The instructions (from https://github.com/openSUSE/open-build-service/blob/master/dist/README.UPDAT...) tell my to run "RAILS_ENV="production" rails.ruby2.3 db:migrate" However, I get an 'Error: Command 'db:migrate' not recognized' Am I doing something wrong? (obviousle I am).... -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
Hmm, turns out the documentation is wrong?? RAILS_ENV="production" rake.ruby2.3 --trace db:migrate works. ----- On Sep 29, 2016, at 4:35 PM, Troels Hansen th@casalogic.dk wrote:
Hi there,
I'm trying to upgrade to OBS 2.7, and I need to migrate the DB.
The instructions (from https://github.com/openSUSE/open-build-service/blob/master/dist/README.UPDAT...) tell my to run "RAILS_ENV="production" rails.ruby2.3 db:migrate"
However, I get an 'Error: Command 'db:migrate' not recognized'
Am I doing something wrong? (obviousle I am)....
-- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
-- Med venlig hilsen Troels Hansen Systemkonsulent Casalogic A/S T (+45) 70 20 10 63 M (+45) 22 43 71 57 Red Hat, SUSE, VMware, Citrix, Novell, Yellowfin BI, EnterpriseDB, Sophos og meget mere. -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
Hey, On 29.09.2016 17:09, Troels Hansen wrote:
Hmm, turns out the documentation is wrong??
Please file an issue on github. https://github.com/openSUSE/open-build-service/issues Thanks in advance. Henne -- Henne Vogelsang http://www.opensuse.org Everybody has a plan, until they get hit. - Mike Tyson -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
On Donnerstag, 29. September 2016, 16:35:20 CEST wrote Troels Hansen:
Hi there,
I'm trying to upgrade to OBS 2.7, and I need to migrate the DB.
The instructions (from https://github.com/openSUSE/open-build-service/blob/master/dist/README.UPDAT...) tell my to run "RAILS_ENV="production" rails.ruby2.3 db:migrate" ^^^^^
this needs to be rake instead of rails.
However, I get an 'Error: Command 'db:migrate' not recognized'
Am I doing something wrong? (obviousle I am)....
You are reading the README file of git master branch, but you run OBS 2.7. Rails has changed meanwhile, so the docu has been adapted already. Either read the file which comes with the package or switch to 2.7 branch. bd adrian -- 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 -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
participants (3)
-
Adrian Schröter
-
Henne Vogelsang
-
Troels Hansen