Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Migrate to redmine 2.6.5 to 3.0.3 and git hosting from 0.7.10 to 1.1.0 fails #459
It starts out alright; but then gives some errors (see below)
Is the reason maby, that I'm migrating both redmine and githosting ?
Thanks for tips.
It's always better to upgrade only one thing at a time :)
Hey, +1 here for me too. Very similar errors when migrating redmine_git_hosting from 0.7.7 to 1.1.1. To test this I reset the database to a known-working state backup under the following configuration:
The upgrade and migrations for Redmine from 2.5x to 3.1 stable work just fine. As outlined here: http://www.redmine.org/projects/redmine/wiki/RedmineUpgrade
All plugins are temporarily moved away when performing this upgrade. Here is the summary of what is performed:
Test Redmine application out and it works, just fine... seems speedier too!
Now time to update redmine_git_hosting:
I comment out
Which happily succeeds! This install has several hundred ssh keys.
Note that Redmine 3.x is apparently incompatible with v0.7.10. I do not yet start the application server...
Up to this point things work. Note that the
Now run the migration task...
Works halfway before dropping out with:
This is entirely repeatable for me.
This is due to Rails callbacks : https://github.com/jbox-web/redmine_git_hosting/blob/devel/app/models/repository_git_extra.rb#L45 triggered by https://github.com/jbox-web/redmine_git_hosting/blob/devel/db/migrate/20140423224900_convert_boolean.rb#L46
Can you please try with the
I hate to revive this issue but....
Now, on a different system, I cannot progress past the prepare migrations! What?? I am in the right version...
This is perplexing. In trying to address this issue, I migrated gitolite to version 3. No win there.
The error comes from here : https://github.com/jbox-web/redmine_git_hosting/blob/v0.7.x/lib/redmine_gitolite/admin_users_helper.rb#L49
There is something wrong with the Gitolite Admin repo. The
referenced this issue
Nov 5, 2015
I'm having similar problem.
What I did:
Any idea what could be wrong or what should I modify?
EDIT/UPDATE: in case anyone stumbles upon same issue here is the cure:
#339 (comment) see paragraph 8)