-
Notifications
You must be signed in to change notification settings - Fork 116
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Migrate to redmine 2.6.5 to 3.0.3 and git hosting from 0.7.10 to 1.1.0 fails #459
Comments
It's always better to upgrade only one thing at a time :) |
Any news? |
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:
Attempting a
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. Any hints? |
Hi! 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 |
That's AWESOME! The Thank you! |
You're welcome :) The patch will be merged in the next release. |
hi 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...
And then:
This is perplexing. In trying to address this issue, I migrated gitolite to version 3. No win there. Any hints? Thanks! |
While I still have no idea how those errors came up, I 'fixed' them by re-cloning the entirety of redmine, and copying the repos from my working configuration. Possibly not a very helpful strategy to others here, I guess, but it worked. |
I get the same error even with the fix_migrate branch =( |
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 |
I finally decided to uninstall the plugin, reinstall it from scratch and recreate the repos. It seems that the origin of this problem was a broken gitolite setup (manual install interfering with the ones installed by debian) |
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) |
Hi,
I'm trying
redmine_git_hosting:migrate_to_v1
It starts out alright; but then gives some errors (see below)
Is the reason maby, that I'm migrating both redmine and githosting ?
Maby I should keep redmine on 2.6.5 and migrate githosting alone ???
Thanks for tips.
The text was updated successfully, but these errors were encountered: