{"action":"created","issue":{"url":"https://api.github.com/repos/zooniverse/Panoptes/issues/569","labels_url":"https://api.github.com/repos/zooniverse/Panoptes/issues/569/labels{/name}","comments_url":"https://api.github.com/repos/zooniverse/Panoptes/issues/569/comments","events_url":"https://api.github.com/repos/zooniverse/Panoptes/issues/569/events","html_url":"https://github.com/zooniverse/Panoptes/issues/569","id":58380122,"number":569,"title":"Installation issue","user":{"login":"alianos-","id":10616632,"avatar_url":"https://avatars.githubusercontent.com/u/10616632?v=3","gravatar_id":"","url":"https://api.github.com/users/alianos-","html_url":"https://github.com/alianos-","followers_url":"https://api.github.com/users/alianos-/followers","following_url":"https://api.github.com/users/alianos-/following{/other_user}","gists_url":"https://api.github.com/users/alianos-/gists{/gist_id}","starred_url":"https://api.github.com/users/alianos-/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alianos-/subscriptions","organizations_url":"https://api.github.com/users/alianos-/orgs","repos_url":"https://api.github.com/users/alianos-/repos","events_url":"https://api.github.com/users/alianos-/events{/privacy}","received_events_url":"https://api.github.com/users/alianos-/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/zooniverse/Panoptes/labels/support","name":"support","color":"f7c6c7"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":16,"created_at":"2015-02-20T17:00:18Z","updated_at":"2015-02-23T21:22:53Z","closed_at":null,"body":"Hi people\r\n\r\nI downloaded the latest version but I cannot seem to be able to start the server. Here is the log, any ideas?\r\n\r\n```\r\nAttaching to panoptes_postgres_1, panoptes_zookeeper_1, panoptes_cellect_1, panoptes_redis_1, panoptes_kafka_1, panoptes_panoptes_1\r\nzookeeper_1 | + '[' '' == auto ']'\r\nzookeeper_1 | + '[' '!' -z '' ']'\r\nzookeeper_1 | + exec /usr/bin/supervisord\r\nzookeeper_1 | /usr/lib/python2.7/dist-packages/supervisor/options.py:295: UserWarning: Supervisord is running as root and it is searching for its configuration file in default locations (including its current working directory); you probably want to specify a \"-c\" argument specifying an absolute path to a configuration file for improved security.\r\nzookeeper_1 |   'Supervisord is running as root and it is searching '\r\nzookeeper_1 | 2015-02-20 16:29:58,740 CRIT Supervisor running as root (no user in config file)\r\nzookeeper_1 | 2015-02-20 16:29:58,740 WARN Included extra file \"/etc/supervisor/conf.d/zookeeper.conf\" during parsing\r\nzookeeper_1 | 2015-02-20 16:29:58,772 INFO RPC interface 'supervisor' initialized\r\nzookeeper_1 | 2015-02-20 16:29:58,772 CRIT Server 'unix_http_server' running without any HTTP authentication checking\r\nzookeeper_1 | 2015-02-20 16:29:58,772 INFO supervisord started with pid 1\r\nzookeeper_1 | 2015-02-20 16:29:59,775 INFO spawned: 'zookeeper' with pid 13\r\nzookeeper_1 | 2015-02-20 16:30:00,783 INFO success: zookeeper entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)\r\npostgres_1  | *** Running /etc/rc.local...\r\npostgres_1  | *** Booting runit daemon...\r\npostgres_1  | *** Runit started as PID 12\r\npostgres_1  | POSTGRES_USER=panoptes\r\npostgres_1  | POSTGRES_PASS=panoptes\r\npostgres_1  | POSTGRES_DATA_DIR=/data\r\npostgres_1  | POSTGRES_DB=panoptes_development\r\npostgres_1  | Starting PostgreSQL...\r\npostgres_1  | Creating the superuser: panoptes\r\npostgres_1  | 2015-02-20 16:29:58 UTC LOG:  database system was shut down at 2015-02-20 16:26:24 UTC\r\npostgres_1  | 2015-02-20 16:29:58 UTC LOG:  database system is ready to accept connections\r\npostgres_1  | 2015-02-20 16:29:58 UTC LOG:  autovacuum launcher started\r\npostgres_1  | 2015-02-20 16:29:58 UTC ERROR:  role \"panoptes\" cannot be dropped because some objects depend on it\r\npostgres_1  | 2015-02-20 16:29:58 UTC DETAIL:  owner of database development_panoptes\r\npostgres_1  | \towner of database panoptes_test\r\npostgres_1  | \towner of database panoptes_development\r\npostgres_1  | \t46 objects in database panoptes_development\r\npostgres_1  | 2015-02-20 16:29:58 UTC STATEMENT:  DROP ROLE IF EXISTS panoptes;\r\npostgres_1  | ERROR:  role \"panoptes\" cannot be dropped because some objects depend on it\r\npostgres_1  | DETAIL:  owner of database development_panoptes\r\npostgres_1  | owner of database panoptes_test\r\npostgres_1  | owner of database panoptes_development\r\npostgres_1  | 46 objects in database panoptes_development\r\npostgres_1  | 2015-02-20 16:29:58 UTC ERROR:  role \"panoptes\" already exists\r\npostgres_1  | 2015-02-20 16:29:58 UTC STATEMENT:  CREATE ROLE panoptes WITH ENCRYPTED PASSWORD 'panoptes';\r\npostgres_1  | ERROR:  role \"panoptes\" already exists\r\npostgres_1  | Creating database: panoptes_development\r\npostgres_1  | 2015-02-20 16:29:58 UTC ERROR:  database \"panoptes_development\" already exists\r\npostgres_1  | 2015-02-20 16:29:58 UTC STATEMENT:  CREATE DATABASE panoptes_development WITH OWNER=panoptes ENCODING='UTF8';\r\npostgres_1  | ERROR:  database \"panoptes_development\" already exists\r\nredis_1     |                 _._                                                  \r\nredis_1     |            _.-``__ ''-._                                             \r\nredis_1     |       _.-``    `.  `_.  ''-._           Redis 2.8.19 (00000000/0) 64 bit\r\nredis_1     |   .-`` .-```.  ```\\/    _.,_ ''-._                                   \r\nredis_1     |  (    '      ,       .-`  | `,    )     Running in stand alone mode\r\nredis_1     |  |`-._`-...-` __...-.``-._|'` _.-'|     Port: 6379\r\nredis_1     |  |    `-._   `._    /     _.-'    |     PID: 1\r\nredis_1     |   `-._    `-._  `-./  _.-'    _.-'                                   \r\nredis_1     |  |`-._`-._    `-.__.-'    _.-'_.-'|                                  \r\nredis_1     |  |    `-._`-._        _.-'_.-'    |           http://redis.io        \r\nredis_1     |   `-._    `-._`-.__.-'_.-'    _.-'                                   \r\nredis_1     |  |`-._`-._    `-.__.-'    _.-'_.-'|                                  \r\nredis_1     |  |    `-._`-._        _.-'_.-'    |                                  \r\nredis_1     |   `-._    `-._`-.__.-'_.-'    _.-'                                   \r\nredis_1     |       `-._    `-.__.-'    _.-'                                       \r\nredis_1     |           `-._        _.-'                                           \r\nredis_1     |               `-.__.-'                                               \r\nredis_1     | \r\nredis_1     | [1] 20 Feb 16:30:00.001 # Server started, Redis version 2.8.19\r\nredis_1     | [1] 20 Feb 16:30:00.001 # WARNING you have Transparent Huge Pages (THP) support enabled in your kernel. This will create latency and memory usage issues with Redis. To fix this issue run the command 'echo never > /sys/kernel/mm/transparent_hugepage/enabled' as root, and add it to your /etc/rc.local in order to retain the setting after a reboot. Redis must be restarted after THP is disabled.\r\nredis_1     | [1] 20 Feb 16:30:00.002 # WARNING: The TCP backlog setting of 511 cannot be enforced because /proc/sys/net/core/somaxconn is set to the lower value of 128.\r\nredis_1     | [1] 20 Feb 16:30:01.050 * DB loaded from append only file: 1.049 seconds\r\nredis_1     | [1] 20 Feb 16:30:01.050 * The server is now ready to accept connections on port 6379\r\ncellect_1   | Puma starting in single mode...\r\ncellect_1   | * Version 2.11.0 (ruby 2.1.5-p273), codename: Intrepid Squirrel\r\ncellect_1   | * Min threads: 8, max threads: 16\r\ncellect_1   | * Environment: development\r\ncellect_1   | * Listening on tcp://0.0.0.0:80\r\ncellect_1   | Use Ctrl-C to stop\r\nkafka_1     | /usr/lib/python2.7/dist-packages/supervisor/options.py:295: UserWarning: Supervisord is running as root and it is searching for its configuration file in default locations (including its current working directory); you probably want to specify a \"-c\" argument specifying an absolute path to a configuration file for improved security.\r\nkafka_1     |   'Supervisord is running as root and it is searching '\r\nkafka_1     | 2015-02-20 16:30:01,072 CRIT Supervisor running as root (no user in config file)\r\nkafka_1     | 2015-02-20 16:30:01,073 WARN Included extra file \"/etc/supervisor/conf.d/supervisord.conf\" during parsing\r\nkafka_1     | 2015-02-20 16:30:01,092 INFO RPC interface 'supervisor' initialized\r\nkafka_1     | 2015-02-20 16:30:01,093 CRIT Server 'unix_http_server' running without any HTTP authentication checking\r\nkafka_1     | 2015-02-20 16:30:01,093 INFO supervisord started with pid 14\r\npanoptes_1  | + cd /rails_app\r\npanoptes_1  | + '[' -d /rails_conf/ ']'\r\npanoptes_1  | + '[' development == development ']'\r\npanoptes_1  | + exec foreman start\r\nkafka_1     | 2015-02-20 16:30:02,095 INFO spawned: 'kafka' with pid 17\r\nkafka_1     | 2015-02-20 16:30:03,157 INFO success: kafka entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)\r\npanoptes_1  | file:/usr/local/lib/jruby.jar!/jruby/kernel19/process.rb:13 warning: unsupported spawn option: err\r\npanoptes_1  | file:/usr/local/lib/jruby.jar!/jruby/kernel19/process.rb:13 warning: unsupported spawn option: out\r\npanoptes_1  | file:/usr/local/lib/jruby.jar!/jruby/kernel19/process.rb:13 warning: unsupported spawn option: err\r\npanoptes_1  | file:/usr/local/lib/jruby.jar!/jruby/kernel19/process.rb:13 warning: unsupported spawn option: out\r\npanoptes_1  | 16:30:05 sidekiq.1 | started with pid 29\r\npanoptes_1  | 16:30:05 server.1  | started with pid 20\r\npanoptes_1  | file:/usr/local/lib/jruby.jar!/jruby/kernel19/kernel.rb:28 warning: unsupported exec option: close_others\r\npanoptes_1  | file:/usr/local/lib/jruby.jar!/jruby/kernel19/kernel.rb:28 warning: unsupported exec option: close_others\r\npanoptes_1  | No such file or directory - /rails_app/tmp/pids/sidekiq.pid\r\npanoptes_1  | org/jruby/RubyFile.java:362:in `initialize'\r\npanoptes_1  | org/jruby/RubyIO.java:1177:in `open'\r\npanoptes_1  | /usr/local/lib/ruby/gems/shared/gems/sidekiq-3.3.2/lib/sidekiq/cli.rb:347:in `write_pid'\r\npanoptes_1  | /usr/local/lib/ruby/gems/shared/gems/sidekiq-3.3.2/lib/sidekiq/cli.rb:42:in `parse'\r\npanoptes_1  | /usr/local/lib/ruby/gems/shared/gems/sidekiq-3.3.2/bin/sidekiq:7:in `(root)'\r\npanoptes_1  | org/jruby/RubyKernel.java:1087:in `load'\r\npanoptes_1  | /usr/local/bin/sidekiq:23:in `(root)'\r\npanoptes_1  | 16:30:23 sidekiq.1 | terminated by SIGHUP\r\npanoptes_1  | 16:30:23 system    | sending SIGTERM to all processes\r\npanoptes_1  | 16:30:28 system    | sending SIGKILL to all processes\r\npanoptes_1  | Bad file descriptor - Bad file descriptor\r\npanoptes_1  | org/jruby/RubyIO.java:3676:in `select'\r\npanoptes_1  | /usr/local/lib/ruby/gems/shared/gems/foreman-0.77.0/lib/foreman/engine.rb:399:in `watch_for_output'\r\npanoptes_1  | org/jruby/RubyKernel.java:1507:in `loop'\r\npanoptes_1  | /usr/local/lib/ruby/gems/shared/gems/foreman-0.77.0/lib/foreman/engine.rb:398:in `watch_for_output'\r\npanoptes_panoptes_1 exited with code 0\r\nGracefully stopping... (press Ctrl+C again to force)\r\n```"},"comment":{"url":"https://api.github.com/repos/zooniverse/Panoptes/issues/comments/75636710","html_url":"https://github.com/zooniverse/Panoptes/issues/569#issuecomment-75636710","issue_url":"https://api.github.com/repos/zooniverse/Panoptes/issues/569","id":75636710,"user":{"login":"edpaget","id":108177,"avatar_url":"https://avatars.githubusercontent.com/u/108177?v=3","gravatar_id":"","url":"https://api.github.com/users/edpaget","html_url":"https://github.com/edpaget","followers_url":"https://api.github.com/users/edpaget/followers","following_url":"https://api.github.com/users/edpaget/following{/other_user}","gists_url":"https://api.github.com/users/edpaget/gists{/gist_id}","starred_url":"https://api.github.com/users/edpaget/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edpaget/subscriptions","organizations_url":"https://api.github.com/users/edpaget/orgs","repos_url":"https://api.github.com/users/edpaget/repos","events_url":"https://api.github.com/users/edpaget/events{/privacy}","received_events_url":"https://api.github.com/users/edpaget/received_events","type":"User","site_admin":false},"created_at":"2015-02-23T21:22:53Z","updated_at":"2015-02-23T21:22:53Z","body":"Once we're at a stable point with the code, we will provide versioned releases, probably via docker container. So, instead of building your own docker image with `fig build`, you'll just be able to download a pre-built image from [docker hub](https://registry.hub.docker.com/u/zooniverse/panoptes/). \r\n"}}