Skip to content
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

Migrated Users are not shown under redmine only deleted-user is created in redmine #10

Open
manugbhat opened this issue Jan 20, 2015 · 1 comment

Comments

@manugbhat
Copy link

JIRA 6.4-OD Cloud.
Redmine 2.6

Projects, Issues,Trackers are migrated successfully but the user migration and the attachments are not migrated
Here is the output of UserMigrate rake job

root@linux:/opt/bitnami/apps/redmine/htdocs# rake jira_migration:migrate_users RAILS_ENV="production"
User Load (0.6ms) SELECT users.* FROM users WHERE users.type IN ('User', 'AnonymousUser')
User Load (2.9ms) SELECT users.* FROM users WHERE users.type IN ('User', 'AnonymousUser') AND users.login = 'deleted-user'
Found JIRA user: krishnaraj
Found JIRA user: mkatre
Found JIRA user: vanand
Found JIRA user: pmadatha
Found JIRA user: lakshmi
Found JIRA user: sysadmin
Found JIRA user: admin
Found JIRA user: dijo
Found JIRA user: amahajan
Found JIRA user: addon_lucidchart-app
Found JIRA user: madhuri_mukkamala
Found JIRA user: smadhav
Found JIRA user: vdixit
Found JIRA user: ashok
Found JIRA user: smiriyala
Found JIRA user: ssharma
Found JIRA user: madhunat
Found JIRA user: manu
Found JIRA user: hari
Found JIRA user: vignesh
Found JIRA user: [email protected]
Found JIRA user: [email protected]
Found JIRA user: deepak
Found JIRA user: sathish
Found JIRA user: prabhat
User Load (3.3ms) SELECT users.* FROM users WHERE users.type IN ('User', 'AnonymousUser') AND (LOWER(mail) = '[email protected]') LIMIT 1
User Load (2.6ms) SELECT users.* FROM users WHERE users.type IN ('User', 'AnonymousUser') AND (LOWER(mail) = '[email protected]') LIMIT 1
User Load (0.5ms) SELECT users.* FROM users WHERE users.type IN ('User', 'AnonymousUser') AND (LOWER(mail) = '[email protected]') LIMIT 1
User Load (0.5ms) SELECT users.* FROM users WHERE users.type IN ('User', 'AnonymousUser') AND (LOWER(mail) = '[email protected]') LIMIT 1
User Load (0.4ms) SELECT users.* FROM users WHERE users.type IN ('User', 'AnonymousUser') AND (LOWER(mail) = '[email protected]') LIMIT 1
User Load (0.4ms) SELECT users.* FROM users WHERE users.type IN ('User', 'AnonymousUser') AND (LOWER(mail) = 'sysadmin@localhost') LIMIT 1
User Load (0.4ms) SELECT users.* FROM users WHERE users.type IN ('User', 'AnonymousUser') AND (LOWER(mail) = '[email protected]') LIMIT 1
User Load (0.4ms) SELECT users.* FROM users WHERE users.type IN ('User', 'AnonymousUser') AND (LOWER(mail) = '[email protected]') LIMIT 1
User Load (0.5ms) SELECT users.* FROM users WHERE users.type IN ('User', 'AnonymousUser') AND (LOWER(mail) = '[email protected]') LIMIT 1
User Load (0.4ms) SELECT users.* FROM users WHERE users.type IN ('User', 'AnonymousUser') AND (LOWER(mail) = '[email protected]') LIMIT 1
User Load (0.4ms) SELECT users.* FROM users WHERE users.type IN ('User', 'AnonymousUser') AND (LOWER(mail) = '[email protected]') LIMIT 1
User Load (0.4ms) SELECT users.* FROM users WHERE users.type IN ('User', 'AnonymousUser') AND (LOWER(mail) = '[email protected]') LIMIT 1
User Load (0.4ms) SELECT users.* FROM users WHERE users.type IN ('User', 'AnonymousUser') AND (LOWER(mail) = '[email protected]') LIMIT 1
User Load (0.5ms) SELECT users.* FROM users WHERE users.type IN ('User', 'AnonymousUser') AND (LOWER(mail) = '[email protected]') LIMIT 1
User Load (0.4ms) SELECT users.* FROM users WHERE users.type IN ('User', 'AnonymousUser') AND (LOWER(mail) = '[email protected]') LIMIT 1
User Load (0.4ms) SELECT users.* FROM users WHERE users.type IN ('User', 'AnonymousUser') AND (LOWER(mail) = '[email protected]') LIMIT 1
User Load (0.4ms) SELECT users.* FROM users WHERE users.type IN ('User', 'AnonymousUser') AND (LOWER(mail) = '[email protected]') LIMIT 1
User Load (0.4ms) SELECT users.* FROM users WHERE users.type IN ('User', 'AnonymousUser') AND (LOWER(mail) = '[email protected]') LIMIT 1
User Load (1.8ms) SELECT users.* FROM users WHERE users.type IN ('User', 'AnonymousUser') AND (LOWER(mail) = '[email protected]') LIMIT 1
User Load (1.2ms) SELECT users.* FROM users WHERE users.type IN ('User', 'AnonymousUser') AND (LOWER(mail) = '[email protected]') LIMIT 1
User Load (0.4ms) SELECT users.* FROM users WHERE users.type IN ('User', 'AnonymousUser') AND (LOWER(mail) = '[email protected]') LIMIT 1
User Load (0.4ms) SELECT users.* FROM users WHERE users.type IN ('User', 'AnonymousUser') AND (LOWER(mail) = '[email protected]') LIMIT 1
User Load (0.4ms) SELECT users.* FROM users WHERE users.type IN ('User', 'AnonymousUser') AND (LOWER(mail) = '[email protected]') LIMIT 1
User Load (0.5ms) SELECT users.* FROM users WHERE users.type IN ('User', 'AnonymousUser') AND (LOWER(mail) = '[email protected]') LIMIT 1
User Load (0.4ms) SELECT users.* FROM users WHERE users.type IN ('User', 'AnonymousUser') AND (LOWER(mail) = '[email protected]') LIMIT 1
Migrated Users

Need urgent help , since we are in the middle of migration .

Help appreciated.

Thanks,
Suvrat

@manugbhat
Copy link
Author

Had to create dummy users in redmine with matching email ID's . Users have been successfully migrated.

Also, is there anyway if this can migrate groups and permissions as well?

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant