We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Please explain here below what you were doing when the issue happened
script/create_dev_user
D, [2022-04-14T14:06:13.676925 #8295] DEBUG -- : Carto::ApiKey Exists (0.1ms) SELECT 1 AS one FROM "api_keys" WHERE ("api_keys"."name" = 'Master' AND "api_keys"."user_id" = '0b488671-43f2-4e56-8972-699166ce2286') LIMIT 1 D, [2022-04-14T14:06:13.678287 #8295] DEBUG -- : SQL (0.4ms) INSERT INTO "api_keys" ("user_id", "type", "name", "token", "grants", "db_role", "db_password", "created_at", "updated_at") VALUES ('0b488671-43f2-4e56-8972-699166ce2286', 'master', 'Master', 'c51b872a1fb68c1039dc7073466c8b1e5b54f1e4', '[{"type":"apis","apis":["sql","maps"]},{"type":"dataservices","services":["geocoding","routing","isolines","observatory"]},{"type":"user","data":["profile"]}]', 'development_cartodb_user_0b488671-43f2-4e56-8972-699166ce2286', '707cfcc49faf8435086cb531dadf99f6e90e3114development_cartodb_user_0b488671-43f2-4e56-8972-699166ce2286', '2022-04-14 14:06:13.677288', '2022-04-14 14:06:13.677288') RETURNING "id" [["user_id", "0b488671-43f2-4e56-8972-699166ce2286"], ["type", "master"], ["name", "Master"], ["token", "c51b872a1fb68c1039dc7073466c8b1e5b54f1e4"], ["grants", [{:type=>"apis", :apis=>["sql", "maps"]}, {:type=>"dataservices", :services=>["geocoding", "routing", "isolines", "observatory"]}, {:type=>"user", :data=>["profile"]}]], ["db_role", "development_cartodb_user_0b488671-43f2-4e56-8972-699166ce2286"], ["db_password", "707cfcc49faf8435086cb531dadf99f6e90e3114development_cartodb_user_0b488671-43f2-4e56-8972-699166ce2286"], ["created_at", Thu, 14 Apr 2022 14:06:13 UTC +00:00], ["updated_at", Thu, 14 Apr 2022 14:06:13 UTC +00:00]] D, [2022-04-14T14:06:13.678621 #8295] DEBUG -- : (0.2ms) ROLLBACK rake aborted! undefined method `[]' for nil:NilClass /var/lib/gems/2.5.0/bundler/gems/cartodb-common-44a0d37bb333/lib/carto/common/message_broker.rb:93:in `initialize' /usr/lib/ruby/2.5.0/singleton.rb:141:in `new' /usr/lib/ruby/2.5.0/singleton.rb:141:in `block in instance' /usr/lib/ruby/2.5.0/singleton.rb:139:in `synchronize' /usr/lib/ruby/2.5.0/singleton.rb:139:in `instance' /var/lib/gems/2.5.0/bundler/gems/cartodb-common-44a0d37bb333/lib/carto/common/message_broker.rb:34:in `initialize' /root/cartodb/app/helpers/message_broker_helper.rb:4:in `new' /root/cartodb/app/helpers/message_broker_helper.rb:4:in `message_broker' /root/cartodb/app/helpers/message_broker_helper.rb:8:in `cartodb_central_topic' /root/cartodb/app/models/carto/api_key.rb:161:in `create_remote_do_api_key' /var/lib/gems/2.5.0/gems/activesupport-4.2.11.3/lib/active_support/callbacks.rb:432:in `block in make_lambda' /var/lib/gems/2.5.0/gems/activesupport-4.2.11.3/lib/active_support/callbacks.rb:228:in `block in halting_and_conditional' /var/lib/gems/2.5.0/gems/activesupport-4.2.11.3/lib/active_support/callbacks.rb:506:in `block in call' /var/lib/gems/2.5.0/gems/activesupport-4.2.11.3/lib/active_support/callbacks.rb:506:in `each' /var/lib/gems/2.5.0/gems/activesupport-4.2.11.3/lib/active_support/callbacks.rb:506:in `call' /var/lib/gems/2.5.0/gems/activesupport-4.2.11.3/lib/active_support/callbacks.rb:92:in `__run_callbacks__' /var/lib/gems/2.5.0/gems/activesupport-4.2.11.3/lib/active_support/callbacks.rb:778:in `_run_create_callbacks' /var/lib/gems/2.5.0/gems/activerecord-4.2.11.3/lib/active_record/callbacks.rb:306:in `_create_record' /var/lib/gems/2.5.0/gems/activerecord-4.2.11.3/lib/active_record/timestamp.rb:57:in `_create_record' /var/lib/gems/2.5.0/gems/activerecord-4.2.11.3/lib/active_record/persistence.rb:504:in `create_or_update' /var/lib/gems/2.5.0/gems/activerecord-4.2.11.3/lib/active_record/callbacks.rb:302:in `block in create_or_update' /var/lib/gems/2.5.0/gems/activesupport-4.2.11.3/lib/active_support/callbacks.rb:117:in `call' /var/lib/gems/2.5.0/gems/activesupport-4.2.11.3/lib/active_support/callbacks.rb:555:in `block (2 levels) in compile' /var/lib/gems/2.5.0/gems/activesupport-4.2.11.3/lib/active_support/callbacks.rb:505:in `call' /var/lib/gems/2.5.0/gems/activesupport-4.2.11.3/lib/active_support/callbacks.rb:92:in `__run_callbacks__' /var/lib/gems/2.5.0/gems/activesupport-4.2.11.3/lib/active_support/callbacks.rb:778:in `_run_save_callbacks' /var/lib/gems/2.5.0/gems/activerecord-4.2.11.3/lib/active_record/callbacks.rb:302:in `create_or_update' /var/lib/gems/2.5.0/gems/activerecord-4.2.11.3/lib/active_record/persistence.rb:142:in `save!' /var/lib/gems/2.5.0/gems/activerecord-4.2.11.3/lib/active_record/validations.rb:43:in `save!' /var/lib/gems/2.5.0/gems/activerecord-4.2.11.3/lib/active_record/attribute_methods/dirty.rb:29:in `save!' /var/lib/gems/2.5.0/gems/activerecord-4.2.11.3/lib/active_record/transactions.rb:291:in `block in save!' /var/lib/gems/2.5.0/gems/activerecord-4.2.11.3/lib/active_record/transactions.rb:351:in `block in with_transaction_returning_status' /var/lib/gems/2.5.0/gems/activerecord-4.2.11.3/lib/active_record/connection_adapters/abstract/database_statements.rb:213:in `block in transaction' /var/lib/gems/2.5.0/gems/activerecord-4.2.11.3/lib/active_record/connection_adapters/abstract/transaction.rb:184:in `within_new_transaction' /var/lib/gems/2.5.0/gems/activerecord-4.2.11.3/lib/active_record/connection_adapters/abstract/database_statements.rb:213:in `transaction' /var/lib/gems/2.5.0/gems/activerecord-4.2.11.3/lib/active_record/transactions.rb:220:in `transaction' /var/lib/gems/2.5.0/gems/activerecord-4.2.11.3/lib/active_record/transactions.rb:348:in `with_transaction_returning_status' /var/lib/gems/2.5.0/gems/activerecord-4.2.11.3/lib/active_record/transactions.rb:291:in `save!' /var/lib/gems/2.5.0/gems/protected_attributes-1.1.4/lib/active_record/mass_assignment_security/validations.rb:17:in `create!' /root/cartodb/app/models/carto/api_key.rb:98:in `create_master_key!' /var/lib/gems/2.5.0/gems/activerecord-4.2.11.3/lib/active_record/relation/delegation.rb:94:in `public_send' /var/lib/gems/2.5.0/gems/activerecord-4.2.11.3/lib/active_record/relation/delegation.rb:94:in `block in method_missing' /var/lib/gems/2.5.0/gems/activerecord-4.2.11.3/lib/active_record/associations/collection_proxy.rb:874:in `block in scoping' /var/lib/gems/2.5.0/gems/activerecord-4.2.11.3/lib/active_record/relation.rb:302:in `scoping' /var/lib/gems/2.5.0/gems/activerecord-4.2.11.3/lib/active_record/associations/collection_proxy.rb:874:in `scoping' /var/lib/gems/2.5.0/gems/activerecord-4.2.11.3/lib/active_record/relation/delegation.rb:94:in `method_missing' /root/cartodb/app/models/user.rb:1271:in `create_api_keys' /root/cartodb/app/models/user.rb:298:in `block in after_create' /var/lib/gems/2.5.0/gems/sequel-4.45.0/lib/sequel/database/transactions.rb:391:in `each' /var/lib/gems/2.5.0/gems/sequel-4.45.0/lib/sequel/database/transactions.rb:391:in `remove_transaction' /var/lib/gems/2.5.0/gems/sequel-4.45.0/lib/sequel/database/transactions.rb:238:in `_transaction' /var/lib/gems/2.5.0/gems/sequel-4.45.0/lib/sequel/database/transactions.rb:190:in `block in transaction' /var/lib/gems/2.5.0/gems/sequel-4.45.0/lib/sequel/database/connecting.rb:295:in `block in synchronize' /var/lib/gems/2.5.0/gems/sequel-4.45.0/lib/sequel/connection_pool/threaded.rb:107:in `hold' /var/lib/gems/2.5.0/gems/sequel-4.45.0/lib/sequel/database/connecting.rb:295:in `synchronize' /var/lib/gems/2.5.0/gems/sequel-4.45.0/lib/sequel/database/transactions.rb:156:in `transaction' /var/lib/gems/2.5.0/gems/sequel-4.45.0/lib/sequel/model/base.rb:2310:in `checked_transaction' /var/lib/gems/2.5.0/gems/sequel-4.45.0/lib/sequel/model/base.rb:1769:in `block in save' /var/lib/gems/2.5.0/gems/sequel-4.45.0/lib/sequel/model/base.rb:2301:in `checked_save_failure' /var/lib/gems/2.5.0/gems/sequel-4.45.0/lib/sequel/model/base.rb:1769:in `save' /root/cartodb/lib/tasks/setup.rake:102:in `block (3 levels) in <top (required)>' /var/lib/gems/2.5.0/gems/rake-0.9.2.2/lib/rake/task.rb:205:in `block in execute' /var/lib/gems/2.5.0/gems/rake-0.9.2.2/lib/rake/task.rb:200:in `each' /var/lib/gems/2.5.0/gems/rake-0.9.2.2/lib/rake/task.rb:200:in `execute' /var/lib/gems/2.5.0/gems/rake-0.9.2.2/lib/rake/task.rb:158:in `block in invoke_with_call_chain' /usr/lib/ruby/2.5.0/monitor.rb:235:in `mon_synchronize' /var/lib/gems/2.5.0/gems/rake-0.9.2.2/lib/rake/task.rb:151:in `invoke_with_call_chain' /var/lib/gems/2.5.0/gems/rake-0.9.2.2/lib/rake/task.rb:144:in `invoke' /var/lib/gems/2.5.0/gems/rake-0.9.2.2/lib/rake/application.rb:116:in `invoke_task' /var/lib/gems/2.5.0/gems/rake-0.9.2.2/lib/rake/application.rb:94:in `block (2 levels) in top_level' /var/lib/gems/2.5.0/gems/rake-0.9.2.2/lib/rake/application.rb:94:in `each' /var/lib/gems/2.5.0/gems/rake-0.9.2.2/lib/rake/application.rb:94:in `block in top_level' /var/lib/gems/2.5.0/gems/rake-0.9.2.2/lib/rake/application.rb:133:in `standard_exception_handling' /var/lib/gems/2.5.0/gems/rake-0.9.2.2/lib/rake/application.rb:88:in `top_level' /var/lib/gems/2.5.0/gems/rake-0.9.2.2/lib/rake/application.rb:66:in `block in run' /var/lib/gems/2.5.0/gems/rake-0.9.2.2/lib/rake/application.rb:133:in `standard_exception_handling' /var/lib/gems/2.5.0/gems/rake-0.9.2.2/lib/rake/application.rb:63:in `run' /var/lib/gems/2.5.0/gems/rake-0.9.2.2/bin/rake:33:in `<top (required)>' /usr/local/bin/rake:23:in `load' /usr/local/bin/rake:23:in `<main>' Tasks: TOP => cartodb:db:create_dev_user
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Context
Please explain here below what you were doing when the issue happened
Steps to Reproduce
script/create_dev_user
Current Result
The text was updated successfully, but these errors were encountered: