Created
April 27, 2016 07:33
-
-
Save kirs/eb8cefcd6763d5b2d169c5e6163b2833 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
[email protected]:~ 2$ docker exec -i -t 55adc98ceacd bundle exec rails console | |
/app/app/models/theme/setting.rb:170: warning: already initialized constant Theme::Setting::InlineText | |
/app/app/models/theme/setting.rb:162: warning: previous definition of InlineText was here | |
[Sharding::NonPodSelectorSelection] Shard selected from outside PodSelector. | |
/usr/lib/shopify-ruby/2.2.3-shopify2/lib/ruby/2.2.0/logger.rb:372:in `add' | |
/artifacts/ruby/2.2.0/gems/activesupport-4.2.6/lib/active_support/logger.rb:52:in `add' | |
/artifacts/ruby/2.2.0/gems/activesupport-4.2.6/lib/active_support/logger.rb:13:in `block (2 levels) in broadcast' | |
/usr/lib/shopify-ruby/2.2.3-shopify2/lib/ruby/2.2.0/logger.rb:400:in `debug' | |
/app/lib/sharding.rb:143:in `with_shard' | |
/app/lib/sharding/core_ext/console.rb:7:in `start_with_select_shard' | |
/artifacts/ruby/2.2.0/gems/railties-4.2.6/lib/rails/commands/console.rb:9:in `start' | |
/artifacts/ruby/2.2.0/gems/railties-4.2.6/lib/rails/commands/commands_tasks.rb:68:in `console' | |
/artifacts/ruby/2.2.0/gems/railties-4.2.6/lib/rails/commands/commands_tasks.rb:39:in `run_command!' | |
/artifacts/ruby/2.2.0/gems/railties-4.2.6/lib/rails/commands.rb:17:in `<top (required)>' | |
/artifacts/ruby/2.2.0/gems/bootscale-0.5.1/lib/bootscale/core_ext.rb:4:in `require' | |
/artifacts/ruby/2.2.0/gems/bootscale-0.5.1/lib/bootscale/core_ext.rb:4:in `require' | |
bin/rails:4:in `<main>' | |
Loading production environment (Rails 4.2.6) | |
irb(main):001:0> Sharding.current | |
=> 0 | |
irb(main):003:0> Shop.find(11841134) | |
Mysql2::ResourceBusyError: [mysql_master] semget() failed, errno: 13 (Permission denied) | |
from /artifacts/ruby/2.2.0/gems/semian-0.4.1/lib/semian/adapter.rb:33:in `rescue in acquire_semian_resource' | |
from /artifacts/ruby/2.2.0/gems/semian-0.4.1/lib/semian/adapter.rb:26:in `acquire_semian_resource' | |
from /artifacts/ruby/2.2.0/gems/semian-0.4.1/lib/semian/mysql2.rb:86:in `acquire_semian_resource' | |
from /artifacts/ruby/2.2.0/gems/semian-0.4.1/lib/semian/mysql2.rb:82:in `connect' | |
from /artifacts/ruby/2.2.0/gems/mysql2-0.3.20/lib/mysql2/client.rb:70:in `initialize' | |
from /artifacts/ruby/2.2.0/gems/activerecord-pedantmysql2-adapter-1.0.0/lib/active_record/connection_adapters/pedant_mysql2_adapter.rb:14:in `new' | |
from /artifacts/ruby/2.2.0/gems/activerecord-pedantmysql2-adapter-1.0.0/lib/active_record/connection_adapters/pedant_mysql2_adapter.rb:14:in `pedant_mysql2_connection' | |
from /artifacts/ruby/2.2.0/gems/activerecord-4.2.6/lib/active_record/connection_adapters/abstract/connection_pool.rb:438:in `new_connection' | |
from /artifacts/ruby/2.2.0/gems/activerecord-4.2.6/lib/active_record/connection_adapters/abstract/connection_pool.rb:448:in `checkout_new_connection' | |
from /artifacts/ruby/2.2.0/gems/activerecord-4.2.6/lib/active_record/connection_adapters/abstract/connection_pool.rb:422:in `acquire_connection' | |
from /artifacts/ruby/2.2.0/gems/activerecord-4.2.6/lib/active_record/connection_adapters/abstract/connection_pool.rb:349:in `block in checkout' | |
from /usr/lib/shopify-ruby/2.2.3-shopify2/lib/ruby/2.2.0/monitor.rb:211:in `mon_synchronize' | |
from /artifacts/ruby/2.2.0/gems/activerecord-4.2.6/lib/active_record/connection_adapters/abstract/connection_pool.rb:348:in `checkout' | |
from /artifacts/ruby/2.2.0/gems/activerecord-4.2.6/lib/active_record/connection_adapters/abstract/connection_pool.rb:263:in `block in connection' | |
from /usr/lib/shopify-ruby/2.2.3-shopify2/lib/ruby/2.2.0/monitor.rb:211:in `mon_synchronize' | |
from /artifacts/ruby/2.2.0/gems/activerecord-4.2.6/lib/active_record/connection_adapters/abstract/connection_pool.rb:262:in `connection' | |
... 10 levels... | |
from (irb):3 | |
from /artifacts/ruby/2.2.0/gems/railties-4.2.6/lib/rails/commands/console.rb:110:in `start' | |
from /app/lib/sharding/core_ext/console.rb:11:in `block in start_with_select_shard' | |
from /app/lib/sharding/switcher.rb:73:in `block in with_shard_without_nested_shard_check' | |
from /app/lib/sharding/switcher.rb:84:in `with_query_cache' | |
from /app/lib/sharding/switcher.rb:73:in `with_shard_without_nested_shard_check' | |
from /app/lib/sharding/switcher.rb:43:in `with_shard' | |
from /app/lib/sharding.rb:147:in `with_shard' | |
from /app/lib/sharding/core_ext/console.rb:7:in `start_with_select_shard' | |
from /artifacts/ruby/2.2.0/gems/railties-4.2.6/lib/rails/commands/console.rb:9:in `start' | |
from /artifacts/ruby/2.2.0/gems/railties-4.2.6/lib/rails/commands/commands_tasks.rb:68:in `console' | |
from /artifacts/ruby/2.2.0/gems/railties-4.2.6/lib/rails/commands/commands_tasks.rb:39:in `run_command!' | |
from /artifacts/ruby/2.2.0/gems/railties-4.2.6/lib/rails/commands.rb:17:in `<top (required)>' | |
from /artifacts/ruby/2.2.0/gems/bootscale-0.5.1/lib/bootscale/core_ext.rb:4:in `require' | |
from /artifacts/ruby/2.2.0/gems/bootscale-0.5.1/lib/bootscale/core_ext.rb:4:in `require' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment