{"action":"created","issue":{"url":"https://api.github.com/repos/SUSE/Portus/issues/237","labels_url":"https://api.github.com/repos/SUSE/Portus/issues/237/labels{/name}","comments_url":"https://api.github.com/repos/SUSE/Portus/issues/237/comments","events_url":"https://api.github.com/repos/SUSE/Portus/issues/237/events","html_url":"https://github.com/SUSE/Portus/issues/237","id":97966056,"number":237,"title":"docker-compose up from git checkout does not create DB","user":{"login":"huslage","id":413867,"avatar_url":"https://avatars.githubusercontent.com/u/413867?v=3","gravatar_id":"","url":"https://api.github.com/users/huslage","html_url":"https://github.com/huslage","followers_url":"https://api.github.com/users/huslage/followers","following_url":"https://api.github.com/users/huslage/following{/other_user}","gists_url":"https://api.github.com/users/huslage/gists{/gist_id}","starred_url":"https://api.github.com/users/huslage/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/huslage/subscriptions","organizations_url":"https://api.github.com/users/huslage/orgs","repos_url":"https://api.github.com/users/huslage/repos","events_url":"https://api.github.com/users/huslage/events{/privacy}","received_events_url":"https://api.github.com/users/huslage/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-07-29T15:45:21Z","updated_at":"2015-07-29T15:52:18Z","closed_at":null,"body":"I did a fresh checkout of the repo. The application does not work out-of-the-box. There are no documents describing how to create the db.\r\n\r\nWhen I hit the web interface, I get the following error (full compose logs):\r\n\r\n```\r\ndb_1  | 150729 15:42:07 [Note] mysqld (mysqld 10.0.20-MariaDB-1~jessie-log) starting as process 1 ...\r\ndb_1  | 150729 15:42:07 [Note] InnoDB: Using mutexes to ref count buffer pool pages\r\ndb_1  | 150729 15:42:07 [Note] InnoDB: The InnoDB memory heap is disabled\r\ndb_1  | 150729 15:42:07 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins\r\ndb_1  | 150729 15:42:07 [Note] InnoDB: Memory barrier is not used\r\ndb_1  | 150729 15:42:07 [Note] InnoDB: Compressed tables use zlib 1.2.8\r\ndb_1  | 150729 15:42:07 [Note] InnoDB: Using Linux native AIO\r\ndb_1  | 150729 15:42:07 [Note] InnoDB: Using CPU crc32 instructions\r\ndb_1  | 150729 15:42:07 [Note] InnoDB: Initializing buffer pool, size = 256.0M\r\ndb_1  | 150729 15:42:07 [Note] InnoDB: Completed initialization of buffer pool\r\ndb_1  | 150729 15:42:07 [Note] InnoDB: Highest supported file format is Barracuda.\r\ndb_1  | 150729 15:42:07 [Note] InnoDB: 128 rollback segment(s) are active.\r\ndb_1  | 150729 15:42:07 [Note] InnoDB: Waiting for purge to start\r\ndb_1  | 150729 15:42:07 [Note] InnoDB:  Percona XtraDB (http://www.percona.com) 5.6.24-72.2 started; log sequence number 1616717\r\ndb_1  | 150729 15:42:07 [Note] Plugin 'FEEDBACK' is disabled.\r\ndb_1  | 150729 15:42:07 [Note] Server socket created on IP: '::'.\r\ndb_1  | 150729 15:42:08 [Note] Event Scheduler: Loaded 0 events\r\ndb_1  | 150729 15:42:08 [Note] Reading of all Master_info entries succeded\r\ndb_1  | 150729 15:42:08 [Note] Added new Master_info '' to hash table\r\ndb_1  | 150729 15:42:08 [Note] mysqld: ready for connections.\r\ndb_1  | Version: '10.0.20-MariaDB-1~jessie-log'  socket: '/var/run/mysqld/mysqld.sock'  port: 3306  mariadb.org binary distribution\r\nweb_1 | => Booting Thin\r\nweb_1 | => Rails 4.2.2 application starting in development on http://0.0.0.0:3000\r\nweb_1 | => Run `rails server -h` for more startup options\r\nweb_1 | => Ctrl-C to shutdown server\r\nweb_1 | Thin web server (v1.6.3 codename Protein Powder)\r\nweb_1 | Maximum connections set to 1024\r\nweb_1 | Listening on 0.0.0.0:3000, CTRL+C to stop\r\nweb_1 | \r\nweb_1 | \r\nweb_1 | Started GET \"/\" for 172.17.42.1 at 2015-07-29 15:43:03 +0000\r\nweb_1 | Cannot render console from 172.17.42.1! Allowed networks: 127.0.0.1, ::1, 127.0.0.0/127.255.255.255\r\ndb_1  | 150729 15:43:03 [Warning] IP address '172.17.0.8' could not be resolved: Name or service not known\r\nweb_1 | \r\nweb_1 | ActiveRecord::NoDatabaseError (Unknown database 'portus_development'):\r\nweb_1 |   activerecord (4.2.2) lib/active_record/connection_adapters/mysql2_adapter.rb:23:in `rescue in mysql2_connection'\r\nweb_1 |   activerecord (4.2.2) lib/active_record/connection_adapters/mysql2_adapter.rb:10:in `mysql2_connection'\r\nweb_1 |   activerecord (4.2.2) lib/active_record/connection_adapters/abstract/connection_pool.rb:438:in `new_connection'\r\nweb_1 |   activerecord (4.2.2) lib/active_record/connection_adapters/abstract/connection_pool.rb:448:in `checkout_new_connection'\r\nweb_1 |   activerecord (4.2.2) lib/active_record/connection_adapters/abstract/connection_pool.rb:422:in `acquire_connection'\r\nweb_1 |   activerecord (4.2.2) lib/active_record/connection_adapters/abstract/connection_pool.rb:349:in `block in checkout'\r\nweb_1 |   /usr/local/lib/ruby/2.2.0/monitor.rb:211:in `mon_synchronize'\r\nweb_1 |   activerecord (4.2.2) lib/active_record/connection_adapters/abstract/connection_pool.rb:348:in `checkout'\r\nweb_1 |   activerecord (4.2.2) lib/active_record/connection_adapters/abstract/connection_pool.rb:263:in `block in connection'\r\nweb_1 |   /usr/local/lib/ruby/2.2.0/monitor.rb:211:in `mon_synchronize'\r\nweb_1 |   activerecord (4.2.2) lib/active_record/connection_adapters/abstract/connection_pool.rb:262:in `connection'\r\nweb_1 |   activerecord (4.2.2) lib/active_record/connection_adapters/abstract/connection_pool.rb:567:in `retrieve_connection'\r\nweb_1 |   activerecord (4.2.2) lib/active_record/connection_handling.rb:113:in `retrieve_connection'\r\nweb_1 |   activerecord (4.2.2) lib/active_record/connection_handling.rb:87:in `connection'\r\nweb_1 |   activerecord (4.2.2) lib/active_record/migration.rb:384:in `connection'\r\nweb_1 |   activerecord (4.2.2) lib/active_record/migration.rb:371:in `call'\r\nweb_1 |   actionpack (4.2.2) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'\r\nweb_1 |   activesupport (4.2.2) lib/active_support/callbacks.rb:88:in `call'\r\nweb_1 |   activesupport (4.2.2) lib/active_support/callbacks.rb:88:in `_run_callbacks'\r\nweb_1 |   activesupport (4.2.2) lib/active_support/callbacks.rb:776:in `_run_call_callbacks'\r\nweb_1 |   activesupport (4.2.2) lib/active_support/callbacks.rb:81:in `run_callbacks'\r\nweb_1 |   actionpack (4.2.2) lib/action_dispatch/middleware/callbacks.rb:27:in `call'\r\nweb_1 |   actionpack (4.2.2) lib/action_dispatch/middleware/reloader.rb:73:in `call'\r\nweb_1 |   actionpack (4.2.2) lib/action_dispatch/middleware/remote_ip.rb:78:in `call'\r\nweb_1 |   actionpack (4.2.2) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'\r\nweb_1 |   web-console (2.1.3) lib/web_console/middleware.rb:29:in `call'\r\nweb_1 |   actionpack (4.2.2) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'\r\nweb_1 |   railties (4.2.2) lib/rails/rack/logger.rb:38:in `call_app'\r\nweb_1 |   railties (4.2.2) lib/rails/rack/logger.rb:20:in `block in call'\r\nweb_1 |   activesupport (4.2.2) lib/active_support/tagged_logging.rb:68:in `block in tagged'\r\nweb_1 |   activesupport (4.2.2) lib/active_support/tagged_logging.rb:26:in `tagged'\r\nweb_1 |   activesupport (4.2.2) lib/active_support/tagged_logging.rb:68:in `tagged'\r\nweb_1 |   railties (4.2.2) lib/rails/rack/logger.rb:20:in `call'\r\nweb_1 |   quiet_assets (1.1.0) lib/quiet_assets.rb:27:in `call_with_quiet_assets'\r\nweb_1 |   actionpack (4.2.2) lib/action_dispatch/middleware/request_id.rb:21:in `call'\r\nweb_1 |   rack (1.6.2) lib/rack/methodoverride.rb:22:in `call'\r\nweb_1 |   rack (1.6.2) lib/rack/runtime.rb:18:in `call'\r\nweb_1 |   activesupport (4.2.2) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'\r\nweb_1 |   rack (1.6.2) lib/rack/lock.rb:17:in `call'\r\nweb_1 |   actionpack (4.2.2) lib/action_dispatch/middleware/static.rb:113:in `call'\r\nweb_1 |   rack (1.6.2) lib/rack/sendfile.rb:113:in `call'\r\nweb_1 |   railties (4.2.2) lib/rails/engine.rb:518:in `call'\r\nweb_1 |   railties (4.2.2) lib/rails/application.rb:164:in `call'\r\nweb_1 |   rack (1.6.2) lib/rack/content_length.rb:15:in `call'\r\nweb_1 |   thin (1.6.3) lib/thin/connection.rb:86:in `block in pre_process'\r\nweb_1 |   thin (1.6.3) lib/thin/connection.rb:84:in `catch'\r\nweb_1 |   thin (1.6.3) lib/thin/connection.rb:84:in `pre_process'\r\nweb_1 |   thin (1.6.3) lib/thin/connection.rb:53:in `process'\r\nweb_1 |   thin (1.6.3) lib/thin/connection.rb:39:in `receive_data'\r\nweb_1 |   eventmachine (1.0.7) lib/eventmachine.rb:187:in `run_machine'\r\nweb_1 |   eventmachine (1.0.7) lib/eventmachine.rb:187:in `run'\r\nweb_1 |   thin (1.6.3) lib/thin/backends/base.rb:73:in `start'\r\nweb_1 |   thin (1.6.3) lib/thin/server.rb:162:in `start'\r\nweb_1 |   rack (1.6.2) lib/rack/handler/thin.rb:19:in `run'\r\nweb_1 |   rack (1.6.2) lib/rack/server.rb:286:in `start'\r\nweb_1 |   railties (4.2.2) lib/rails/commands/server.rb:80:in `start'\r\nweb_1 |   railties (4.2.2) lib/rails/commands/commands_tasks.rb:80:in `block in server'\r\nweb_1 |   railties (4.2.2) lib/rails/commands/commands_tasks.rb:75:in `tap'\r\nweb_1 |   railties (4.2.2) lib/rails/commands/commands_tasks.rb:75:in `server'\r\nweb_1 |   railties (4.2.2) lib/rails/commands/commands_tasks.rb:39:in `run_command!'\r\nweb_1 |   railties (4.2.2) lib/rails/commands.rb:17:in `<top (required)>'\r\nweb_1 |   bin/rails:8:in `require'\r\nweb_1 |   bin/rails:8:in `<main>'\r\nweb_1 | \r\nweb_1 | \r\nweb_1 |   Rendered /usr/local/bundle/gems/actionpack-4.2.2/lib/action_dispatch/middleware/templates/rescues/_source.erb (3.3ms)\r\nweb_1 |   Rendered /usr/local/bundle/gems/actionpack-4.2.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.5ms)\r\nweb_1 |   Rendered /usr/local/bundle/gems/actionpack-4.2.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.8ms)\r\nweb_1 |   Rendered /usr/local/bundle/gems/actionpack-4.2.2/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (22.1ms)\r\n```"},"comment":{"url":"https://api.github.com/repos/SUSE/Portus/issues/comments/125996796","html_url":"https://github.com/SUSE/Portus/issues/237#issuecomment-125996796","issue_url":"https://api.github.com/repos/SUSE/Portus/issues/237","id":125996796,"user":{"login":"lsamayoa","id":3391985,"avatar_url":"https://avatars.githubusercontent.com/u/3391985?v=3","gravatar_id":"","url":"https://api.github.com/users/lsamayoa","html_url":"https://github.com/lsamayoa","followers_url":"https://api.github.com/users/lsamayoa/followers","following_url":"https://api.github.com/users/lsamayoa/following{/other_user}","gists_url":"https://api.github.com/users/lsamayoa/gists{/gist_id}","starred_url":"https://api.github.com/users/lsamayoa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lsamayoa/subscriptions","organizations_url":"https://api.github.com/users/lsamayoa/orgs","repos_url":"https://api.github.com/users/lsamayoa/repos","events_url":"https://api.github.com/users/lsamayoa/events{/privacy}","received_events_url":"https://api.github.com/users/lsamayoa/received_events","type":"User","site_admin":false},"created_at":"2015-07-29T15:52:18Z","updated_at":"2015-07-29T15:52:18Z","body":"https://github.com/SUSE/Portus/wiki/The-development-environment"}}