RuntimeError: cd /var/www/discourse && su discourse -c 'bundle exec rake assets:


(Tarlan Isaev) #1

Hi guys,
I’ve got a failure by bootstrapping a Discourse:
RuntimeError: cd /var/www/discourse && su discourse -c ‘bundle exec rake assets:precompile’ failed with return #<Process::Status: pid 289 exit 137>.

    mote set-branches --add origin master
    I, [2016-05-25T07:39:19.096794 #13]  INFO -- :
    I, [2016-05-25T07:39:19.097471 #13]  INFO -- : > cd /var/www/discourse && git pull
    From https://github.com/discourse/discourse
       b6db022..99b95f1  master     -> origin/master
       8c52508..99b95f1  tests-passed -> origin/tests-passed
       25b384d..2438cd2  timeline   -> origin/timeline
    I, [2016-05-25T07:39:20.390437 #13]  INFO -- : Updating b6db022..99b95f1
    Fast-forward
     app/assets/images/favicons/1282043220-favicon.ico  | Bin 1150 -> 0 bytes
     app/assets/images/favicons/amazon.png              | Bin 434 -> 2937 bytes
     app/assets/images/favicons/apple.png               | Bin 216 -> 1579 bytes
     app/assets/images/favicons/discourse.png           | Bin 412 -> 4459 bytes
     app/assets/images/favicons/github.png              | Bin 600 -> 3557 bytes
     app/assets/images/favicons/google_play.png         | Bin 655 -> 4835 bytes
     app/assets/images/favicons/rottentomatoes.png      | Bin 834 -> 4219 bytes
     app/assets/images/favicons/stackexchange.png       | Bin 272 -> 1845 bytes
     app/assets/images/favicons/twitter.png             | Bin 415 -> 2217 bytes
     app/assets/images/favicons/wikipedia.png           | Bin 225 -> 1912 bytes
     .../javascripts/admin/templates/email-sent.hbs     |   5 +++-
     .../discourse/controllers/preferences.js.es6       |   7 +++---
     .../javascripts/discourse/helpers/fa-icon.js.es6   |   1 +
     .../javascripts/discourse/templates/topic.hbs      |   1 +
     app/assets/stylesheets/common/base/onebox.scss     |   3 ++-
     app/assets/stylesheets/common/base/tagging.scss    |   4 ++++
     app/controllers/tags_controller.rb                 |  17 ++++++++++++--
     app/models/incoming_email.rb                       |   2 +-
     app/models/optimized_image.rb                      |  26 +++++++++++++++++++++
     app/models/topic_status_update.rb                  |  12 ++++++----
     app/models/upload.rb                               |  14 +++++------
     config/locales/client.en.yml                       |   2 +-
     lib/cooked_post_processor.rb                       |  15 ++++++++++--
     lib/email/styles.rb                                |   2 +-
     lib/image_sizer.rb                                 |  15 ++++++++++++
     spec/components/cooked_post_processor_spec.rb      |  18 +++++++-------
     spec/phantom_js/smoke_test.js                      |   4 ++++
     27 files changed, 114 insertions(+), 34 deletions(-)
     delete mode 100644 app/assets/images/favicons/1282043220-favicon.ico

    I, [2016-05-25T07:39:20.393014 #13]  INFO -- : > cd /var/www/discourse && git fetch origin tests-passed
    From https://github.com/discourse/discourse
     * branch            tests-passed -> FETCH_HEAD
    I, [2016-05-25T07:39:20.762598 #13]  INFO -- :
    I, [2016-05-25T07:39:20.763626 #13]  INFO -- : > cd /var/www/discourse && git checkout tests-passed
    Switched to a new branch 'tests-passed'
    I, [2016-05-25T07:39:20.923645 #13]  INFO -- : Branch tests-passed set up to track remote branch tests-passed from origin.

    I, [2016-05-25T07:39:20.924060 #13]  INFO -- : > cd /var/www/discourse && mkdir -p tmp/pids
    I, [2016-05-25T07:39:20.928754 #13]  INFO -- :
    I, [2016-05-25T07:39:20.929445 #13]  INFO -- : > cd /var/www/discourse && mkdir -p tmp/sockets
    I, [2016-05-25T07:39:20.932525 #13]  INFO -- :
    I, [2016-05-25T07:39:20.932922 #13]  INFO -- : > cd /var/www/discourse && touch tmp/.gitkeep
    I, [2016-05-25T07:39:20.938783 #13]  INFO -- :
    I, [2016-05-25T07:39:20.939742 #13]  INFO -- : > cd /var/www/discourse && mkdir -p                    /shared/log/rails
    I, [2016-05-25T07:39:20.943663 #13]  INFO -- :
    I, [2016-05-25T07:39:20.944603 #13]  INFO -- : > cd /var/www/discourse && bash -c "touch -a           /shared/log/rails/{production,production_errors,unicorn.stdout,unicorn.stderr}.log"
    I, [2016-05-25T07:39:20.953984 #13]  INFO -- :
    I, [2016-05-25T07:39:20.955328 #13]  INFO -- : > cd /var/www/discourse && bash -c "ln    -s           /shared/log/rails/{production,production_errors,unicorn.stdout,unicorn.stderr}.log /var/www/discourse/log"
    I, [2016-05-25T07:39:20.963882 #13]  INFO -- :
    I, [2016-05-25T07:39:20.964919 #13]  INFO -- : > cd /var/www/discourse && bash -c "mkdir -p           /shared/{uploads,backups}"
    I, [2016-05-25T07:39:20.973276 #13]  INFO -- :
    I, [2016-05-25T07:39:20.974164 #13]  INFO -- : > cd /var/www/discourse && bash -c "ln    -s           /shared/{uploads,backups} /var/www/discourse/public"
    I, [2016-05-25T07:39:20.982068 #13]  INFO -- :
    I, [2016-05-25T07:39:20.983112 #13]  INFO -- : > cd /var/www/discourse && chown -R discourse:www-data /shared/log/rails /shared/uploads /shared/backups
    I, [2016-05-25T07:39:20.989006 #13]  INFO -- :
    I, [2016-05-25T07:39:20.990388 #13]  INFO -- : Replacing # redis with sv start redis || exit 1 in /etc/service/unicorn/run
    I, [2016-05-25T07:39:20.991401 #13]  INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/docker_manager.git
    Cloning into 'docker_manager'...
    I, [2016-05-25T07:39:21.655321 #13]  INFO -- :
    I, [2016-05-25T07:39:21.657222 #13]  INFO -- : > cp /var/www/discourse/config/nginx.sample.conf /etc/nginx/conf.d/discourse.conf
    I, [2016-05-25T07:39:21.665034 #13]  INFO -- :
    I, [2016-05-25T07:39:21.666603 #13]  INFO -- : > rm /etc/nginx/sites-enabled/default
    I, [2016-05-25T07:39:21.671615 #13]  INFO -- :
    I, [2016-05-25T07:39:21.672907 #13]  INFO -- : > mkdir -p /var/nginx/cache
    I, [2016-05-25T07:39:21.677141 #13]  INFO -- :
    I, [2016-05-25T07:39:21.678817 #13]  INFO -- : Replacing pid /run/nginx.pid; with daemon off; in /etc/nginx/nginx.conf
    I, [2016-05-25T07:39:21.680750 #13]  INFO -- : Replacing (?m-ix:upstream[^\}]+\}) with upstream discourse { server 127.0.0.1:3000; } in /etc/nginx/conf.d/discourse.conf
    I, [2016-05-25T07:39:21.682305 #13]  INFO -- : Replacing (?-mix:server_name.+$) with server_name _ ; in /etc/nginx/conf.d/discourse.conf
    I, [2016-05-25T07:39:21.683660 #13]  INFO -- : Replacing (?-mix:client_max_body_size.+$) with client_max_body_size $upload_size ; in /etc/nginx/conf.d/discourse.conf
    I, [2016-05-25T07:39:21.684831 #13]  INFO -- : > echo "done configuring web"
    I, [2016-05-25T07:39:21.688290 #13]  INFO -- : done configuring web

    I, [2016-05-25T07:39:21.689463 #13]  INFO -- : > cd /var/www/discourse && gem update bundler
    I, [2016-05-25T07:39:27.142945 #13]  INFO -- : Updating installed gems
    Nothing to update

    I, [2016-05-25T07:39:27.145418 #13]  INFO -- : > cd /var/www/discourse && chown -R discourse /var/www/discourse
    I, [2016-05-25T07:39:38.033460 #13]  INFO -- :
    I, [2016-05-25T07:39:38.045430 #13]  INFO -- : > cd /var/www/discourse && su discourse -c 'bundle install --deployment --verbose --without test --without development'
    I, [2016-05-25T07:39:40.040196 #13]  INFO -- : Using rake 11.1.2
    0:  rake (11.1.2) from /var/www/discourse/vendor/bundle/ruby/2.3.0/specifications/rake-11.1.2.gemspec
    Using i18n 0.7.0
    0:  i18n (0.7.0) from /var/www/discourse/vendor/bundle/ruby/2.3.0/specifications/i18n-0.7.0.gemspec
    Using json 1.8.3
    0:  json (1.8.3) from /usr/local/lib/ruby/gems/2.3.0/specifications/default/json-1.8.3.gemspec
    Using minitest 5.9.0
    0:  minitest (5.9.0) from /var/www/discourse/vendor/bundle/ruby/2.3.0/specifications/minitest-5.9.0.gemspec
    Using thread_safe 0.3.5
    0:  thread_safe (0.3.5) from /var/www/discourse/vendor/bundle/ruby/2.3.0/specifications/thread_safe-0.3.5.gemspec
    Using builder 3.2.2
    0:  builder (3.2.2) from /var/www/discourse/vendor/bundle/ruby/2.3.0/specifications/builder-3.2.2.gemspec
    Using erubis 2.7.0
    0:  erubis (2.7.0) from /var/www/discourse/vendor/bundle/ruby/2.3.0/specifications/erubis-2.7.0.gemspec
    Using mini_portile2 2.1.0
    0:  mini_portile2 (2.1.0) from /var/www/discourse/vendor/bundle/ruby/2.3.0/specifications/mini_portile2-2.1.0.gemspec
    Using pkg-config 1.1.7
    0:  pkg-config (1.1.7) from /var/www/discourse/vendor/bundle/ruby/2.3.0/specifications/pkg-config-1.1.7.gemspec
    Using rack 1.6.4
    0:  rack (1.6.4) from /var/www/discourse/vendor/bundle/ruby/2.3.0/specifications/rack-1.6.4.gemspec
    Using mime-types 2.99.1
    0:  mime-types (2.99.1) from /var/www/discourse/vendor/bundle/ruby/2.3.0/specifications/mime-types-2.99.1.gemspec
    Using arel 6.0.3
    0:  arel (6.0.3) from /var/www/discourse/vendor/bundle/ruby/2.3.0/specifications/arel-6.0.3.gemspec
    Using json_pure 1.8.3
    0:  json_pure (1.8.3) from /var/www/discourse/vendor/bundle/ruby/2.3.0/specifications/json_pure-1.8.3.gemspec
    Using babel-source 5.8.34
    0:  babel-source (5.8.34) from /var/www/discourse/vendor/bundle/ruby/2.3.0/specifications/babel-source-5.8.34.gemspec
    Using execjs 2.7.0
    0:  execjs (2.7.0) from /var/www/discourse/vendor/bundle/ruby/2.3.0/specifications/execjs-2.7.0.gemspec
    Using ember-source 1.12.2
    0:  ember-source (1.12.2) from /var/www/discourse/vendor/bundle/ruby/2.3.0/specifications/ember-source-1.12.2.gemspec
    Using byebug 8.2.1
    0:  byebug (8.2.1) from /var/www/discourse/vendor/bundle/ruby/2.3.0/specifications/byebug-8.2.1.gemspec
    Using certified 1.0.0
    0:  certified (1.0.0) from /var/www/discourse/vendor/bundle/ruby/2.3.0/specifications/certified-1.0.0.gemspec
    Using coderay 1.1.0
    0:  coderay (1.1.0) from /var/www/discourse/vendor/bundle/ruby/2.3.0/specifications/coderay-1.1.0.gemspec
    Using concurrent-ruby 1.0.2
    0:  concurrent-ruby (1.0.2) from /var/www/discourse/vendor/bundle/ruby/2.3.0/specifications/concurrent-ruby-1.0.2.gemspec
    Using connection_pool 2.2.0
    0:  connection_pool (2.2.0) from /var/www/discourse/vendor/bundle/ruby/2.3.0/specifications/connection_pool-2.2.0.gemspec
    Using crass 1.0.2
    0:  crass (1.0.2) from /var/www/discourse/vendor/bundle/ruby/2.3.0/specifications/crass-1.0.2.gemspec
    Using daemons 1.2.3
    0:  daemons (1.2.3) from /var/www/discourse/vendor/bundle/ruby/2.3.0/specifications/daemons-1.2.3.gemspec
    Using diff-lcs 1.2.5
    0:  diff-lcs (1.2.5) from /var/www/discourse/vendor/bundle/ruby/2.3.0/specifications/diff-lcs-1.2.5.gemspec
    Using thor 0.19.1
    0:  thor (0.19.1) from /var/www/discourse/vendor/bundle/ruby/2.3.0/specifications/thor-0.19.1.gemspec
    Using discourse_fastimage 2.0.0
    0:  discourse_fastimage (2.0.0) from /var/www/discourse/vendor/bundle/ruby/2.3.0/specifications/discourse_fastimage-2.0.0.gemspec
    Using docile 1.1.5
    0:  docile (1.1.5) from /var/www/discourse/vendor/bundle/ruby/2.3.0/specifications/docile-1.1.5.gemspec
    Using unf_ext 0.0.7.1
    0:  unf_ext (0.0.7.1) from /var/www/discourse/vendor/bundle/ruby/2.3.0/specifications/unf_ext-0.0.7.1.gemspec
    Using email_reply_trimmer 0.1.3
    0:  email_reply_trimmer (0.1.3) from /var/www/discourse/vendor/bundle/ruby/2.3.0/specifications/email_reply_trimmer-0.1.3.gemspec
    Using eventmachine 1.2.0.1
    0:  eventmachine (1.2.0.1) from /var/www/discourse/vendor/bundle/ruby/2.3.0/specifications/eventmachine-1.2.0.1.gemspec
    Using excon 0.45.4
    0:  excon (0.45.4) from /var/www/discourse/vendor/bundle/ruby/2.3.0/specifications/excon-0.45.4.gemspec
    Using exifr 1.2.4
    0:  exifr (1.2.4) from /var/www/discourse/vendor/bundle/ruby/2.3.0/specifications/exifr-1.2.4.gemspec
    Using fabrication 2.9.8
    0:  fabrication (2.9.8) from /var/www/discourse/vendor/bundle/ruby/2.3.0/specifications/fabrication-2.9.8.gemspec
    Using fakeweb 1.3.0
    0:  fakeweb (1.3.0) from /var/www/discourse/vendor/bundle/ruby/2.3.0/specifications/fakeweb-1.3.0.gemspec
    Using multipart-post 2.0.0
    0:  multipart-post (2.0.0) from /var/www/discourse/vendor/bundle/ruby/2.3.0/specifications/multipart-post-2.0.0.gemspec
    Using fast_blank 1.0.0
    0:  fast_blank (1.0.0) from /var/www/discourse/vendor/bundle/ruby/2.3.0/specifications/fast_blank-1.0.0.gemspec
    Using fast_xs 0.8.0
    0:  fast_xs (0.8.0) from /var/www/discourse/vendor/bundle/ruby/2.3.0/specifications/fast_xs-0.8.0.gemspec
    Using ffi 1.9.10
    0:  ffi (1.9.10) from /var/www/discourse/vendor/bundle/ruby/2.3.0/specifications/ffi-1.9.10.gemspec
    Using flamegraph 0.9.5
    0:  flamegraph (0.9.5) from /var/www/discourse/vendor/bundle/ruby/2.3.0/specifications/flamegraph-0.9.5.gemspec
    Using fspath 2.1.1
    0:  fspath (2.1.1) from /var/www/discourse/vendor/bundle/ruby/2.3.0/specifications/fspath-2.1.1.gemspec
    Using sorcerer 1.0.2
    0:  sorcerer (1.0.2) from /var/www/discourse/vendor/bundle/ruby/2.3.0/specifications/sorcerer-1.0.2.gemspec
    Using guess_html_encoding 0.0.11
    0:  guess_html_encoding (0.0.11) from /var/www/discourse/vendor/bundle/ruby/2.3.0/specifications/guess_html_encoding-0.0.11.gemspec
    Using hashie 3.4.4
    0:  hashie (3.4.4) from /var/www/discourse/vendor/bundle/ruby/2.3.0/specifications/hashie-3.4.4.gemspec
    Using highline 1.7.8
    0:  highline (1.7.8) from /var/www/discourse/vendor/bundle/ruby/2.3.0/specifications/highline-1.7.8.gemspec
    Using hiredis 0.6.1
    0:  hiredis (0.6.1) from /var/www/discourse/vendor/bundle/ruby/2.3.0/specifications/hiredis-0.6.1.gemspec
    Using htmlentities 4.3.4
    0:  htmlentities (4.3.4) from /var/www/discourse/vendor/bundle/ruby/2.3.0/specifications/htmlentities-4.3.4.gemspec
    Using http_accept_language 2.0.5
    0:  http_accept_language (2.0.5) from /var/www/discourse/vendor/bundle/ruby/2.3.0/specifications/http_accept_language-2.0.5.gemspec
    Using image_size 1.4.1
    0:  image_size (1.4.1) from /var/www/discourse/vendor/bundle/ruby/2.3.0/specifications/image_size-1.4.1.gemspec
    Using in_threads 1.3.1
    0:  in_threads (1.3.1) from /var/www/discourse/vendor/bundle/ruby/2.3.0/specifications/in_threads-1.3.1.gemspec
    Using progress 3.1.1
    0:  progress (3.1.1) from /var/www/discourse/vendor/bundle/ruby/2.3.0/specifications/progress-3.1.1.gemspec
    Using jwt 1.5.2
    0:  jwt (1.5.2) from /var/www/discourse/vendor/bundle/ruby/2.3.0/specifications/jwt-1.5.2.gemspec
    Using kgio 2.10.0
    0:  kgio (2.10.0) from /var/www/discourse/vendor/bundle/ruby/2.3.0/specifications/kgio-2.10.0.gemspec
    Using libv8 5.0.71.48.3
    0:  libv8 (5.0.71.48.3) from /var/www/discourse/vendor/bundle/ruby/2.3.0/specifications/libv8-5.0.71.48.3-x86_64-linux.gemspec
    Using listen 0.7.3
    0:  listen (0.7.3) from /var/www/discourse/vendor/bundle/ruby/2.3.0/specifications/listen-0.7.3.gemspec
    Using logster 1.2.3
    0:  logster (1.2.3) from /var/www/discourse/vendor/bundle/ruby/2.3.0/specifications/logster-1.2.3.gemspec
    Using lru_redux 1.1.0
    0:  lru_redux (1.1.0) from /var/www/discourse/vendor/bundle/ruby/2.3.0/specifications/lru_redux-1.1.0.gemspec
    Using memory_profiler 0.9.6
    0:  memory_profiler (0.9.6) from /var/www/discourse/vendor/bundle/ruby/2.3.0/specifications/memory_profiler-0.9.6.gemspec
    Using metaclass 0.0.4
    0:  metaclass (0.0.4) from /var/www/discourse/vendor/bundle/ruby/2.3.0/specifications/metaclass-0.0.4.gemspec
    Using method_source 0.8.2
    0:  method_source (0.8.2) from /var/www/discourse/vendor/bundle/ruby/2.3.0/specifications/method_source-0.8.2.gemspec
    Using mock_redis 0.15.4
    0:  mock_redis (0.15.4) from /var/www/discourse/vendor/bundle/ruby/2.3.0/specifications/mock_redis-0.15.4.gemspec
    Using moneta 0.8.0
    0:  moneta (0.8.0) from /var/www/discourse/vendor/bundle/ruby/2.3.0/specifications/moneta-0.8.0.gemspec
    Using msgpack 0.7.6
    0:  msgpack (0.7.6) from /var/www/discourse/vendor/bundle/ruby/2.3.0/specifications/msgpack-0.7.6.gemspec
    Using multi_json 1.11.2
    0:  multi_json (1.11.2) from /var/www/discourse/vendor/bundle/ruby/2.3.0/specifications/multi_json-1.11.2.gemspec
    Using multi_xml 0.5.5
    0:  multi_xml (0.5.5) from /var/www/discourse/vendor/bundle/ruby/2.3.0/specifications/multi_xml-0.5.5.gemspec
    Using mustache 1.0.3
    0:  mustache (1.0.3) from /var/www/discourse/vendor/bundle/ruby/2.3.0/specifications/mustache-1.0.3.gemspec
    Using netrc 0.11.0
    0:  netrc (0.11.0) from /var/www/discourse/vendor/bundle/ruby/2.3.0/specifications/netrc-0.11.0.gemspec
    Using oauth 0.4.7
    0:  oauth (0.4.7) from /var/www/discourse/vendor/bundle/ruby/2.3.0/specifications/oauth-0.4.7.gemspec
    Using oj 2.14.3
    0:  oj (2.14.3) from /var/www/discourse/vendor/bundle/ruby/2.3.0/specifications/oj-2.14.3.gemspec
    Using ruby-openid 2.7.0
    0:  ruby-openid (2.7.0) from /var/www/discourse/vendor/bundle/ruby/2.3.0/specifications/ruby-openid-2.7.0.gemspec
    Using redis 3.3.0
    0:  redis (3.3.0) from /var/www/discourse/vendor/bundle/ruby/2.3.0/specifications/redis-3.3.0.gemspec
    Using pg 0.18.4
    0:  pg (0.18.4) from /var/www/discourse/vendor/bundle/ruby/2.3.0/specifications/pg-0.18.4.gemspec
    Using slop 3.6.0
    0:  slop (3.6.0) from /var/www/discourse/vendor/bundle/ruby/2.3.0/specifications/slop-3.6.0.gemspec
    Using puma 3.2.0
    0:  puma (3.2.0) from /var/www/discourse/vendor/bundle/ruby/2.3.0/specifications/puma-3.2.0.gemspec
    Using r2 0.2.6
    0:  r2 (0.2.6) from /var/www/discourse/vendor/bundle/ruby/2.3.0/specifications/r2-0.2.6.gemspec
    Using bundler 1.12.4
    0:  bundler (1.12.4) from /usr/local/lib/ruby/gems/2.3.0/gems/bundler-1.12.4/lib/bundler/source
    Using rails_multisite 1.0.4
    0:  rails_multisite (1.0.4) from /var/www/discourse/vendor/bundle/ruby/2.3.0/specifications/rails_multisite-1.0.4.gemspec
    Using raindrops 0.16.0
    0:  raindrops (0.16.0) from /var/www/discourse/vendor/bundle/ruby/2.3.0/specifications/raindrops-0.16.0.gemspec
    Using rb-fsevent 0.9.7
    0:  rb-fsevent (0.9.7) from /var/www/discourse/vendor/bundle/ruby/2.3.0/specifications/rb-fsevent-0.9.7.gemspec
    Using trollop 2.1.2
    0:  trollop (2.1.2) from /var/www/discourse/vendor/bundle/ruby/2.3.0/specifications/trollop-2.1.2.gemspec
    Using rinku 2.0.0
    0:  rinku (2.0.0) from /var/www/discourse/vendor/bundle/ruby/2.3.0/specifications/rinku-2.0.0.gemspec
    Using rmmseg-cpp 0.2.9
    0:  rmmseg-cpp (0.2.9) from /var/www/discourse/vendor/bundle/ruby/2.3.0/specifications/rmmseg-cpp-0.2.9.gemspec
    Using rspec-support 3.2.2
    0:  rspec-support (3.2.2) from /var/www/discourse/vendor/bundle/ruby/2.3.0/specifications/rspec-support-3.2.2.gemspec
    Using rtlit 0.0.5
    0:  rtlit (0.0.5) from /var/www/discourse/vendor/bundle/ruby/2.3.0/specifications/rtlit-0.0.5.gemspec
    Using sass 3.2.19
    0:  sass (3.2.19) from /var/www/discourse/vendor/bundle/ruby/2.3.0/specifications/sass-3.2.19.gemspec
    Using tilt 2.0.2
    0:  tilt (2.0.2) from /var/www/discourse/vendor/bundle/ruby/2.3.0/specifications/tilt-2.0.2.gemspec
    Using shoulda-context 1.2.1
    0:  shoulda-context (1.2.1) from /var/www/discourse/vendor/bundle/ruby/2.3.0/specifications/shoulda-context-1.2.1.gemspec
    Using simple-rss 1.3.1
    0:  simple-rss (1.3.1) from /var/www/discourse/vendor/bundle/ruby/2.3.0/specifications/simple-rss-1.3.1.gemspec
    Using simplecov-html 0.10.0
    0:  simplecov-html (0.10.0) from /var/www/discourse/vendor/bundle/ruby/2.3.0/specifications/simplecov-html-0.10.0.gemspec
    Using spork 1.0.0rc4
    0:  spork (1.0.0rc4) from /var/www/discourse/vendor/bundle/ruby/2.3.0/specifications/spork-1.0.0rc4.gemspec
    Using stackprof 0.2.9
    0:  stackprof (0.2.9) from /var/www/discourse/vendor/bundle/ruby/2.3.0/specifications/stackprof-0.2.9.gemspec
    Using timecop 0.8.0
    0:  timecop (0.8.0) from /var/www/discourse/vendor/bundle/ruby/2.3.0/specifications/timecop-0.8.0.gemspec
    Using rake-compiler 0.9.9
    0:  rake-compiler (0.9.9) from /var/www/discourse/vendor/bundle/ruby/2.3.0/specifications/rake-compiler-0.9.9.gemspec
    Using tzinfo 1.2.2
    0:  tzinfo (1.2.2) from /var/www/discourse/vendor/bundle/ruby/2.3.0/specifications/tzinfo-1.2.2.gemspec
    Using nokogiri 1.6.8.rc3
    0:  nokogiri (1.6.8.rc3) from /var/www/discourse/vendor/bundle/ruby/2.3.0/specifications/nokogiri-1.6.8.rc3.gemspec
    Using rack-test 0.6.3
    0:  rack-test (0.6.3) from /var/www/discourse/vendor/bundle/ruby/2.3.0/specifications/rack-test-0.6.3.gemspec
    Using message_bus 2.0.0.beta.11
    0:  message_bus (2.0.0.beta.11) from /var/www/discourse/vendor/bundle/ruby/2.3.0/specifications/message_bus-2.0.0.beta.11.gemspec
    Using rack-mini-profiler 0.10.1
    0:  rack-mini-profiler (0.10.1) from /var/www/discourse/vendor/bundle/ruby/2.3.0/specifications/rack-mini-profiler-0.10.1.gemspec
    Using rack-protection 1.5.3
    0:  rack-protection (1.5.3) from /var/www/discourse/vendor/bundle/ruby/2.3.0/specifications/rack-protection-1.5.3.gemspec
    Using mail 2.6.4
    0:  mail (2.6.4) from /var/www/discourse/vendor/bundle/ruby/2.3.0/specifications/mail-2.6.4.gemspec
    Using jmespath 1.2.4
    0:  jmespath (1.2.4) from /var/www/discourse/vendor/bundle/ruby/2.3.0/specifications/jmespath-1.2.4.gemspec
    Using babel-transpiler 0.7.0
    0:  babel-transpiler (0.7.0) from /var/www/discourse/vendor/bundle/ruby/2.3.0/specifications/babel-transpiler-0.7.0.gemspec
    Using uglifier 3.0.0
    0:  uglifier (3.0.0) from /var/www/discourse/vendor/bundle/ruby/2.3.0/specifications/uglifier-3.0.0.gemspec
    Using barber 0.11.1
    0:  barber (0.11.1) from /var/www/discourse/vendor/bundle/ruby/2.3.0/specifications/barber-0.11.1.gemspec
    Using ember-data-source 1.0.0.beta.16.1
    0:  ember-data-source (1.0.0.beta.16.1) from /var/www/discourse/vendor/bundle/ruby/2.3.0/specifications/ember-data-source-1.0.0.beta.16.1.gemspec
    Using sprockets 3.6.0
    0:  sprockets (3.6.0) from /var/www/discourse/vendor/bundle/ruby/2.3.0/specifications/sprockets-3.6.0.gemspec
    Using unf 0.1.4
    0:  unf (0.1.4) from /var/www/discourse/vendor/bundle/ruby/2.3.0/specifications/unf-0.1.4.gemspec
    Using thin 1.6.4
    0:  thin (1.6.4) from /var/www/discourse/vendor/bundle/ruby/2.3.0/specifications/thin-1.6.4.gemspec
    Using faraday 0.9.2
    0:  faraday (0.9.2) from /var/www/discourse/vendor/bundle/ruby/2.3.0/specifications/faraday-0.9.2.gemspec
    Using rb-inotify 0.9.7
    0:  rb-inotify (0.9.7) from /var/www/discourse/vendor/bundle/ruby/2.3.0/specifications/rb-inotify-0.9.7.gemspec
    Using given_core 3.7.1
    0:  given_core (3.7.1) from /var/www/discourse/vendor/bundle/ruby/2.3.0/specifications/given_core-3.7.1.gemspec
    Using omniauth 1.3.1
    0:  omniauth (1.3.1) from /var/www/discourse/vendor/bundle/ruby/2.3.0/specifications/omniauth-1.3.1.gemspec
    Using image_optim 0.20.2
    0:  image_optim (0.20.2) from /var/www/discourse/vendor/bundle/ruby/2.3.0/specifications/image_optim-0.20.2.gemspec
    Using mini_racer 0.1.3
    0:  mini_racer (0.1.3) from /var/www/discourse/vendor/bundle/ruby/2.3.0/specifications/mini_racer-0.1.3.gemspec
    Using mocha 1.1.0
    0:  mocha (1.1.0) from /var/www/discourse/vendor/bundle/ruby/2.3.0/specifications/mocha-1.1.0.gemspec
    Using rack-openid 1.3.1
    0:  rack-openid (1.3.1) from /var/www/discourse/vendor/bundle/ruby/2.3.0/specifications/rack-openid-1.3.1.gemspec
    Using openid-redis-store 0.0.2
    0:  openid-redis-store (0.0.2) from /var/www/discourse/vendor/bundle/ruby/2.3.0/specifications/openid-redis-store-0.0.2.gemspec
    Using redis-namespace 1.5.2
    0:  redis-namespace (1.5.2) from /var/www/discourse/vendor/bundle/ruby/2.3.0/specifications/redis-namespace-1.5.2.gemspec
    Using sidekiq 4.1.2
    0:  sidekiq (4.1.2) from /var/www/discourse/vendor/bundle/ruby/2.3.0/specifications/sidekiq-4.1.2.gemspec
    Using pry 0.10.3
    0:  pry (0.10.3) from /var/www/discourse/vendor/bundle/ruby/2.3.0/specifications/pry-0.10.3.gemspec
    Using unicorn 5.1.0
    0:  unicorn (5.1.0) from /var/www/discourse/vendor/bundle/ruby/2.3.0/specifications/unicorn-5.1.0.gemspec
    Using rbtrace 0.4.8
    0:  rbtrace (0.4.8) from /var/www/discourse/vendor/bundle/ruby/2.3.0/specifications/rbtrace-0.4.8.gemspec
    Using rspec-core 3.2.3
    0:  rspec-core (3.2.3) from /var/www/discourse/vendor/bundle/ruby/2.3.0/specifications/rspec-core-3.2.3.gemspec
    Using rspec-expectations 3.2.1
    0:  rspec-expectations (3.2.1) from /var/www/discourse/vendor/bundle/ruby/2.3.0/specifications/rspec-expectations-3.2.1.gemspec
    Using rspec-mocks 3.2.1
    0:  rspec-mocks (3.2.1) from /var/www/discourse/vendor/bundle/ruby/2.3.0/specifications/rspec-mocks-

(Tarlan Isaev) #2
        3.2.1.gemspec
        Using simplecov 0.11.1
        0:  simplecov (0.11.1) from /var/www/discourse/vendor/bundle/ruby/2.3.0/specifications/simplecov-0.11.1.gemspec
        Using fast_xor 1.1.3
        0:  fast_xor (1.1.3) from /var/www/discourse/vendor/bundle/ruby/2.3.0/specifications/fast_xor-1.1.3.gemspec
        Using activesupport 4.2.6
        0:  activesupport (4.2.6) from /var/www/discourse/vendor/bundle/ruby/2.3.0/specifications/activesupport-4.2.6.gemspec
        Using loofah 2.0.3
        0:  loofah (2.0.3) from /var/www/discourse/vendor/bundle/ruby/2.3.0/specifications/loofah-2.0.3.gemspec
        Using nokogumbo 1.4.7
        0:  nokogumbo (1.4.7) from /var/www/discourse/vendor/bundle/ruby/2.3.0/specifications/nokogumbo-1.4.7.gemspec
        Using onebox 1.5.39
        0:  onebox (1.5.39) from /var/www/discourse/vendor/bundle/ruby/2.3.0/specifications/onebox-1.5.39.gemspec
        Using ruby-readability 0.7.0
        0:  ruby-readability (0.7.0) from /var/www/discourse/vendor/bundle/ruby/2.3.0/specifications/ruby-readability-0.7.0.gemspec
        Using sinatra 1.4.6
        0:  sinatra (1.4.6) from /var/www/discourse/vendor/bundle/ruby/2.3.0/specifications/sinatra-1.4.6.gemspec
        Using aws-sdk-core 2.3.7
        0:  aws-sdk-core (2.3.7) from /var/www/discourse/vendor/bundle/ruby/2.3.0/specifications/aws-sdk-core-2.3.7.gemspec
        Using ember-handlebars-template 0.7.3
        0:  ember-handlebars-template (0.7.3) from /var/www/discourse/vendor/bundle/ruby/2.3.0/specifications/ember-handlebars-template-0.7.3.gemspec
        Using domain_name 0.5.25
        0:  domain_name (0.5.25) from /var/www/discourse/vendor/bundle/ruby/2.3.0/specifications/domain_name-0.5.25.gemspec
        Using oauth2 1.0.0
        0:  oauth2 (1.0.0) from /var/www/discourse/vendor/bundle/ruby/2.3.0/specifications/oauth2-1.0.0.gemspec
        Using omniauth-oauth 1.1.0
        0:  omniauth-oauth (1.1.0) from /var/www/discourse/vendor/bundle/ruby/2.3.0/specifications/omniauth-oauth-1.1.0.gemspec
        Using omniauth-openid 1.0.1
        0:  omniauth-openid (1.0.1) from /var/www/discourse/vendor/bundle/ruby/2.3.0/specifications/omniauth-openid-1.0.1.gemspec
        Using sidekiq-statistic 1.2.0
        0:  sidekiq-statistic (1.2.0) from /var/www/discourse/vendor/bundle/ruby/2.3.0/specifications/sidekiq-statistic-1.2.0.gemspec
        Using pry-nav 0.2.4
        0:  pry-nav (0.2.4) from /var/www/discourse/vendor/bundle/ruby/2.3.0/specifications/pry-nav-0.2.4.gemspec
        Using pry-rails 0.3.4
        0:  pry-rails (0.3.4) from /var/www/discourse/vendor/bundle/ruby/2.3.0/specifications/pry-rails-0.3.4.gemspec
        Using rspec 3.2.0
        0:  rspec (3.2.0) from /var/www/discourse/vendor/bundle/ruby/2.3.0/specifications/rspec-3.2.0.gemspec
        Using rails-deprecated_sanitizer 1.0.3
        0:  rails-deprecated_sanitizer (1.0.3) from /var/www/discourse/vendor/bundle/ruby/2.3.0/specifications/rails-deprecated_sanitizer-1.0.3.gemspec
        Using globalid 0.3.6
        0:  globalid (0.3.6) from /var/www/discourse/vendor/bundle/ruby/2.3.0/specifications/globalid-0.3.6.gemspec
        Using activemodel 4.2.6
        0:  activemodel (4.2.6) from /var/www/discourse/vendor/bundle/ruby/2.3.0/specifications/activemodel-4.2.6.gemspec
        Using shoulda-matchers 2.8.0
        0:  shoulda-matchers (2.8.0) from /var/www/discourse/vendor/bundle/ruby/2.3.0/specifications/shoulda-matchers-2.8.0.gemspec
        Using rails-html-sanitizer 1.0.3
        0:  rails-html-sanitizer (1.0.3) from /var/www/discourse/vendor/bundle/ruby/2.3.0/specifications/rails-html-sanitizer-1.0.3.gemspec
        Using sanitize 4.0.1
        0:  sanitize (4.0.1) from /var/www/discourse/vendor/bundle/ruby/2.3.0/specifications/sanitize-4.0.1.gemspec
        Using aws-sdk-resources 2.3.7
        0:  aws-sdk-resources (2.3.7) from /var/www/discourse/vendor/bundle/ruby/2.3.0/specifications/aws-sdk-resources-2.3.7.gemspec
        Using http-cookie 1.0.2
        0:  http-cookie (1.0.2) from /var/www/discourse/vendor/bundle/ruby/2.3.0/specifications/http-cookie-1.0.2.gemspec
        Using omniauth-oauth2 1.3.1
        0:  omniauth-oauth2 (1.3.1) from /var/www/discourse/vendor/bundle/ruby/2.3.0/specifications/omniauth-oauth2-1.3.1.gemspec
        Using omniauth-twitter 1.2.1
        0:  omniauth-twitter (1.2.1) from /var/www/discourse/vendor/bundle/ruby/2.3.0/specifications/omniauth-twitter-1.2.1.gemspec
        Using rspec-given 3.7.1
        0:  rspec-given (3.7.1) from /var/www/discourse/vendor/bundle/ruby/2.3.0/specifications/rspec-given-3.7.1.gemspec
        Using rspec-html-matchers 0.7.0
        0:  rspec-html-matchers (0.7.0) from /var/www/discourse/vendor/bundle/ruby/2.3.0/specifications/rspec-html-matchers-0.7.0.gemspec
        Using rails-dom-testing 1.0.7
        0:  rails-dom-testing (1.0.7) from /var/www/discourse/vendor/bundle/ruby/2.3.0/specifications/rails-dom-testing-1.0.7.gemspec
        Using activejob 4.2.6
        0:  activejob (4.2.6) from /var/www/discourse/vendor/bundle/ruby/2.3.0/specifications/activejob-4.2.6.gemspec
        Using active_model_serializers 0.8.3
        0:  active_model_serializers (0.8.3) from /var/www/discourse/vendor/bundle/ruby/2.3.0/specifications/active_model_serializers-0.8.3.gemspec
        Using activerecord 4.2.6
        0:  activerecord (4.2.6) from /var/www/discourse/vendor/bundle/ruby/2.3.0/specifications/activerecord-4.2.6.gemspec
        Using rails-observers 0.1.2
        0:  rails-observers (0.1.2) from /var/www/discourse/vendor/bundle/ruby/2.3.0/specifications/rails-observers-0.1.2.gemspec
        Using shoulda 3.5.0
        0:  shoulda (3.5.0) from /var/www/discourse/vendor/bundle/ruby/2.3.0/specifications/shoulda-3.5.0.gemspec
        Using aws-sdk 2.3.7
        0:  aws-sdk (2.3.7) from /var/www/discourse/vendor/bundle/ruby/2.3.0/specifications/aws-sdk-2.3.7.gemspec
        Using rest-client 1.8.0
        0:  rest-client (1.8.0) from /var/www/discourse/vendor/bundle/ruby/2.3.0/specifications/rest-client-1.8.0.gemspec
        Using omniauth-facebook 3.0.0
        0:  omniauth-facebook (3.0.0) from /var/www/discourse/vendor/bundle/ruby/2.3.0/specifications/omniauth-facebook-3.0.0.gemspec
        Using omniauth-github-discourse 1.1.2
        0:  omniauth-github-discourse (1.1.2) from /var/www/discourse/vendor/bundle/ruby/2.3.0/specifications/omniauth-github-discourse-1.1.2.gemspec
        Using omniauth-google-oauth2 0.3.1
        0:  omniauth-google-oauth2 (0.3.1) from /var/www/discourse/vendor/bundle/ruby/2.3.0/specifications/omniauth-google-oauth2-0.3.1.gemspec
        Using omniauth-instagram 1.0.2
        0:  omniauth-instagram (1.0.2) from /var/www/discourse/vendor/bundle/ruby/2.3.0/specifications/omniauth-instagram-1.0.2.gemspec
        Using actionview 4.2.6
        0:  actionview (4.2.6) from /var/www/discourse/vendor/bundle/ruby/2.3.0/specifications/actionview-4.2.6.gemspec
        Using seed-fu 2.3.5
        0:  seed-fu (2.3.5) from /var/www/discourse/vendor/bundle/ruby/2.3.0/specifications/seed-fu-2.3.5.gemspec
        Using actionpack 4.2.6
        0:  actionpack (4.2.6) from /var/www/discourse/vendor/bundle/ruby/2.3.0/specifications/actionpack-4.2.6.gemspec
        Using actionmailer 4.2.6
        0:  actionmailer (4.2.6) from /var/www/discourse/vendor/bundle/ruby/2.3.0/specifications/actionmailer-4.2.6.gemspec
        Using railties 4.2.6
        0:  railties (4.2.6) from /var/www/discourse/vendor/bundle/ruby/2.3.0/specifications/railties-4.2.6.gemspec
        Using sprockets-rails 3.0.4
        0:  sprockets-rails (3.0.4) from /var/www/discourse/vendor/bundle/ruby/2.3.0/specifications/sprockets-rails-3.0.4.gemspec
        Using discourse-qunit-rails 0.0.9
        0:  discourse-qunit-rails (0.0.9) from /var/www/discourse/vendor/bundle/ruby/2.3.0/specifications/discourse-qunit-rails-0.0.9.gemspec
        Using jquery-rails 4.0.5
        0:  jquery-rails (4.0.5) from /var/www/discourse/vendor/bundle/ruby/2.3.0/specifications/jquery-rails-4.0.5.gemspec
        Using rspec-rails 3.2.3
        0:  rspec-rails (3.2.3) from /var/www/discourse/vendor/bundle/ruby/2.3.0/specifications/rspec-rails-3.2.3.gemspec
        Using rails 4.2.6
        0:  rails (4.2.6) from /var/www/discourse/vendor/bundle/ruby/2.3.0/specifications/rails-4.2.6.gemspec
        Using sass-rails 5.0.4
        0:  sass-rails (5.0.4) from /var/www/discourse/vendor/bundle/ruby/2.3.0/specifications/sass-rails-5.0.4.gemspec
        Using ember-rails 0.18.5
        0:  ember-rails (0.18.5) from /var/www/discourse/vendor/bundle/ruby/2.3.0/specifications/ember-rails-0.18.5.gemspec
        Using spork-rails 4.0.0
        0:  spork-rails (4.0.0) from /var/www/discourse/vendor/bundle/ruby/2.3.0/specifications/spork-rails-4.0.0.gemspec
        Bundle complete! 98 Gemfile dependencies, 179 gems now installed.
        Gems in the group development were not installed.
        Bundled gems are installed into ./vendor/bundle.

        I, [2016-05-25T07:39:40.045463 #13]  INFO -- : > cd /var/www/discourse && su discourse -c 'bundle exec rake db:migrate'
        Removing superflous user columns!
        I, [2016-05-25T07:39:56.142768 #13]  INFO -- :
        == Seed from /var/www/discourse/db/fixtures/001_categories.rb

        == Seed from /var/www/discourse/db/fixtures/002_groups.rb

        == Seed from /var/www/discourse/db/fixtures/003_post_action_types.rb
         - PostActionType {:id=>1, :name_key=>"bookmark", :is_flag=>false, :position=>1}
         - PostActionType {:id=>2, :name_key=>"like", :is_flag=>false, :icon=>"heart", :position=>2}
         - PostActionType {:id=>3, :name_key=>"off_topic", :is_flag=>true, :position=>3}
         - PostActionType {:id=>4, :name_key=>"inappropriate", :is_flag=>true, :position=>4}
         - PostActionType {:id=>5, :name_key=>"vote", :is_flag=>false, :position=>5}
         - PostActionType {:id=>8, :name_key=>"spam", :is_flag=>true, :position=>6}
         - PostActionType {:id=>6, :name_key=>"notify_user", :is_flag=>true, :position=>7}
         - PostActionType {:id=>7, :name_key=>"notify_moderators", :is_flag=>true, :position=>8}

        == Seed from /var/www/discourse/db/fixtures/004_screened_ip_addresses.rb
         - ScreenedIpAddress {:id=>1, :ip_address=>"10.0.0.0/8", :action_type=>2}
         - ScreenedIpAddress {:id=>2, :ip_address=>"192.168.0.0/16", :action_type=>2}
         - ScreenedIpAddress {:id=>3, :ip_address=>"127.0.0.0/8", :action_type=>2}
         - ScreenedIpAddress {:id=>4, :ip_address=>"172.16.0.0/12", :action_type=>2}
         - ScreenedIpAddress {:id=>5, :ip_address=>"fc00::/7", :action_type=>2}

        == Seed from /var/www/discourse/db/fixtures/005_badge_types.rb
         - BadgeType {:id=>1, :name=>"Gold"}
         - BadgeType {:id=>2, :name=>"Silver"}
         - BadgeType {:id=>3, :name=>"Bronze"}

        == Seed from /var/www/discourse/db/fixtures/006_badges.rb
         - BadgeGrouping {:id=>1, :name=>"Getting Started", :default_position=>10}
         - BadgeGrouping {:id=>2, :name=>"Community", :default_position=>11}
         - BadgeGrouping {:id=>3, :name=>"Posting", :default_position=>12}
         - BadgeGrouping {:id=>4, :name=>"Trust Level", :default_position=>13}
         - BadgeGrouping {:id=>5, :name=>"Other", :default_position=>14}
         - Badge {:id=>1, :default_name=>"Basic User", :badge_type_id=>3, :query=>"\n  SELECT u.id user_id, current_timestamp granted_at FROM users u\n  WHERE trust_level >= 1 AND (\n    :backfill OR u.id IN (:user_ids)\n  )\n", :default_badge_grouping_id=>4, :trigger=>4, :default_allow_title=>false, :default_icon=>"fa-user", :system=>true}
         - Badge {:id=>2, :default_name=>"Member", :badge_type_id=>3, :query=>"\n  SELECT u.id user_id, current_timestamp granted_at FROM users u\n  WHERE trust_level >= 2 AND (\n    :backfill OR u.id IN (:user_ids)\n  )\n", :default_badge_grouping_id=>4, :trigger=>4, :default_allow_title=>false, :default_icon=>"fa-user", :system=>true}
         - Badge {:id=>3, :default_name=>"Regular", :badge_type_id=>2, :query=>"\n  SELECT u.id user_id, current_timestamp granted_at FROM users u\n  WHERE trust_level >= 3 AND (\n    :backfill OR u.id IN (:user_ids)\n  )\n", :default_badge_grouping_id=>4, :trigger=>4, :default_allow_title=>true, :default_icon=>"fa-user", :system=>true}
         - Badge {:id=>4, :default_name=>"Leader", :badge_type_id=>1, :query=>"\n  SELECT u.id user_id, current_timestamp granted_at FROM users u\n  WHERE trust_level >= 4 AND (\n    :backfill OR u.id IN (:user_ids)\n  )\n", :default_badge_grouping_id=>4, :trigger=>4, :default_allow_title=>true, :default_icon=>"fa-user", :system=>true}
         - Badge {:id=>17, :default_name=>"Reader", :badge_type_id=>3, :multiple_grant=>false, :target_posts=>false, :show_posts=>false, :query=>"  SELECT id user_id, current_timestamp granted_at\n  FROM users\n  WHERE id IN\n  (\n    SELECT pt.user_id\n    FROM post_timings pt\n    JOIN badge_posts b ON b.post_number = pt.post_number AND\n                          b.topic_id = pt.topic_id\n    JOIN topics t ON t.id = pt.topic_id\n    LEFT JOIN user_badges ub ON ub.badge_id = 17 AND ub.user_id = pt.user_id\n    WHERE ub.id IS NULL AND t.posts_count > 100\n    GROUP BY pt.user_id, pt.topic_id, t.posts_count\n    HAVING count(*) >= t.posts_count\n  )\n", :default_badge_grouping_id=>1, :auto_revoke=>false, :system=>true}
         - Badge {:id=>16, :default_name=>"Read Guidelines", :badge_type_id=>3, :multiple_grant=>false, :target_posts=>false, :show_posts=>false, :query=>"  SELECT user_id, read_faq granted_at\n  FROM user_stats\n  WHERE read_faq IS NOT NULL AND (user_id IN (:user_ids) OR :backfill)\n", :default_badge_grouping_id=>1, :trigger=>8, :system=>true}
         - Badge {:id=>14, :default_name=>"First Link", :badge_type_id=>3, :multiple_grant=>false, :target_posts=>true, :show_posts=>true, :query=>"  SELECT l.user_id, l.post_id, l.created_at granted_at\n  FROM\n  (\n    SELECT MIN(l1.id) id\n    FROM topic_links l1\n    JOIN badge_posts p1 ON p1.id = l1.post_id\n    JOIN badge_posts p2 ON p2.id = l1.link_post_id\n    WHERE NOT reflection AND p1.topic_id <> p2.topic_id AND not quote AND\n      (:backfill OR ( p1.id in (:post_ids) ))\n    GROUP BY l1.user_id\n  ) ids\n  JOIN topic_links l ON l.id = ids.id\n", :default_badge_grouping_id=>1, :trigger=>2, :system=>true}
         - Badge {:id=>15, :default_name=>"First Quote", :badge_type_id=>3, :multiple_grant=>false, :target_posts=>true, :show_posts=>true, :query=>"  SELECT ids.user_id, q.post_id, q.created_at granted_at\n  FROM\n  (\n    SELECT p1.user_id, MIN(q1.id) id\n    FROM quoted_posts q1\n    JOIN badge_posts p1 ON p1.id = q1.post_id\n    JOIN badge_posts p2 ON p2.id = q1.quoted_post_id\n    WHERE (:backfill OR ( p1.id IN (:post_ids) ))\n    GROUP BY p1.user_id\n  ) ids\n  JOIN quoted_posts q ON q.id = ids.id\n", :default_badge_grouping_id=>1, :trigger=>2, :system=>true}
         - Badge {:id=>11, :default_name=>"First Like", :badge_type_id=>3, :multiple_grant=>false, :target_posts=>true, :show_posts=>true, :query=>"  SELECT pa1.user_id, pa1.created_at granted_at, pa1.post_id\n  FROM (\n    SELECT pa.user_id, min(pa.id) id\n    FROM post_actions pa\n    JOIN badge_posts p on p.id = pa.post_id\n    WHERE post_action_type_id = 2 AND\n      (:backfill OR pa.post_id IN (:post_ids) )\n    GROUP BY pa.user_id\n  ) x\n  JOIN post_actions pa1 on pa1.id = x.id\n", :default_badge_grouping_id=>1, :trigger=>1, :system=>true}
         - Badge {:id=>13, :default_name=>"First Flag", :badge_type_id=>3, :multiple_grant=>false, :target_posts=>true, :show_posts=>false, :query=>"  SELECT pa1.user_id, pa1.created_at granted_at, pa1.post_id\n  FROM (\n    SELECT pa.user_id, min(pa.id) id\n    FROM post_actions pa\n    JOIN badge_posts p on p.id = pa.post_id\n    WHERE post_action_type_id IN (3,4,7,8) AND\n      (:backfill OR pa.post_id IN (:post_ids) )\n    GROUP BY pa.user_id\n  ) x\n  JOIN post_actions pa1 on pa1.id = x.id\n", :badge_grouping_id=>1, :default_badge_grouping_id=>1, :trigger=>1, :auto_revoke=>false, :system=>true}
         - Badge {:id=>25, :default_name=>"Promoter", :default_icon=>"fa-user-plus", :badge_type_id=>3, :multiple_grant=>false, :target_posts=>false, :show_posts=>false, :query=>"\n  SELECT u.id user_id, current_timestamp granted_at\n  FROM users u\n  WHERE u.id IN (\n    SELECT invited_by_id\n    FROM invites i\n    JOIN users u2 ON u2.id = i.user_id\n    WHERE i.deleted_at IS NULL AND u2.active AND u2.trust_level >= 0 AND not u2.blocked\n    GROUP BY invited_by_id\n    HAVING COUNT(*) >= 1\n  ) AND u.active AND NOT u.blocked AND u.id > 0 AND\n    (:backfill OR u.id IN (:user_ids) )\n", :default_badge_grouping_id=>2, :trigger=>0, :auto_revoke=>true, :system=>true}
         - Badge {:id=>26, :default_name=>"Campaigner", :default_icon=>"fa-user-plus", :badge_type_id=>2, :multiple_grant=>false, :target_posts=>false, :show_posts=>false, :query=>"\n  SELECT u.id user_id, current_timestamp granted_at\n  FROM users u\n  WHERE u.id IN (\n    SELECT invited_by_id\n    FROM invites i\n    JOIN users u2 ON u2.id = i.user_id\n    WHERE i.deleted_at IS NULL AND u2.active AND u2.trust_level >= 1 AND not u2.blocked\n    GROUP BY invited_by_id\n    HAVING COUNT(*) >= 3\n  ) AND u.active AND NOT u.blocked AND u.id > 0 AND\n    (:backfill OR u.id IN (:user_ids) )\n", :default_badge_grouping_id=>2, :trigger=>0, :auto_revoke=>true, :system=>true}
         - Badge {:id=>27, :default_name=>"Champion", :default_icon=>"fa-user-plus", :badge_type_id=>1, :multiple_grant=>false, :target_posts=>false, :show_posts=>false, :query=>"\n  SELECT u.id user_id, current_timestamp granted_at\n  FROM users u\n  WHERE u.id IN (\n    SELECT invited_by_id\n    FROM invites i\n    JOIN users u2 ON u2.id = i.user_id\n    WHERE i.deleted_at IS NULL AND u2.active AND u2.trust_level >= 2 AND not u2.blocked\n    GROUP BY invited_by_id\n    HAVING COUNT(*) >= 5\n  ) AND u.active AND NOT u.blocked AND u.id > 0 AND\n    (:backfill OR u.id IN (:user_ids) )\n", :default_badge_grouping_id=>2, :trigger=>0, :auto_revoke=>true, :system=>true}
         - Badge {:id=>12, :default_name=>"First Share", :badge_type_id=>3, :multiple_grant=>false, :target_posts=>true, :show_posts=>true, :query=>"  SELECT views.user_id, i2.post_id, i2.created_at granted_at\n  FROM\n  (\n    SELECT i.user_id, MIN(i.id) i_id\n    FROM incoming_links i\n    JOIN badge_posts p on p.id = i.post_id\n    WHERE i.user_id IS NOT NULL\n    GROUP BY i.user_id\n  ) as views\n  JOIN incoming_links i2 ON i2.id = views.i_id\n", :default_badge_grouping_id=>1, :trigger=>0, :system=>true}
         - Badge {:id=>21, :default_name=>"Nice Share", :badge_type_id=>3, :multiple_grant=>true, :target_posts=>true, :show_posts=>true, :query=>"  SELECT views.user_id, i2.post_id, current_timestamp granted_at\n  FROM\n  (\n    SELECT i.user_id, MIN(i.id) i_id\n    FROM incoming_links i\n    JOIN badge_posts p on p.id = i.post_id\n    WHERE i.user_id IS NOT NULL\n    GROUP BY i.user_id,i.post_id\n    HAVING COUNT(*) > 25\n  ) as views\n  JOIN incoming_links i2 ON i2.id = views.i_id\n", :default_badge_grouping_id=>2, :trigger=>0, :system=>true}
         - Badge {:id=>22, :default_name=>"Good Share", :badge_type_id=>2, :multiple_grant=>true, :target_posts=>true, :show_posts=>true, :query=>"  SELECT views.user_id, i2.post_id, current_timestamp granted_at\n  FROM\n  (\n    SELECT i.user_id, MIN(i.id) i_id\n    FROM incoming_links i\n    JOIN badge_posts p on p.id = i.post_id\n    WHERE i.user_id IS NOT NULL\n    GROUP BY i.user_id,i.post_id\n    HAVING COUNT(*) > 300\n  ) as views\n  JOIN incoming_links i2 ON i2.id = views.i_id\n", :default_badge_grouping_id=>2, :trigger=>0, :system=>true}
         - Badge {:id=>23, :default_name=>"Great Share", :badge_type_id=>1, :multiple_grant=>true, :target_posts=>true, :show_posts=>true, :query=>"  SELECT views.user_id, i2.post_id, current_timestamp granted_at\n  FROM\n  (\n    SELECT i.user_id, MIN(i.id) i_id\n    FROM incoming_links i\n    JOIN badge_posts p on p.id = i.post_id\n    WHERE i.user_id IS NOT NULL\n    GROUP BY i.user_id,i.post_id\n    HAVING COUNT(*) > 1000\n  ) as views\n  JOIN incoming_links i2 ON i2.id = views.i_id\n", :default_badge_grouping_id=>2, :trigger=>0, :system=>true}
         - Badge {:id=>5, :default_name=>"Welcome", :badge_type_id=>3, :multiple_grant=>false, :target_posts=>true, :show_posts=>true, :query=>"  SELECT p.user_id, min(post_id) post_id, min(pa.created_at) granted_at\n  FROM post_actions pa\n  JOIN badge_posts p on p.id = pa.post_id\n  WHERE post_action_type_id = 2 AND\n      (:backfill OR pa.post_id IN (:post_ids) )\n  GROUP BY p.user_id\n", :default_badge_grouping_id=>2, :trigger=>1, :system=>true}
         - Badge {:id=>9, :default_name=>"Autobiographer", :badge_type_id=>3, :multiple_grant=>false, :query=>"  SELECT u.id user_id, current_timestamp granted_at\n  FROM users u\n  JOIN user_profiles up on u.id = up.user_id\n  WHERE bio_raw IS NOT NULL AND LENGTH(TRIM(bio_raw)) > 10 AND\n        uploaded_avatar_id IS NOT NULL AND\n        (:backfill OR u.id IN (:user_ids) )\n", :default_badge_grouping_id=>1, :trigger=>8, :system=>true}
         - Badge {:id=>10, :default_name=>"Editor", :badge_type_id=>3, :multiple_grant=>false, :query=>"  SELECT p.user_id, min(p.id) post_id, min(p.created_at) granted_at\n  FROM badge_posts p\n  WHERE p.self_edits > 0 AND\n      (:backfill OR p.id IN (:post_ids) )\n  GROUP BY p.user_id\n", :badge_grouping_id=>1, :default_badge_grouping_id=>1, :trigger=>2, :system=>true}
         - Badge {:id=>6, :default_name=>"Nice Post", :badge_type_id=>3, :multiple_grant=>true, :target_posts=>true, :show_posts=>true, :query=>"\n  SELECT p.user_id, p.id post_id, p.updated_at granted_at\n  FROM badge_posts p\n  WHERE p.post_number > 1 AND p.like_count >= 10 AND\n    (:backfill OR p.id IN (:post_ids) )\n", :default_badge_grouping_id=>3, :trigger=>1, :system=>true}
         - Badge {:id=>7, :default_name=>"Good Post", :badge_type_id=>2, :multiple_grant=>true, :target_posts=>true, :show_posts=>true, :query=>"\n  SELECT p.user_id, p.id post_id, p.updated_at granted_at\n  FROM badge_posts p\n  WHERE p.post_number > 1 AND p.like_count >= 25 AND\n    (:backfill OR p.id IN (:post_ids) )\n", :default_badge_grouping_id=>3, :trigger=>1, :system=>true}
         - Badge {:id=>8, :default_name=>"Great Post", :badge_type_id=>1, :multiple_grant=>true, :target_posts=>true, :show_posts=>true, :query=>"\n  SELECT p.user_id, p.id post_id, p.updated_at granted_at\n  FROM badge_posts p\n  WHERE p.post_number > 1 AND p.like_count >= 50 AND\n    (:backfill OR p.id IN (:post_ids) )\n", :default_badge_grouping_id=>3, :trigger=>1, :system=>true}
         - Badge {:id=>18, :default_name=>"Nice Topic", :badge_type_id=>3, :multiple_grant=>true, :target_posts=>true, :show_posts=>true, :query=>"\n  SELECT p.user_id, p.id post_id, p.updated_at granted_at\n  FROM badge_posts p\n  WHERE p.post_number = 1 AND p.like_count >= 10 AND\n    (:backfill OR p.id IN (:post_ids) )\n", :default_badge_grouping_id=>3, :trigger=>1, :system=>true}
         - Badge {:id=>19, :default_name=>"Good Topic", :badge_type_id=>2, :multiple_grant=>true, :target_posts=>true, :show_posts=>true, :query=>"\n  SELECT p.user_id, p.id post_id, p.updated_at granted_at\n  FROM badge_posts p\n  WHERE p.post_number = 1 AND p.like_count >= 25 AND\n    (:backfill OR p.id IN (:post_ids) )\n", :default_badge_grouping_id=>3, :trigger=>1, :system=>true}
         - Badge {:id=>20, :default_name=>"Great Topic", :badge_type_id=>1, :multiple_grant=>true, :target_posts=>true, :show_posts=>true, :query=>"\n  SELECT p.user_id, p.id post_id, p.updated_at granted_at\n  FROM badge_posts p\n  WHERE p.post_number = 1 AND p.like_count >= 50 AND\n    (:backfill OR p.id IN (:post_ids) )\n", :default_badge_grouping_id=>3, :trigger=>1, :system=>true}
         - Badge {:id=>24, :default_name=>"Anniversary", :default_icon=>"fa-clock-o", :badge_type_id=>2, :query=>"  SELECT u.id AS user_id, MIN(u.created_at + interval '1 year') AS granted_at\n    FROM users u\n    JOIN posts p ON p.user_id = u.id\n   WHERE u.id > 0\n     AND u.active\n     AND NOT u.blocked\n     AND u.created_at + interval '1 year' < now()\n     AND p.deleted_at IS NULL\n     AND NOT p.hidden\n     AND p.created_at + interval '1 year' > now()\n     AND (:backfill OR u.id IN (:user_ids))\n   GROUP BY u.id\n   HAVING COUNT(p.id) > 0\n", :default_badge_grouping_id=>2, :trigger=>0, :auto_revoke=>false, :system=>true}
         - Badge {:id=>28, :default_name=>"Popular Link", :badge_type_id=>3, :multiple_grant=>true, :target_posts=>true, :show_posts=>true, :query=>"        SELECT tl.user_id, post_id, current_timestamp granted_at\n          FROM topic_links tl\n          JOIN posts p  ON p.id = post_id    AND p.deleted_at IS NULL\n          JOIN topics t ON t.id = p.topic_id AND t.deleted_at IS NULL AND t.archetype <> 'private_message'\n         WHERE NOT tl.internal\n           AND tl.clicks >= 50\n      GROUP BY tl.user_id, tl.post_id\n", :badge_grouping_id=>3, :default_badge_grouping_id=>3, :trigger=>0, :system=>true}
         - Badge {:id=>29, :default_name=>"Hot Link", :badge_type_id=>2, :multiple_grant=>true, :target_posts=>true, :show_posts=>true, :query=>"        SELECT tl.user_id, post_id, current_timestamp granted_at\n          FROM topic_links tl\n          JOIN posts p  ON p.id = post_id    AND p.deleted_at IS NULL\n          JOIN topics t ON t.id = p.topic_id AND t.deleted_at IS NULL AND t.archetype <> 'private_message'\n         WHERE NOT tl.internal\n           AND tl.clicks >= 300\n      GROUP BY tl.user_id, tl.post_id\n", :badge_grouping_id=>3, :default_badge_grouping_id=>3, :trigger=>0, :system=>true}
         - Badge {:id=>30, :default_name=>"Famous Link", :badge_type_id=>1, :multiple_grant=>true, :target_posts=>true, :show_posts=>true, :query=>"        SELECT tl.user_id, post_id, current_timestamp granted_at\n          FROM topic_links tl\n          JOIN posts p  ON p.id = post_id    AND p.deleted_at IS NULL\n          JOIN topics t ON t.id = p.topic_id AND t.deleted_at IS NULL AND t.archetype <> 'private_message'\n         WHERE NOT tl.internal\n           AND tl.clicks >= 1000\n      GROUP BY tl.user_id, tl.post_id\n", :badge_grouping_id=>3, :default_badge_grouping_id=>3, :trigger=>0, :system=>true}
         - Badge {:id=>36, :name=>"Appreciated", :default_name=>"Appreciated", :default_icon=>"fa-heart", :badge_type_id=>3, :query=>"      SELECT p.user_id, current_timestamp AS granted_at\n      FROM posts AS p\n      WHERE p.like_count >= 1\n        AND (:backfill OR p.user_id IN (:user_ids))\n      GROUP BY p.user_id\n      HAVING count(*) > 20\n", :default_badge_grouping_id=>2, :trigger=>0, :auto_revoke=>false, :system=>true}
         - Badge {:id=>37, :name=>"Respected", :default_name=>"Respected", :default_icon=>"fa-heart", :badge_type_id=>2, :query=>"      SELECT p.user_id, current_timestamp AS granted_at\n      FROM posts AS p\n      WHERE p.like_count >= 2\n        AND (:backfill OR p.user_id IN (:user_ids))\n      GROUP BY p.user_id\n      HAVING count(*) > 100\n", :default_badge_grouping_id=>2, :trigger=>0, :auto_revoke=>false, :system=>true}
         - Badge {:id=>31, :name=>"Admired", :default_name=>"Admired", :default_icon=>"fa-heart", :badge_type_id=>1, :query=>"      SELECT p.user_id, current_timestamp AS granted_at\n      FROM posts AS p\n      WHERE p.like_count >= 5\n        AND (:backfill OR p.user_id IN (:user_ids))\n      GROUP BY p.user_id\n      HAVING count(*) > 300\n", :default_badge_grouping_id=>2, :trigger=>0, :auto_revoke=>false, :system=>true}
         - Badge {:id=>38, :default_name=>"Thank You", :default_icon=>"fa-heart", :badge_type_id=>3, :query=>"      SELECT us.user_id, current_timestamp AS granted_at\n      FROM user_stats AS us\n      INNER JOIN posts AS p ON p.user_id = us.user_id\n      WHERE p.like_count > 0\n        AND us.likes_given >= 10\n        AND (:backfill OR us.user_id IN (:user_ids))\n      GROUP BY us.user_id, us.likes_given\n      HAVING COUNT(*) > 20\n", :badge_grouping_id=>2, :default_badge_grouping_id=>2, :trigger=>0, :auto_revoke=>false, :system=>true}
         - Badge {:id=>32, :default_name=>"Gives Back", :default_icon=>"fa-heart", :badge_type_id=>2, :query=>"      SELECT us.user_id, current_timestamp AS granted_at\n      FROM user_stats AS us\n      INNER JOIN posts AS p ON p.user_id = us.user_id\n      WHERE p.like_count > 0\n        AND us.likes_given >= 100\n        AND (:backfill OR us.user_id IN (:user_ids))\n      GROUP BY us.user_id, us.likes_given\n      HAVING COUNT(*) > 100\n", :badge_grouping_id=>2, :default_badge_grouping_id=>2, :trigger=>0, :auto_revoke=>false, :system=>true}
         - Badge {:id=>39, :default_name=>"Empathetic", :default_icon=>"fa-heart", :badge_type_id=>1, :query=>"      SELECT us.user_id, current_timestamp AS granted_at\n      FROM user_stats AS us\n      INNER JOIN posts AS p ON p.user_id = us.user_id\n      WHERE p.like_count > 0\n        AND us.likes_given >= 1000\n        AND (:backfill OR us.user_id IN (:user_ids))\n      GROUP BY us.user_id, us.likes_given\n      HAVING COUNT(*) > 500\n", :badge_grouping_id=>2, :default_badge_grouping_id=>2, :trigger=>0, :auto_revoke=>false, :system=>true}
         - Badge {:id=>33, :name=>"Out of Love", :default_name=>"Out of Love", :default_icon=>"fa-heart", :badge_type_id=>3, :query=>"      SELECT gdl.user_id, current_timestamp AS granted_at\n      FROM given_daily_likes AS gdl\n      WHERE gdl.limit_reached\n        AND (:backfill OR gdl.user_id IN (:user_ids))\n      GROUP BY gdl.user_id\n      HAVING COUNT(*) >= 1\n", :badge_grouping_id=>2, :default_badge_grouping_id=>2, :trigger=>0, :auto_revoke=>false, :system=>true}
         - Badge {:id=>34, :name=>"Higher Love", :default_name=>"Higher Love", :default_icon=>"fa-heart", :badge_type_id=>2, :query=>"      SELECT gdl.user_id, current_timestamp AS granted_at\n      FROM given_daily_likes AS gdl\n      WHERE gdl.limit_reached\n        AND (:backfill OR gdl.user_id IN (:user_ids))\n      GROUP BY gdl.user_id\n      HAVING COUNT(*) >= 5\n", :badge_grouping_id=>2, :default_badge_grouping_id=>2, :trigger=>0, :auto_revoke=>false, :system=>true}
         - Badge {:id=>35, :name=>"Crazy in Love", :default_name=>"Crazy in Love", :default_icon=>"fa-heart", :badge_type_id=>1, :query=>"      SELECT gdl.user_id, current_timestamp AS granted_at\n      FROM given_daily_likes AS gdl\n      WHERE gdl.limit_reached\n        AND (:backfill OR gdl.user_id IN (:user_ids))\n      GROUP BY gdl.user_id\n      HAVING COUNT(*) >= 20\n", :badge_grouping_id=>2, :default_badge_grouping_id=>2, :trigger=>0, :auto_revoke=>false, :system=>true}
         - Badge {:id=>40, :default_name=>"First Mention", :badge_type_id=>3, :multiple_grant=>false, :target_posts=>true, :show_posts=>true, :query=>"  SELECT acting_user_id AS user_id, min(target_post_id) AS post_id, min(p.created_at) AS granted_at\n  FROM user_actions\n  JOIN posts p ON p.id = target_post_id\n  JOIN topics t ON t.id = topic_id\n  JOIN categories c on c.id = category_id\n  WHERE action_type = 7\n    AND NOT read_restricted\n    AND p.deleted_at IS  NULL\n    AND t.deleted_at IS  NULL\n    AND t.visible\n    AND t.archetype <> 'private_message'\n    AND (:backfill OR p.id IN (:post_ids))\n  GROUP BY acting_user_id\n", :badge_grouping_id=>1, :default_badge_grouping_id=>1, :trigger=>2, :system=>true}
         - Badge {:id=>41, :default_name=>"First Emoji", :badge_type_id=>3, :multiple_grant=>false, :target_posts=>true, :show_posts=>true, :query=>nil, :badge_grouping_id=>1, :default_badge_grouping_id=>1, :trigger=>16, :system=>true}
         - Badge {:id=>42, :default_name=>"First Onebox", :badge_type_id=>3, :multiple_grant=>false, :target_posts=>true, :show_posts=>true, :query=>nil, :badge_grouping_id=>1, :default_badge_grouping_id=>1, :trigger=>16, :system=>true}

        == Seed from /var/www/discourse/db/fixtures/009_users.rb
         - User {:id=>-1, :name=>"system", :username=>"system", :username_lower=>"system", :email=>"no_email", :password=>"b2a1cd6b065eebb5e00e5071f9a8cdb6", :active=>true, :admin=>true, :moderator=>true, :approved=>true, :trust_level=>4}

        == Seed from /var/www/discourse/db/fixtures/500_lounge_category.rb

        == Seed from /var/www/discourse/db/fixtures/501_meta_category.rb

        == Seed from /var/www/discourse/db/fixtures/502_staff_category.rb

        == Seed from /var/www/discourse/db/fixtures/999_settings.rb

        == Seed from /var/www/discourse/db/fixtures/999_topics.rb

        I, [2016-05-25T07:39:56.146241 #13]  INFO -- : > cd /var/www/discourse && su discourse -c 'bundle exec rake assets:precompile'
        I, [2016-05-25T07:40:15.349823 #291]  INFO -- : Writing /var/www/discourse/public/assets/vendor-6c83cefb781b3fa325bff76e9ba637bf719260cc7353ee0179cd706e79535999.js
        I, [2016-05-25T07:40:30.352258 #13]  INFO -- : Purging temp files

        I, [2016-05-25T07:40:30.364835 #13]  INFO -- : Terminating async processes
        I, [2016-05-25T07:40:30.365892 #13]  INFO -- : Sending INT to HOME=/var/lib/postgresql USER=postgres exec chpst -u postgres:postgres:ssl-cert -U postgres:postgres:ssl-cert /usr/lib/postgresql/9.5/bin/postmaster -D /etc/postgresql/9.5/main pid: 42
        I, [2016-05-25T07:40:30.369352 #13]  INFO -- : Sending TERM to exec chpst -u redis -U redis /usr/bin/redis-server /etc/redis/redis.conf pid: 171
        171:signal-handler (1464162030) Received SIGTERM scheduling shutdown...
        2016-05-25 07:40:30 UTC [42-2] LOG:  received fast shutdown request
        2016-05-25 07:40:30 UTC [42-3] LOG:  aborting any active transactions
        2016-05-25 07:40:30 UTC [49-2] LOG:  autovacuum launcher shutting down
        2016-05-25 07:40:30 UTC [46-1] LOG:  shutting down
        2016-05-25 07:40:30 UTC [46-2] LOG:  database system is shut down
        171:M 25 May 07:40:30.426 # User requested shutdown...
        171:M 25 May 07:40:30.427 * Saving the final RDB snapshot before exiting.
        171:M 25 May 07:40:30.444 * DB saved on disk
        171:M 25 May 07:40:30.445 # Redis is now ready to exit, bye bye...


        FAILED
        --------------------
        RuntimeError: cd /var/www/discourse && su discourse -c 'bundle exec rake assets:precompile' failed with return #<Process::Status: pid 289 exit 137>
        Location of failure: /pups/lib/pups/exec_command.rb:105:in `spawn'
        exec failed with the params {"cd"=>"$home", "hook"=>"bundle_exec", "cmd"=>["su discourse -c 'bundle install --deployment --verbose --without test --without development'", "su discourse -c 'bundle exec rake db:migrate'", "su discourse -c 'bundle exec rake assets:precompile'"]}
        b61c02fe6e3dbd6ab382d23592fab25bdcba02fc7666f20cd9874c521bf2e537
        ** FAILED TO BOOTSTRAP ** please scroll up and look for earlier error messages, there may be more than one
        root@ubuntu-512mb-nyc2-01:/var/discourse#

(Sam Saffron) #3

hmm not seeing any errors there, can you try rebuilding again?


(Tarlan Isaev) #4

The same trouble, also I couldn’t destroy it :slight_smile:

root@ubuntu-512mb-nyc2-01:~# sudo ./launcher rebuild app
sudo: ./launcher: command not found
root@ubuntu-512mb-nyc2-01:~# cd /var/discourse
root@ubuntu-512mb-nyc2-01:/var/discourse# sudo ./launcher rebuild app
Ensuring launcher is up to date
Fetching origin
remote: Counting objects: 4, done.
remote: Compressing objects: 100% (4/4), done.
remote: Total 4 (delta 0), reused 0 (delta 0), pack-reused 0
Unpacking objects: 100% (4/4), done.
From https://github.com/discourse/discourse_docker
   5819e89..8c92508  master     -> origin/master
Updating Launcher
Updating 5819e89..8c92508
Fast-forward
 templates/postgres.template.yml | 1 -
 1 file changed, 1 deletion(-)
Usage: launcher COMMAND CONFIG [--skip-prereqs] [--docker-args STRING]
Commands:
    start:      Start/initialize a container
    stop:       Stop a running container
    restart:    Restart a container
    destroy:    Stop and remove a container
    enter:      Use nsenter to get a shell into a container
    logs:       View the Docker logs for a container
    bootstrap:  Bootstrap a container for the config based on a template
    rebuild:    Rebuild a container (destroy old, bootstrap, start new)
    cleanup:    Remove all containers that have stopped for > 24 hours

Options:
    --skip-prereqs             Don't check launcher prerequisites
    --docker-args              Extra arguments to pass when running docker

    root@ubuntu-512mb-nyc2-01:/var/discourse# sudo ./launcher start app

    + /usr/bin/docker run -d --restart=always -e LANG=en_US.UTF-8 -e RAILS_ENV=production -e UNICORN_WORKERS=3 -e UNICORN_SIDEKIQS=1 -e RUBY_GLOBAL_METHOD_CACHE_SIZE=131072 -e DISCOURSE_DB_SOCKET=/var/run/postgresql -e DISCOURSE_DB_HOST= -e DISCOURSE_DB_PORT= -e DISCOURSE_HOSTNAME=cleaneone.com -e DISCOURSE_DEVELOPER_EMAILS=tamerlanium@gmail.com -e DISCOURSE_SMTP_ADDRESS=smtp.gmail.com -h ubuntu-512mb-nyc2-01-app -e DOCKER_HOST_IP=172.17.0.1 --name app -t -p 80:80 -p 443:443 -v /var/discourse/shared/standalone:/shared -v /var/discourse/shared/standalone/log/var-log:/var/log --mac-address 02:0f:a9:e5:74:fb local_discourse/app /sbin/boot
    Unable to find image 'local_discourse/app:latest' locally
    Pulling repository docker.io/local_discourse/app
    /usr/bin/docker: Error: image local_discourse/app not found.
    See '/usr/bin/docker run --help'.

root@ubuntu-512mb-nyc2-01:/var/discourse# sudo ./launcher destroy app
+ /usr/bin/docker stop -t 10 app
Error response from daemon: No such container: app
app was not found