frjaraur

Untitled

Jan 27th, 2016
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 13.63 KB | None | 0 0
  1. root@4737691c26b5:/# ./docker-entrypoint.sh first_start development
  2. Starting REDIS Server
  3.  
  4. First RUN ....
  5. Starting DB:MIGRATE ....
  6. ** Invoke db:migrate (first_time)
  7. ** Invoke db:migrate:load (first_time)
  8. ** Invoke environment (first_time)
  9. ** Execute environment
  10. ** Execute db:migrate:load
  11. ** Execute db:migrate
  12. rake aborted!
  13. PG::Error: FATAL: database "carto_db_development" does not exist
  14. /opt/rubies/ruby-2.2.3/lib/ruby/gems/2.2.0/gems/sequel-3.42.0/lib/sequel/adapters/postgres.rb:208:in `initialize'
  15. /opt/rubies/ruby-2.2.3/lib/ruby/gems/2.2.0/gems/sequel-3.42.0/lib/sequel/adapters/postgres.rb:208:in `new'
  16. /opt/rubies/ruby-2.2.3/lib/ruby/gems/2.2.0/gems/sequel-3.42.0/lib/sequel/adapters/postgres.rb:208:in `connect'
  17. /opt/rubies/ruby-2.2.3/lib/ruby/gems/2.2.0/gems/sequel-3.42.0/lib/sequel/connection_pool.rb:94:in `make_new'
  18. /opt/rubies/ruby-2.2.3/lib/ruby/gems/2.2.0/gems/sequel-3.42.0/lib/sequel/connection_pool/threaded.rb:164:in `make_new'
  19. /opt/rubies/ruby-2.2.3/lib/ruby/gems/2.2.0/gems/sequel-3.42.0/lib/sequel/connection_pool/threaded.rb:137:in `available'
  20. /opt/rubies/ruby-2.2.3/lib/ruby/gems/2.2.0/gems/sequel-3.42.0/lib/sequel/connection_pool/threaded.rb:127:in `block in acquire'
  21. /opt/rubies/ruby-2.2.3/lib/ruby/gems/2.2.0/gems/sequel-3.42.0/lib/sequel/connection_pool/threaded.rb:195:in `block in sync'
  22. /opt/rubies/ruby-2.2.3/lib/ruby/gems/2.2.0/gems/sequel-3.42.0/lib/sequel/connection_pool/threaded.rb:195:in `synchronize'
  23. /opt/rubies/ruby-2.2.3/lib/ruby/gems/2.2.0/gems/sequel-3.42.0/lib/sequel/connection_pool/threaded.rb:195:in `sync'
  24. /opt/rubies/ruby-2.2.3/lib/ruby/gems/2.2.0/gems/sequel-3.42.0/lib/sequel/connection_pool/threaded.rb:126:in `acquire'
  25. /opt/rubies/ruby-2.2.3/lib/ruby/gems/2.2.0/gems/sequel-3.42.0/lib/sequel/connection_pool/threaded.rb:94:in `hold'
  26. /opt/rubies/ruby-2.2.3/lib/ruby/gems/2.2.0/gems/sequel-3.42.0/lib/sequel/database/connecting.rb:236:in `synchronize'
  27. /opt/rubies/ruby-2.2.3/lib/ruby/gems/2.2.0/gems/sequel-3.42.0/lib/sequel/adapters/postgres.rb:242:in `execute'
  28. /opt/rubies/ruby-2.2.3/lib/ruby/gems/2.2.0/gems/sequel-3.42.0/lib/sequel/database/query.rb:79:in `execute_dui'
  29. /opt/rubies/ruby-2.2.3/lib/ruby/gems/2.2.0/gems/sequel-3.42.0/lib/sequel/database/query.rb:72:in `execute_ddl'
  30. /opt/rubies/ruby-2.2.3/lib/ruby/gems/2.2.0/gems/sequel-3.42.0/lib/sequel/database/schema_methods.rb:546:in `create_table_from_generator'
  31. /opt/rubies/ruby-2.2.3/lib/ruby/gems/2.2.0/gems/sequel-3.42.0/lib/sequel/database/schema_methods.rb:169:in `create_table'
  32. /opt/rubies/ruby-2.2.3/lib/ruby/gems/2.2.0/gems/sequel-3.42.0/lib/sequel/extensions/migration.rb:716:in `schema_dataset'
  33. /opt/rubies/ruby-2.2.3/lib/ruby/gems/2.2.0/gems/sequel-3.42.0/lib/sequel/extensions/migration.rb:434:in `initialize'
  34. /opt/rubies/ruby-2.2.3/lib/ruby/gems/2.2.0/gems/sequel-3.42.0/lib/sequel/extensions/migration.rb:623:in `initialize'
  35. /opt/rubies/ruby-2.2.3/lib/ruby/gems/2.2.0/gems/sequel-3.42.0/lib/sequel/extensions/migration.rb:381:in `new'
  36. /opt/rubies/ruby-2.2.3/lib/ruby/gems/2.2.0/gems/sequel-3.42.0/lib/sequel/extensions/migration.rb:381:in `run'
  37. /opt/rubies/ruby-2.2.3/lib/ruby/gems/2.2.0/bundler/gems/sequel-rails-f61f914b55ff/lib/sequel-rails/migrations.rb:15:in `migrate_up!'
  38. /opt/rubies/ruby-2.2.3/lib/ruby/gems/2.2.0/bundler/gems/sequel-rails-f61f914b55ff/lib/sequel-rails/railties/database.rake:131:in `block (2 levels) in <top (required)>'
  39. /opt/rubies/ruby-2.2.3/lib/ruby/gems/2.2.0/gems/rake-0.9.2.2/lib/rake/task.rb:205:in `call'
  40. /opt/rubies/ruby-2.2.3/lib/ruby/gems/2.2.0/gems/rake-0.9.2.2/lib/rake/task.rb:205:in `block in execute'
  41. /opt/rubies/ruby-2.2.3/lib/ruby/gems/2.2.0/gems/rake-0.9.2.2/lib/rake/task.rb:200:in `each'
  42. /opt/rubies/ruby-2.2.3/lib/ruby/gems/2.2.0/gems/rake-0.9.2.2/lib/rake/task.rb:200:in `execute'
  43. /opt/rubies/ruby-2.2.3/lib/ruby/gems/2.2.0/gems/rake-0.9.2.2/lib/rake/task.rb:158:in `block in invoke_with_call_chain'
  44. /opt/rubies/ruby-2.2.3/lib/ruby/2.2.0/monitor.rb:211:in `mon_synchronize'
  45. /opt/rubies/ruby-2.2.3/lib/ruby/gems/2.2.0/gems/rake-0.9.2.2/lib/rake/task.rb:151:in `invoke_with_call_chain'
  46. /opt/rubies/ruby-2.2.3/lib/ruby/gems/2.2.0/gems/rake-0.9.2.2/lib/rake/task.rb:144:in `invoke'
  47. /opt/rubies/ruby-2.2.3/lib/ruby/gems/2.2.0/gems/rake-0.9.2.2/lib/rake/application.rb:116:in `invoke_task'
  48. /opt/rubies/ruby-2.2.3/lib/ruby/gems/2.2.0/gems/rake-0.9.2.2/lib/rake/application.rb:94:in `block (2 levels) in top_level'
  49. /opt/rubies/ruby-2.2.3/lib/ruby/gems/2.2.0/gems/rake-0.9.2.2/lib/rake/application.rb:94:in `each'
  50. /opt/rubies/ruby-2.2.3/lib/ruby/gems/2.2.0/gems/rake-0.9.2.2/lib/rake/application.rb:94:in `block in top_level'
  51. /opt/rubies/ruby-2.2.3/lib/ruby/gems/2.2.0/gems/rake-0.9.2.2/lib/rake/application.rb:133:in `standard_exception_handling'
  52. /opt/rubies/ruby-2.2.3/lib/ruby/gems/2.2.0/gems/rake-0.9.2.2/lib/rake/application.rb:88:in `top_level'
  53. /opt/rubies/ruby-2.2.3/lib/ruby/gems/2.2.0/gems/rake-0.9.2.2/lib/rake/application.rb:66:in `block in run'
  54. /opt/rubies/ruby-2.2.3/lib/ruby/gems/2.2.0/gems/rake-0.9.2.2/lib/rake/application.rb:133:in `standard_exception_handling'
  55. /opt/rubies/ruby-2.2.3/lib/ruby/gems/2.2.0/gems/rake-0.9.2.2/lib/rake/application.rb:63:in `run'
  56. /opt/rubies/ruby-2.2.3/lib/ruby/gems/2.2.0/gems/rake-0.9.2.2/bin/rake:33:in `<top (required)>'
  57. /opt/rubies/ruby-2.2.3/bin/rake:23:in `load'
  58. /opt/rubies/ruby-2.2.3/bin/rake:23:in `<main>'
  59. Tasks: TOP => db:migrate
  60.  
  61. Starting DB:SETUP ....
  62. ** Invoke db:setup (first_time)
  63. ** Invoke db:create (first_time)
  64. ** Invoke environment (first_time)
  65. ** Execute environment
  66. ** Execute db:create
  67. [sequel] Created database 'carto_db_development'
  68. [sequel] Created database 'carto_db_test'
  69. ** Invoke db:schema:load (first_time)
  70. ** Invoke environment
  71. ** Execute db:schema:load
  72. createdb: database creation failed: ERROR: database "carto_db_development" already exists
  73. [sequel] Created database 'carto_db_development'
  74. /CARTODB/cartodb/db/schema.rb doesn't exist yet. Run "rake db:migrate" to create it then try again. If you do not intend to use a database, you should instead alter /CARTODB/cartodb/config/boot.rb to limit the frameworks that will be loaded
  75.  
  76. Staring Ruby On Rails Server ....
  77. => Booting Thin
  78. => Rails 3.2.22 application starting in development on http://0.0.0.0:3000
  79.  
  80. Starting resque ....
  81.  
  82. PASSWORD: changeme
  83. ADMIN_PASSWORD: changeme
  84. EMAIL: admin@dummy.me
  85. 127.0.0.1 development.localhost.lan
  86. Creating Development User ....
  87. ** Invoke cartodb:db:create_dev_user (first_time)
  88. ** Invoke db:create (first_time)
  89. ** Invoke environment (first_time)
  90. ** Execute environment
  91. ** Execute db:create
  92. createdb: database creation failed: ERROR: database "carto_db_development" already exists
  93. [sequel] Created database 'carto_db_development'
  94. createdb: database creation failed: ERROR: database "carto_db_test" already exists
  95. [sequel] Created database 'carto_db_test'
  96. ** Invoke db:migrate (first_time)
  97. ** Invoke db:migrate:load (first_time)
  98. ** Invoke environment
  99. ** Execute db:migrate:load
  100. ** Execute db:migrate
  101. ** Invoke db:schema:dump (first_time)
  102. ** Invoke environment
  103. ** Execute db:schema:dump
  104. ** Invoke cartodb:db:create_publicuser (first_time)
  105. ** Invoke environment
  106. ** Execute cartodb:db:create_publicuser
  107. Creating user publicuser
  108. Creating user tileuser
  109. ** Execute cartodb:db:create_dev_user
  110. Carto::Ldap::Configuration Load (0.3ms) SELECT "ldap_configurations".* FROM "ldap_configurations" LIMIT 1
  111. error: Error installing and configuring geocoder api extension
  112. {:error=>"#<Sequel::DatabaseError: PG::Error: ERROR: could not open extension control file \"/usr/share/postgresql/9.3/extension/cdb_geocoder_client.control\": No such file or directory\n>", :user=>#<User @values={:email=>"admin@dummy.me", :crypted_password=>"08c384ba7113f8050ae8c12925638ffe03a5ff4d", :salt=>"819eb9589a82362be7cab4fb380c3413a32d2400", :database_name=>"cartodb_dev_user_4cbb92a9-58d1-4e34-b44f-048f20fd9d0d_db", :username=>"development", :admin=>nil, :enabled=>true, :invite_token=>nil, :invite_token_date=>nil, :map_enabled=>true, :quota_in_bytes=>104857600, :table_quota=>5, :account_type=>"FREE", :private_tables_enabled=>false, :period_end_date=>2016-01-27 06:51:11 +0000, :map_view_quota=>10000, :max_layers=>4, :database_timeout=>300000, :user_timeout=>300000, :upgraded_at=>nil, :map_view_block_price=>nil, :geocoding_quota=>0, :dashboard_viewed_at=>nil, :sync_tables_enabled=>false, :database_host=>"pgsql", :geocoding_block_price=>nil, :api_key=>"538bda2abc3d3d4fbc801f98b774d99557fa8ce4", :notification=>nil, :organization_id=>nil, :created_at=>2016-01-27 06:51:11 +0000, :updated_at=>2016-01-27 06:51:11 +0000, :disqus_shortname=>nil, :id=>"4cbb92a9-58d1-4e34-b44f-048f20fd9d0d", :twitter_username=>nil, :website=>nil, :description=>nil, :name=>nil, :avatar_url=>nil, :database_schema=>"public", :soft_geocoding_limit=>nil, :auth_token=>nil, :twitter_datasource_enabled=>nil, :twitter_datasource_block_price=>nil, :twitter_datasource_block_size=>nil, :twitter_datasource_quota=>0, :soft_twitter_datasource_limit=>false, :arcgis_datasource_enabled=>nil, :available_for_hire=>false, :private_maps_enabled=>false, :google_sign_in=>false, :last_password_change_date=>nil, :max_import_file_size=>157286400, :max_import_table_row_count=>500000, :max_concurrent_import_count=>3, :last_common_data_update_date=>nil, :google_maps_key=>nil, :google_maps_private_key=>nil, :enable_account_token=>nil, :location=>nil}>}
  113.  
  114. rake aborted!
  115. super: no superclass method `google_maps_private_key' for #<User:0x007f4432ff64c8>
  116. /CARTODB/cartodb/app/models/user.rb:1427:in `google_maps_private_key'
  117. /CARTODB/cartodb/app/models/user.rb:1432:in `google_maps_geocoder_enabled?'
  118. /CARTODB/cartodb/app/models/user.rb:740:in `geocoder_type'
  119. /CARTODB/cartodb/app/models/user.rb:758:in `save_metadata'
  120. /CARTODB/cartodb/app/models/user.rb:212:in `after_create'
  121. /opt/rubies/ruby-2.2.3/lib/ruby/gems/2.2.0/gems/sequel-3.42.0/lib/sequel/model/base.rb:1585:in `block (2 levels) in _save'
  122. /opt/rubies/ruby-2.2.3/lib/ruby/gems/2.2.0/gems/sequel-3.42.0/lib/sequel/model/base.rb:867:in `around_create'
  123. /opt/rubies/ruby-2.2.3/lib/ruby/gems/2.2.0/gems/sequel-3.42.0/lib/sequel/model/base.rb:1578:in `block in _save'
  124. /opt/rubies/ruby-2.2.3/lib/ruby/gems/2.2.0/gems/sequel-3.42.0/lib/sequel/model/base.rb:867:in `around_save'
  125. /opt/rubies/ruby-2.2.3/lib/ruby/gems/2.2.0/gems/sequel-3.42.0/lib/sequel/model/base.rb:1573:in `_save'
  126. /opt/rubies/ruby-2.2.3/lib/ruby/gems/2.2.0/gems/sequel-3.42.0/lib/sequel/model/base.rb:1254:in `block (2 levels) in save'
  127. /opt/rubies/ruby-2.2.3/lib/ruby/gems/2.2.0/gems/sequel-3.42.0/lib/sequel/model/base.rb:1722:in `block in checked_transaction'
  128. /opt/rubies/ruby-2.2.3/lib/ruby/gems/2.2.0/gems/sequel-3.42.0/lib/sequel/database/query.rb:323:in `_transaction'
  129. /opt/rubies/ruby-2.2.3/lib/ruby/gems/2.2.0/gems/sequel-3.42.0/lib/sequel/database/query.rb:285:in `block in transaction'
  130. /opt/rubies/ruby-2.2.3/lib/ruby/gems/2.2.0/gems/sequel-3.42.0/lib/sequel/database/connecting.rb:236:in `block in synchronize'
  131. /opt/rubies/ruby-2.2.3/lib/ruby/gems/2.2.0/gems/sequel-3.42.0/lib/sequel/connection_pool/threaded.rb:104:in `hold'
  132. /opt/rubies/ruby-2.2.3/lib/ruby/gems/2.2.0/gems/sequel-3.42.0/lib/sequel/database/connecting.rb:236:in `synchronize'
  133. /opt/rubies/ruby-2.2.3/lib/ruby/gems/2.2.0/gems/sequel-3.42.0/lib/sequel/database/query.rb:278:in `transaction'
  134. /opt/rubies/ruby-2.2.3/lib/ruby/gems/2.2.0/gems/sequel-3.42.0/lib/sequel/model/base.rb:1722:in `checked_transaction'
  135. /opt/rubies/ruby-2.2.3/lib/ruby/gems/2.2.0/gems/sequel-3.42.0/lib/sequel/model/base.rb:1254:in `block in save'
  136. /opt/rubies/ruby-2.2.3/lib/ruby/gems/2.2.0/gems/sequel-3.42.0/lib/sequel/model/base.rb:1713:in `checked_save_failure'
  137. /opt/rubies/ruby-2.2.3/lib/ruby/gems/2.2.0/gems/sequel-3.42.0/lib/sequel/model/base.rb:1254:in `save'
  138. /CARTODB/cartodb/lib/tasks/setup.rake:71:in `block (3 levels) in <top (required)>'
  139. /opt/rubies/ruby-2.2.3/lib/ruby/gems/2.2.0/gems/rake-0.9.2.2/lib/rake/task.rb:205:in `call'
  140. /opt/rubies/ruby-2.2.3/lib/ruby/gems/2.2.0/gems/rake-0.9.2.2/lib/rake/task.rb:205:in `block in execute'
  141. /opt/rubies/ruby-2.2.3/lib/ruby/gems/2.2.0/gems/rake-0.9.2.2/lib/rake/task.rb:200:in `each'
  142. /opt/rubies/ruby-2.2.3/lib/ruby/gems/2.2.0/gems/rake-0.9.2.2/lib/rake/task.rb:200:in `execute'
  143. /opt/rubies/ruby-2.2.3/lib/ruby/gems/2.2.0/gems/rake-0.9.2.2/lib/rake/task.rb:158:in `block in invoke_with_call_chain'
  144. /opt/rubies/ruby-2.2.3/lib/ruby/2.2.0/monitor.rb:211:in `mon_synchronize'
  145. /opt/rubies/ruby-2.2.3/lib/ruby/gems/2.2.0/gems/rake-0.9.2.2/lib/rake/task.rb:151:in `invoke_with_call_chain'
  146. /opt/rubies/ruby-2.2.3/lib/ruby/gems/2.2.0/gems/rake-0.9.2.2/lib/rake/task.rb:144:in `invoke'
  147. /opt/rubies/ruby-2.2.3/lib/ruby/gems/2.2.0/gems/rake-0.9.2.2/lib/rake/application.rb:116:in `invoke_task'
  148. /opt/rubies/ruby-2.2.3/lib/ruby/gems/2.2.0/gems/rake-0.9.2.2/lib/rake/application.rb:94:in `block (2 levels) in top_level'
  149. /opt/rubies/ruby-2.2.3/lib/ruby/gems/2.2.0/gems/rake-0.9.2.2/lib/rake/application.rb:94:in `each'
  150. /opt/rubies/ruby-2.2.3/lib/ruby/gems/2.2.0/gems/rake-0.9.2.2/lib/rake/application.rb:94:in `block in top_level'
  151. /opt/rubies/ruby-2.2.3/lib/ruby/gems/2.2.0/gems/rake-0.9.2.2/lib/rake/application.rb:133:in `standard_exception_handling'
  152. /opt/rubies/ruby-2.2.3/lib/ruby/gems/2.2.0/gems/rake-0.9.2.2/lib/rake/application.rb:88:in `top_level'
  153. /opt/rubies/ruby-2.2.3/lib/ruby/gems/2.2.0/gems/rake-0.9.2.2/lib/rake/application.rb:66:in `block in run'
  154. /opt/rubies/ruby-2.2.3/lib/ruby/gems/2.2.0/gems/rake-0.9.2.2/lib/rake/application.rb:133:in `standard_exception_handling'
  155. /opt/rubies/ruby-2.2.3/lib/ruby/gems/2.2.0/gems/rake-0.9.2.2/lib/rake/application.rb:63:in `run'
  156. /opt/rubies/ruby-2.2.3/lib/ruby/gems/2.2.0/gems/rake-0.9.2.2/bin/rake:33:in `<top (required)>'
  157. /opt/rubies/ruby-2.2.3/bin/rake:23:in `load'
  158. /opt/rubies/ruby-2.2.3/bin/rake:23:in `<main>'
  159. Tasks: TOP => cartodb:db:create_dev_user
Add Comment
Please, Sign In to add comment