Failed
$ cd /var/www/discourse && git fetch && git reset --hard HEAD@{upstream}
Checking out files: 41% (3024/7374)
Checking out files: 42% (3098/7374)
Checking out files: 43% (3171/7374)
Checking out files: 44% (3245/7374)
Checking out files: 45% (3319/7374)
Checking out files: 46% (3393/7374)
Checking out files: 47% (3466/7374)
Checking out files: 48% (3540/7374)
Checking out files: 49% (3614/7374)
Checking out files: 50% (3687/7374)
Checking out files: 51% (3761/7374)
Checking out files: 52% (3835/7374)
Checking out files: 53% (3909/7374)
Checking out files: 54% (3982/7374)
Checking out files: 55% (4056/7374)
Checking out files: 56% (4130/7374)
Checking out files: 57% (4204/7374)
Checking out files: 58% (4277/7374)
Checking out files: 59% (4351/7374)
Checking out files: 60% (4425/7374)
Checking out files: 61% (4499/7374)
Checking out files: 62% (4572/7374)
Checking out files: 63% (4646/7374)
Checking out files: 64% (4720/7374)
Checking out files: 65% (4794/7374)
Checking out files: 66% (4867/7374)
Checking out files: 67% (4941/7374)
Checking out files: 68% (5015/7374)
Checking out files: 69% (5089/7374)
Checking out files: 70% (5162/7374)
Checking out files: 71% (5236/7374)
Checking out files: 72% (5310/7374)
Checking out files: 73% (5384/7374)
Checking out files: 74% (5457/7374)
Checking out files: 75% (5531/7374)
Checking out files: 76% (5605/7374)
Checking out files: 77% (5678/7374)
Checking out files: 78% (5752/7374)
Checking out files: 79% (5826/7374)
Checking out files: 80% (5900/7374)
Checking out files: 81% (5973/7374)
Checking out files: 82% (6047/7374)
Checking out files: 83% (6121/7374)
Checking out files: 84% (6195/7374)
Checking out files: 85% (6268/7374)
Checking out files: 86% (6342/7374)
Checking out files: 87% (6416/7374)
Checking out files: 88% (6490/7374)
Checking out files: 89% (6563/7374)
Checking out files: 90% (6637/7374)
Checking out files: 91% (6711/7374)
Checking out files: 92% (6785/7374)
Checking out files: 93% (6858/7374)
Checking out files: 94% (6932/7374)
Checking out files: 95% (7006/7374)
Checking out files: 96% (7080/7374)
Checking out files: 97% (7153/7374)
Checking out files: 98% (7227/7374)
Checking out files: 99% (7301/7374)
Checking out files: 100% (7374/7374)
Checking out files: 100% (7374/7374), done.
HEAD is now at b85056f Version bump to v1.7.0.beta6
********************************************************
*** Please be patient, next steps might take a while ***
********************************************************
$ bundle install --deployment --without test --without development
Warning: the running version of Bundler is older than the version that created the lockfile. We suggest you upgrade to the latest version of Bundler by running `gem install bundler`.
Fetching gem metadata from https://rubygems.org/.............
Fetching version metadata from https://rubygems.org/...
Fetching dependency metadata from https://rubygems.org/..
Installing rake 11.2.2
Using i18n 0.7.0
Using json 1.8.3
Installing minitest 5.9.1
Using thread_safe 0.3.5
Using builder 3.2.2
Using erubis 2.7.0
Using mini_portile2 2.1.0
Using rack 1.6.4
Installing mime-types 2.99.2
Using arel 6.0.3
Installing jmespath 1.3.1
Using babel-source 5.8.34
Using execjs 2.7.0
Using ember-source 1.12.2
Installing byebug 9.0.6 with native extensions
Using certified 1.0.0
Installing coderay 1.1.1
Using concurrent-ruby 1.0.2
Using connection_pool 2.2.0
Using crass 1.0.2
Installing daemons 1.2.4
Using diff-lcs 1.2.5
Using thor 0.19.1
Installing discourse_fastimage 2.0.3
Using docile 1.1.5
Using unf_ext 0.0.7.1
Installing email_reply_trimmer 0.1.4
Using eventmachine 1.2.0.1
Installing excon 0.53.0
Using exifr 1.2.4
Using fabrication 2.9.8
Using fakeweb 1.3.0
Using multipart-post 2.0.0
Using fast_blank 1.0.0
Using fast_stack 0.2.0
Using fast_xs 0.8.0
Using ffi 1.9.10
Using flamegraph 0.9.5
Using fspath 2.1.1
Using sorcerer 1.0.2
Using guess_html_encoding 0.0.11
Using hashie 3.4.4
Using highline 1.7.8
Using hiredis 0.6.1
Using htmlentities 4.3.4
Using http_accept_language 2.0.5
Using image_size 1.4.1
Using in_threads 1.3.1
Using progress 3.1.1
Using jwt 1.5.2
Using kgio 2.10.0
Using libv8 5.0.71.48.3
Using listen 0.7.3
Installing logster 1.2.5
Using lru_redux 1.1.0
Using metaclass 0.0.4
Using method_source 0.8.2
Using mock_redis 0.15.4
Using moneta 0.8.0
Using msgpack 0.7.6
Installing multi_json 1.12.1
Using multi_xml 0.5.5
Using mustache 1.0.3
Using netrc 0.11.0
Using oauth 0.4.7
Using oj 2.14.3
Using ruby-openid 2.7.0
Using redis 3.3.0
Using pg 0.18.4
Using slop 3.6.0
Installing puma 3.6.0 with native extensions
Using r2 0.2.6
Using bundler 1.11.2
Using rails_multisite 1.0.4
Using raindrops 0.16.0
Using rb-fsevent 0.9.7
Using trollop 2.1.2
Using rinku 2.0.0
Using rmmseg-cpp 0.2.9
Using rspec-support 3.4.1
Using rtlit 0.0.5
Using sass 3.2.19
Installing tilt 2.0.5
Using shoulda-context 1.2.1
Using simple-rss 1.3.1
Using simplecov-html 0.10.0
Using spork 1.0.0rc4
Installing timecop 0.8.1
Using rake-compiler 0.9.9
Using tzinfo 1.2.2
Installing nokogiri 1.6.8.1 with native extensions
Using rack-test 0.6.3
Installing message_bus 2.0.2
Using rack-mini-profiler 0.10.1
Using rack-protection 1.5.3
Using mail 2.6.4
Installing aws-sdk-core 2.5.3
Using babel-transpiler 0.7.0
Installing uglifier 3.0.2
Using barber 0.11.1
Using ember-data-source 1.0.0.beta.16.1
Installing sprockets 3.6.3
Using unf 0.1.4
Installing thin 1.7.0 with native extensions
Using faraday 0.9.2
Using rb-inotify 0.9.7
Using given_core 3.7.1
Using omniauth 1.3.1
Using image_optim 0.20.2
Using mini_racer 0.1.3
Using mocha 1.1.0
Using rack-openid 1.3.1
Using openid-redis-store 0.0.2
Using redis-namespace 1.5.2
Using sidekiq 4.1.2
Installing pry 0.10.4
Using unicorn 5.1.0
Using rbtrace 0.4.8
Using rspec-core 3.4.4
Using rspec-expectations 3.4.0
Using rspec-mocks 3.4.1
Using simplecov 0.11.1
Using fast_xor 1.1.3
Installing activesupport 4.2.7.1
Using loofah 2.0.3
Using nokogumbo 1.4.7
Installing onebox 1.5.50
Using ruby-readability 0.7.0
Using sinatra 1.4.6
Installing aws-sdk-resources 2.5.3
Using ember-handlebars-template 0.7.3
Using domain_name 0.5.25
Using oauth2 1.0.0
Using omniauth-oauth 1.1.0
Using omniauth-openid 1.0.1
Using sidekiq-statistic 1.2.0
Using pry-nav 0.2.4
Using pry-rails 0.3.4
Using rspec 3.4.0
Using rails-deprecated_sanitizer 1.0.3
Installing globalid 0.3.7
Installing activemodel 4.2.7.1
Using shoulda-matchers 2.8.0
Using rails-html-sanitizer 1.0.3
Using sanitize 4.0.1
Installing aws-sdk 2.5.3
Using http-cookie 1.0.2
Using omniauth-oauth2 1.3.1
Using omniauth-twitter 1.2.1
Using rspec-given 3.7.1
Using rspec-html-matchers 0.7.0
Using rails-dom-testing 1.0.7
Installing activejob 4.2.7.1
Using active_model_serializers 0.8.3
Installing activerecord 4.2.7.1
Using rails-observers 0.1.2
Using shoulda 3.5.0
Using rest-client 1.8.0
Using omniauth-facebook 3.0.0
Using omniauth-github-discourse 1.1.2
Using omniauth-google-oauth2 0.3.1
Using omniauth-instagram 1.0.2
Installing actionview 4.2.7.1
Using seed-fu 2.3.5
Installing actionpack 4.2.7.1
Installing actionmailer 4.2.7.1
Installing railties 4.2.7.1
Installing sprockets-rails 3.1.1
Using discourse-qunit-rails 0.0.9
Using jquery-rails 4.0.5
Using rspec-rails 3.4.2
Installing rails 4.2.7.1
Using sass-rails 5.0.4
Using ember-rails 0.18.5
Using spork-rails 4.0.0
Bundle complete! 99 Gemfile dependencies, 176 gems now installed.
Gems in the group development were not installed.
Bundled gems are installed into ./vendor/bundle.
$ bundle exec rake multisite:migrate
rake aborted!
SyntaxError: /var/www/discourse/lib/tasks/uploads.rake:598: syntax error, unexpected '\n', expecting :: or '[' or '.'
/var/www/discourse/lib/tasks/uploads.rake:600: syntax error, unexpected tIDENTIFIER, expecting keyword_do or '{' or '('
Number of `Upload` records in DB: #{uploads_count}
^
/var/www/discourse/lib/tasks/uploads.rake:600: syntax error, unexpected tIDENTIFIER, expecting keyword_end
Number of `Upload` records in DB: #{uploads_count}
^
/var/www/discourse/lib/tasks/uploads.rake:601: syntax error, unexpected tIDENTIFIER, expecting keyword_end
Number of `OptimizedImage` records in DB: #{optimized_images_count}
^
/var/www/discourse/lib/tasks/uploads.rake:604: syntax error, unexpected tIDENTIFIER, expecting keyword_do or '{' or '('
Number of images in uploads folder: #{paths_count}
^
/var/www/discourse/lib/tasks/uploads.rake:609: syntax error, unexpected keyword_do_block, expecting keyword_end
/var/www/discourse/lib/tasks/uploads.rake:618: syntax error, unexpected keyword_do_block, expecting end-of-input
...value['size'] }.reverse.each do |extname, value|
... ^
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/activesupport-4.2.7.1/lib/active_support/dependencies.rb:268:in `load'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/activesupport-4.2.7.1/lib/active_support/dependencies.rb:268:in `block in load'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/activesupport-4.2.7.1/lib/active_support/dependencies.rb:240:in `load_dependency'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/activesupport-4.2.7.1/lib/active_support/dependencies.rb:268:in `load'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/railties-4.2.7.1/lib/rails/engine.rb:658:in `block in run_tasks_blocks'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/railties-4.2.7.1/lib/rails/engine.rb:658:in `each'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/railties-4.2.7.1/lib/rails/engine.rb:658:in `run_tasks_blocks'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/railties-4.2.7.1/lib/rails/application.rb:452:in `run_tasks_blocks'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/railties-4.2.7.1/lib/rails/engine.rb:453:in `load_tasks'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/railties-4.2.7.1/lib/rails/railtie.rb:194:in `public_send'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/railties-4.2.7.1/lib/rails/railtie.rb:194:in `method_missing'
/var/www/discourse/Rakefile:7:in `'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/rake-11.2.2/exe/rake:27:in `'
(See full trace by running task with --trace)