Created
January 25, 2018 09:57
-
-
Save ohadlevy/2d57bd59bfa68b38d110a91acba763d9 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rake aborted! | |
ActiveRecord::RecordInvalid: Validation failed: Name has already been taken | |
/home/foreman/gems/gems/activerecord-5.1.4/lib/active_record/validations.rb:78:in `raise_validation_error' | |
/home/foreman/gems/gems/activerecord-5.1.4/lib/active_record/validations.rb:50:in `save!' | |
/home/foreman/gems/gems/activerecord-5.1.4/lib/active_record/attribute_methods/dirty.rb:43:in `save!' | |
/home/foreman/gems/gems/activerecord-5.1.4/lib/active_record/transactions.rb:313:in `block in save!' | |
/home/foreman/gems/gems/activerecord-5.1.4/lib/active_record/transactions.rb:384:in `block in with_transaction_returning_status' | |
/home/foreman/gems/gems/activerecord-5.1.4/lib/active_record/connection_adapters/abstract/database_statements.rb:233:in `transaction' | |
/home/foreman/gems/gems/activerecord-5.1.4/lib/active_record/transactions.rb:210:in `transaction' | |
/home/foreman/gems/gems/activerecord-5.1.4/lib/active_record/transactions.rb:381:in `with_transaction_returning_status' | |
/home/foreman/gems/gems/activerecord-5.1.4/lib/active_record/transactions.rb:313:in `save!' | |
/home/foreman/gems/gems/activerecord-5.1.4/lib/active_record/suppressor.rb:46:in `save!' | |
/home/foreman/git/foreman/app/models/role.rb:207:in `add_permissions!' | |
/home/foreman/git/foreman/app/services/foreman/plugin/role_lock.rb:45:in `block in update_plugin_role_permissions' | |
/home/foreman/git/foreman/app/models/role.rb:85:in `ignore_locking' | |
/home/foreman/git/foreman/app/services/foreman/plugin/role_lock.rb:43:in `update_plugin_role_permissions' | |
/home/foreman/git/foreman/app/services/foreman/plugin/role_lock.rb:22:in `process_role' | |
/home/foreman/git/foreman/app/services/foreman/plugin/role_lock.rb:13:in `block (2 levels) in register_role' | |
/home/foreman/gems/gems/activerecord-5.1.4/lib/active_record/connection_adapters/abstract/database_statements.rb:235:in `block in transaction' | |
/home/foreman/gems/gems/activerecord-5.1.4/lib/active_record/connection_adapters/abstract/transaction.rb:194:in `block in within_new_transaction' | |
/home/foreman/gems/gems/activerecord-5.1.4/lib/active_record/connection_adapters/abstract/transaction.rb:191:in `within_new_transaction' | |
/home/foreman/gems/gems/activerecord-5.1.4/lib/active_record/connection_adapters/abstract/database_statements.rb:235:in `transaction' | |
/home/foreman/gems/gems/activerecord-5.1.4/lib/active_record/transactions.rb:210:in `transaction' | |
/home/foreman/git/foreman/app/services/foreman/plugin/role_lock.rb:12:in `block in register_role' | |
/home/foreman/git/foreman/app/models/concerns/foreman/thread_session.rb:93:in `as' | |
/home/foreman/git/foreman/app/models/concerns/foreman/thread_session.rb:99:in `as_anonymous_admin' | |
/home/foreman/git/foreman/app/services/foreman/plugin/role_lock.rb:11:in `register_role' | |
/home/foreman/git/foreman/app/registries/foreman/plugin.rb:249:in `role' | |
/home/foreman/gems/gems/foreman_remote_execution-1.4.2/lib/foreman_remote_execution/engine.rb:85:in `block (2 levels) in <class:Engine>' | |
/home/foreman/git/foreman/app/registries/foreman/plugin.rb:67:in `instance_eval' | |
/home/foreman/git/foreman/app/registries/foreman/plugin.rb:67:in `register' | |
/home/foreman/gems/gems/foreman_remote_execution-1.4.2/lib/foreman_remote_execution/engine.rb:33:in `block in <class:Engine>' | |
/home/foreman/gems/gems/railties-5.1.4/lib/rails/initializable.rb:30:in `instance_exec' | |
/home/foreman/gems/gems/railties-5.1.4/lib/rails/initializable.rb:30:in `run' | |
/home/foreman/gems/gems/railties-5.1.4/lib/rails/initializable.rb:59:in `block in run_initializers' | |
/home/foreman/gems/gems/railties-5.1.4/lib/rails/initializable.rb:58:in `run_initializers' | |
/home/foreman/gems/gems/railties-5.1.4/lib/rails/application.rb:353:in `initialize!' | |
/home/foreman/gems/gems/railties-5.1.4/lib/rails/railtie.rb:185:in `public_send' | |
/home/foreman/gems/gems/railties-5.1.4/lib/rails/railtie.rb:185:in `method_missing' | |
/home/foreman/git/foreman/config/environment.rb:5:in `<top (required)>' | |
/home/foreman/gems/gems/polyglot-0.3.5/lib/polyglot.rb:65:in `require' | |
/home/foreman/gems/gems/polyglot-0.3.5/lib/polyglot.rb:65:in `require' | |
/home/foreman/gems/gems/activesupport-5.1.4/lib/active_support/dependencies.rb:292:in `block in require' | |
/home/foreman/gems/gems/activesupport-5.1.4/lib/active_support/dependencies.rb:258:in `load_dependency' | |
/home/foreman/gems/gems/activesupport-5.1.4/lib/active_support/dependencies.rb:292:in `require' | |
/home/foreman/gems/gems/railties-5.1.4/lib/rails/application.rb:329:in `require_environment!' | |
/home/foreman/gems/gems/railties-5.1.4/lib/rails/application.rb:445:in `block in run_tasks_blocks' | |
/home/foreman/gems/gems/sprockets-rails-3.2.1/lib/sprockets/rails/task.rb:62:in `block (2 levels) in define' | |
/home/foreman/gems/gems/rake-12.3.0/exe/rake:27:in `<top (required)>' | |
/home/foreman/gems/gems/bundler-1.16.1/lib/bundler/cli/exec.rb:75:in `load' | |
/home/foreman/gems/gems/bundler-1.16.1/lib/bundler/cli/exec.rb:75:in `kernel_load' | |
/home/foreman/gems/gems/bundler-1.16.1/lib/bundler/cli/exec.rb:28:in `run' | |
/home/foreman/gems/gems/bundler-1.16.1/lib/bundler/cli.rb:424:in `exec' | |
/home/foreman/gems/gems/bundler-1.16.1/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run' | |
/home/foreman/gems/gems/bundler-1.16.1/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command' | |
/home/foreman/gems/gems/bundler-1.16.1/lib/bundler/vendor/thor/lib/thor.rb:387:in `dispatch' | |
/home/foreman/gems/gems/bundler-1.16.1/lib/bundler/cli.rb:27:in `dispatch' | |
/home/foreman/gems/gems/bundler-1.16.1/lib/bundler/vendor/thor/lib/thor/base.rb:466:in `start' | |
/home/foreman/gems/gems/bundler-1.16.1/lib/bundler/cli.rb:18:in `start' | |
/home/foreman/gems/gems/bundler-1.16.1/exe/bundle:30:in `block in <top (required)>' | |
/home/foreman/gems/gems/bundler-1.16.1/lib/bundler/friendly_errors.rb:122:in `with_friendly_errors' | |
/home/foreman/gems/gems/bundler-1.16.1/exe/bundle:22:in `<top (required)>' | |
/opt/rh/rh-ruby24/root/usr/bin/bundle:22:in `load' | |
/opt/rh/rh-ruby24/root/usr/bin/bundle:22:in `<main>' | |
Tasks: TOP => environment | |
(See full trace by running task with --trace) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment