Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- root@4737691c26b5:/# ./docker-entrypoint.sh first_start development
- Starting REDIS Server
- First RUN ....
- Starting DB:MIGRATE ....
- ** Invoke db:migrate (first_time)
- ** Invoke db:migrate:load (first_time)
- ** Invoke environment (first_time)
- ** Execute environment
- ** Execute db:migrate:load
- ** Execute db:migrate
- rake aborted!
- PG::Error: FATAL: database "carto_db_development" does not exist
- /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'
- /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'
- /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'
- /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'
- /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'
- /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'
- /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'
- /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'
- /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'
- /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'
- /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'
- /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'
- /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'
- /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'
- /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'
- /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'
- /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'
- /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'
- /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'
- /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'
- /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'
- /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'
- /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'
- /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!'
- /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)>'
- /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'
- /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'
- /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'
- /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'
- /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'
- /opt/rubies/ruby-2.2.3/lib/ruby/2.2.0/monitor.rb:211:in `mon_synchronize'
- /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'
- /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'
- /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'
- /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'
- /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'
- /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'
- /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'
- /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'
- /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'
- /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'
- /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'
- /opt/rubies/ruby-2.2.3/lib/ruby/gems/2.2.0/gems/rake-0.9.2.2/bin/rake:33:in `<top (required)>'
- /opt/rubies/ruby-2.2.3/bin/rake:23:in `load'
- /opt/rubies/ruby-2.2.3/bin/rake:23:in `<main>'
- Tasks: TOP => db:migrate
- Starting DB:SETUP ....
- ** Invoke db:setup (first_time)
- ** Invoke db:create (first_time)
- ** Invoke environment (first_time)
- ** Execute environment
- ** Execute db:create
- [sequel] Created database 'carto_db_development'
- [sequel] Created database 'carto_db_test'
- ** Invoke db:schema:load (first_time)
- ** Invoke environment
- ** Execute db:schema:load
- createdb: database creation failed: ERROR: database "carto_db_development" already exists
- [sequel] Created database 'carto_db_development'
- /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
- Staring Ruby On Rails Server ....
- => Booting Thin
- => Rails 3.2.22 application starting in development on http://0.0.0.0:3000
- Starting resque ....
- PASSWORD: changeme
- ADMIN_PASSWORD: changeme
- EMAIL: admin@dummy.me
- 127.0.0.1 development.localhost.lan
- Creating Development User ....
- ** Invoke cartodb:db:create_dev_user (first_time)
- ** Invoke db:create (first_time)
- ** Invoke environment (first_time)
- ** Execute environment
- ** Execute db:create
- createdb: database creation failed: ERROR: database "carto_db_development" already exists
- [sequel] Created database 'carto_db_development'
- createdb: database creation failed: ERROR: database "carto_db_test" already exists
- [sequel] Created database 'carto_db_test'
- ** Invoke db:migrate (first_time)
- ** Invoke db:migrate:load (first_time)
- ** Invoke environment
- ** Execute db:migrate:load
- ** Execute db:migrate
- ** Invoke db:schema:dump (first_time)
- ** Invoke environment
- ** Execute db:schema:dump
- ** Invoke cartodb:db:create_publicuser (first_time)
- ** Invoke environment
- ** Execute cartodb:db:create_publicuser
- Creating user publicuser
- Creating user tileuser
- ** Execute cartodb:db:create_dev_user
- Carto::Ldap::Configuration Load (0.3ms) SELECT "ldap_configurations".* FROM "ldap_configurations" LIMIT 1
- error: Error installing and configuring geocoder api extension
- {: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}>}
- rake aborted!
- super: no superclass method `google_maps_private_key' for #<User:0x007f4432ff64c8>
- /CARTODB/cartodb/app/models/user.rb:1427:in `google_maps_private_key'
- /CARTODB/cartodb/app/models/user.rb:1432:in `google_maps_geocoder_enabled?'
- /CARTODB/cartodb/app/models/user.rb:740:in `geocoder_type'
- /CARTODB/cartodb/app/models/user.rb:758:in `save_metadata'
- /CARTODB/cartodb/app/models/user.rb:212:in `after_create'
- /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'
- /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'
- /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'
- /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'
- /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'
- /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'
- /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'
- /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'
- /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'
- /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'
- /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'
- /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'
- /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'
- /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'
- /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'
- /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'
- /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'
- /CARTODB/cartodb/lib/tasks/setup.rake:71:in `block (3 levels) in <top (required)>'
- /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'
- /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'
- /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'
- /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'
- /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'
- /opt/rubies/ruby-2.2.3/lib/ruby/2.2.0/monitor.rb:211:in `mon_synchronize'
- /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'
- /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'
- /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'
- /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'
- /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'
- /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'
- /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'
- /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'
- /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'
- /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'
- /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'
- /opt/rubies/ruby-2.2.3/lib/ruby/gems/2.2.0/gems/rake-0.9.2.2/bin/rake:33:in `<top (required)>'
- /opt/rubies/ruby-2.2.3/bin/rake:23:in `load'
- /opt/rubies/ruby-2.2.3/bin/rake:23:in `<main>'
- Tasks: TOP => cartodb:db:create_dev_user
Add Comment
Please, Sign In to add comment