{"action":"created","issue":{"url":"https://api.github.com/repos/iymaltsev/access_tickets/issues/2","repository_url":"https://api.github.com/repos/iymaltsev/access_tickets","labels_url":"https://api.github.com/repos/iymaltsev/access_tickets/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/iymaltsev/access_tickets/issues/2/comments","events_url":"https://api.github.com/repos/iymaltsev/access_tickets/issues/2/events","html_url":"https://github.com/iymaltsev/access_tickets/issues/2","id":385331394,"node_id":"MDU6SXNzdWUzODUzMzEzOTQ=","number":2,"title":"ActiveRecord::DuplicateMigrationNameError:  CreateIAccesses","user":{"login":"pr0l","id":39014797,"node_id":"MDQ6VXNlcjM5MDE0Nzk3","avatar_url":"https://avatars2.githubusercontent.com/u/39014797?v=4","gravatar_id":"","url":"https://api.github.com/users/pr0l","html_url":"https://github.com/pr0l","followers_url":"https://api.github.com/users/pr0l/followers","following_url":"https://api.github.com/users/pr0l/following{/other_user}","gists_url":"https://api.github.com/users/pr0l/gists{/gist_id}","starred_url":"https://api.github.com/users/pr0l/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pr0l/subscriptions","organizations_url":"https://api.github.com/users/pr0l/orgs","repos_url":"https://api.github.com/users/pr0l/repos","events_url":"https://api.github.com/users/pr0l/events{/privacy}","received_events_url":"https://api.github.com/users/pr0l/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-11-28T15:47:14Z","updated_at":"2018-11-28T22:38:39Z","closed_at":"2018-11-28T22:38:39Z","author_association":"NONE","body":"Greetings. When installing the plugin error comes out\r\n\r\n$ bundle exec rake redmine: plugins: migrate name = access_tickets RAILS_ENV = production\r\nMigrating a_common_libs (A common libraries) ...\r\nMigrating access_tickets (Access tickets) ...\r\nrake aborted!\r\nActiveRecord :: DuplicateMigrationNameError:\r\n\r\nMultiple migrations have the name CreateIAccesses\r\n\r\n/opt/redmine/.rvm/gems/ruby-2.4.1/gems/activerecord-4.2.8/lib/active_record/migration.rb:1017:in `validate '\r\n/opt/redmine/.rvm/gems/ruby-2.4.1/gems/activerecord-4.2.8/lib/active_record/migration.rb:923:in `initialize '\r\n/opt/redmine/.rvm/gems/ruby-2.4.1/gems/activerecord-4.2.8/lib/active_record/migration.rb:823:in `new '\r\n/opt/redmine/.rvm/gems/ruby-2.4.1/gems/activerecord-4.2.8/lib/active_record/migration.rb:823:in `up '\r\n/opt/redmine/.rvm/gems/ruby-2.4.1/gems/activerecord-4.2.8/lib/active_record/migration.rb:801:in `migrate '\r\n/opt/redmine/redmine/lib/redmine/plugin.rb:481:in `migrate_plugin '\r\n/opt/redmine/redmine/lib/redmine/plugin.rb:453:in `migrate '\r\n/opt/redmine/redmine/lib/redmine/plugin.rb:467:in `block in migrate '\r\n/opt/redmine/redmine/lib/redmine/plugin.rb:466:in `each '\r\n/opt/redmine/redmine/lib/redmine/plugin.rb:466:in `migrate '\r\n/opt/redmine/redmine/lib/tasks/redmine.rake:135:in `block (3 levels) in <top (required)> '\r\n/opt/redmine/.rvm/gems/ruby-2.4.1/gems/rake-12.3.0/exe/rake:27:in `<top (required)> '\r\n/opt/redmine/.rvm/gems/ruby-2.4.1/bin/ruby_executable_hooks:15:in `eval '\r\n/opt/redmine/.rvm/gems/ruby-2.4.1/bin/ruby_executable_hooks:15:in `<main> '\r\nTasks: TOP => redmine: plugins: migrate\r\n(See full trace by running task with --trace)\r\n\r\nas I understand it, either CreateIAccesses is duplicated with another plugin, or a replacement of the name CreateIAccesses2 can help.\r\n"},"comment":{"url":"https://api.github.com/repos/iymaltsev/access_tickets/issues/comments/442632377","html_url":"https://github.com/iymaltsev/access_tickets/issues/2#issuecomment-442632377","issue_url":"https://api.github.com/repos/iymaltsev/access_tickets/issues/2","id":442632377,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0MjYzMjM3Nw==","user":{"login":"pr0l","id":39014797,"node_id":"MDQ6VXNlcjM5MDE0Nzk3","avatar_url":"https://avatars2.githubusercontent.com/u/39014797?v=4","gravatar_id":"","url":"https://api.github.com/users/pr0l","html_url":"https://github.com/pr0l","followers_url":"https://api.github.com/users/pr0l/followers","following_url":"https://api.github.com/users/pr0l/following{/other_user}","gists_url":"https://api.github.com/users/pr0l/gists{/gist_id}","starred_url":"https://api.github.com/users/pr0l/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pr0l/subscriptions","organizations_url":"https://api.github.com/users/pr0l/orgs","repos_url":"https://api.github.com/users/pr0l/repos","events_url":"https://api.github.com/users/pr0l/events{/privacy}","received_events_url":"https://api.github.com/users/pr0l/received_events","type":"User","site_admin":false},"created_at":"2018-11-28T22:38:39Z","updated_at":"2018-11-28T22:38:39Z","author_association":"NONE","body":"I had to sort out the problem myself.\r\nI deleted files names that started 40XX in the access_tickets / db / migrate / folder as they duplicated files that started with the name 1XXX\r\nAfter that, everything was fixed without errors."}}
{"actor":{"display_login":"pr0l"}}