Pushing via https rejected via hook failure
Created by: tuminoid
Running GitLab 6.3.0 (original installation 6.1.0 -> 6.2.0 -> 6.3.0).
Creating a test project, checking it out over https using username and password, adding a readme and pushing it results in hook failure and push is rejected.
Expected outcome is successful push via https.
test$ git push
Username for 'https://XXX': tumitest
Password for 'https://tumitest@XXX':
Counting objects: 3, done.
Writing objects: 100% (3/3), 204 bytes | 0 bytes/s, done.
Total 3 (delta 0), reused 0 (delta 0)
remote: /usr/local/lib/ruby/gems/2.0.0/gems/bundler-1.3.5/lib/bundler/spec_set.rb:92:in `block in materialize': Could not find json-1.7.7 in any of the sources (Bundler::GemNotFound)
remote: from /usr/local/lib/ruby/gems/2.0.0/gems/bundler-1.3.5/lib/bundler/spec_set.rb:85:in `map!'
remote: from /usr/local/lib/ruby/gems/2.0.0/gems/bundler-1.3.5/lib/bundler/spec_set.rb:85:in `materialize'
remote: from /usr/local/lib/ruby/gems/2.0.0/gems/bundler-1.3.5/lib/bundler/definition.rb:114:in `specs'
remote: from /usr/local/lib/ruby/gems/2.0.0/gems/bundler-1.3.5/lib/bundler/definition.rb:159:in `specs_for'
remote: from /usr/local/lib/ruby/gems/2.0.0/gems/bundler-1.3.5/lib/bundler/definition.rb:148:in `requested_specs'
remote: from /usr/local/lib/ruby/gems/2.0.0/gems/bundler-1.3.5/lib/bundler/environment.rb:18:in `requested_specs'
remote: from /usr/local/lib/ruby/gems/2.0.0/gems/bundler-1.3.5/lib/bundler/runtime.rb:13:in `setup'
remote: from /usr/local/lib/ruby/gems/2.0.0/gems/bundler-1.3.5/lib/bundler.rb:120:in `setup'
remote: from /usr/local/lib/ruby/gems/2.0.0/gems/bundler-1.3.5/lib/bundler/setup.rb:17:in `<top (required)>'
remote: from /usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:53:in `require'
remote: from /usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:53:in `require'
remote: error: hook declined to update refs/heads/master
To https://XXX/tumitest/test.git
! [remote rejected] master -> master (hook declined)
error: failed to push some refs to 'https://XXX/tumitest/test.git'
Bundle install output:
~/gitlab$ bundle install --deployment --without development test postgres aws
Using rake (10.1.0)
Using i18n (0.6.5)
Using multi_json (1.8.2)
Using activesupport (3.2.15)
Using builder (3.0.4)
Using activemodel (3.2.15)
Using erubis (2.7.0)
Using journey (1.0.4)
Using rack (1.4.5)
Using rack-cache (1.2)
Using rack-test (0.6.2)
Using hike (1.2.3)
Using tilt (1.4.1)
Using sprockets (2.2.2)
Using actionpack (3.2.15)
Using mime-types (1.25)
Using polyglot (0.3.3)
Using treetop (1.4.15)
Using mail (2.5.4)
Using actionmailer (3.2.15)
Using arel (3.0.2)
Using tzinfo (0.3.38)
Using activerecord (3.2.15)
Using activeresource (3.2.15)
Using bundler (1.3.5)
Using rack-ssl (1.3.3)
Using json (1.7.7)
Using rdoc (3.12.2)
Using thor (0.18.1)
Using railties (3.2.15)
Using rails (3.2.15)
Using acts-as-taggable-on (2.4.1)
Using asciidoctor (0.1.3)
Using backports (3.3.2)
Using bcrypt-ruby (3.1.1)
Using sass (3.2.11)
Using bootstrap-sass (2.3.2.2)
Using carrierwave (0.8.0)
Using timers (1.1.0)
Using celluloid (0.14.1)
Using charlock_holmes (0.6.9.4)
Using coffee-script-source (1.6.2)
Using execjs (1.4.0)
Using coffee-script (2.2.0)
Using coffee-rails (3.2.2)
Using chunky_png (1.2.8)
Using fssm (0.2.10)
Using compass (0.12.2)
Using compass-rails (1.0.3)
Using sass-rails (3.2.6)
Using chosen-rails (1.0.0)
Using colored (1.2)
Using connection_pool (1.1.0)
Using d3_rails (3.1.10)
Using descendants_tracker (0.0.1)
Using orm_adapter (0.4.0)
Using warden (1.2.3)
Using devise (2.2.5)
Using devise-async (0.8.0)
Using diff-lcs (1.2.5)
Using dotenv (0.8.0)
Using enumerize (0.6.1)
Using escape_utils (0.2.4)
Using eventmachine (1.0.3)
Using multipart-post (1.2.0)
Using faraday (0.8.7)
Using faraday_middleware (0.9.0)
Using font-awesome-rails (3.2.1.3)
Using foreman (0.63.0)
Using gemoji (1.2.1)
Using posix-spawn (0.3.6)
Using yajl-ruby (1.1.0)
Using pygments.rb (0.4.2)
Using github-linguist (2.3.4)
Using github-markdown (0.5.3)
Using github-markup (0.7.5)
Using gitlab-grit (2.6.2)
Using gitlab-flowdock-git-hook (0.4.2.2)
Using nokogiri (1.5.10)
Using sanitize (2.0.3)
Using stringex (1.5.1)
Using gitlab-gollum-lib (1.0.1)
Using gitlab-grack (1.0.1)
Using gitlab-pygments.rb (0.3.2)
Using gitlab_git (3.0.0.rc2)
Using gitlab_meta (6.0)
Using net-ldap (0.3.1)
Using hashie (1.2.0)
Using omniauth (1.1.4)
Using pyu-ruby-sasl (0.0.3.3)
Using rubyntlm (0.1.1)
Using gitlab_omniauth-ldap (1.0.3)
Using gon (4.1.1)
Using multi_xml (0.5.4)
Using rack-accept (0.4.5)
Using rack-mount (0.8.3)
Using virtus (0.5.5)
Using grape (0.4.1)
Using grape-entity (0.3.0)
Using haml (4.0.3)
Using haml-rails (0.4)
Using httparty (0.11.0)
Using hipchat (0.9.0)
Using http_parser.rb (0.5.3)
Using httpauth (0.2.0)
Using jquery-atwho-rails (0.3.0)
Using jquery-rails (2.1.3)
Using turbolinks (1.2.0)
Using jquery-turbolinks (1.0.0)
Using jquery-ui-rails (2.0.2)
Using jwt (0.1.8)
Using kaminari (0.14.1)
Using kgio (2.8.0)
Using libv8 (3.11.8.17)
Using modernizr (2.6.2)
Using mysql2 (0.3.11)
Using oauth (0.4.7)
Using oauth2 (0.8.1)
Using omniauth-oauth2 (1.1.1)
Using omniauth-github (1.1.0)
Using omniauth-google-oauth2 (0.1.19)
Using omniauth-oauth (1.0.1)
Using omniauth-twitter (0.0.17)
Using rack-attack (2.2.1)
Using rack-protection (1.5.0)
Using raindrops (0.11.0)
Using raphael-rails (2.1.2)
Using redcarpet (2.2.2)
Using redis (3.0.4)
Using redis-store (1.1.4)
Using redis-rack (1.4.4)
Using redis-actionpack (3.2.4)
Using redis-activesupport (3.2.4)
Using redis-namespace (1.3.1)
Using redis-rails (3.2.4)
Using ref (1.0.5)
Using seed-fu (2.2.0)
Using select2-rails (3.4.2)
Using settingslogic (2.0.9)
Using sidekiq (2.14.0)
Using simple_oauth (0.1.9)
Using sinatra (1.4.3)
Using six (0.2.0)
Using temple (0.6.5)
Using slim (2.0.0)
Using stamp (0.5.0)
Using state_machine (1.2.0)
Using therubyracer (0.11.4)
Using twitter-stream (0.1.16)
Using tinder (1.9.2)
Using uglifier (2.1.1)
Using underscore-rails (1.4.4)
Using unicorn (4.6.3)
Cannot write a changed lockfile while frozen.
Your bundle is complete!
Gems in the groups development, test, postgres and aws were not installed.
It was installed into ./vendor/bundle
Gem list:
~/gitlab$ gem list
*** LOCAL GEMS ***
bigdecimal (1.2.0)
bundler (1.3.5)
charlock_holmes (0.6.9.4)
diff-lcs (1.2.4)
io-console (0.4.2)
json (1.7.7)
minitest (4.3.2)
psych (2.0.0)
rake (0.9.6)
rdoc (4.0.0)
test-unit (2.0.0.0)
GitLab check passing green.
~/gitlab$ bundle exec rake gitlab:check RAILS_ENV=production
Checking Environment ...
Git configured for git user? ... yes
Has python2? ... yes
python2 is supported version? ... yes
Checking Environment ... Finished
Checking GitLab Shell ...
GitLab Shell version >= 1.7.9 ? ... OK (1.7.9)
Repo base directory exists? ... yes
Repo base directory is a symlink? ... no
Repo base owned by git:git? ... yes
Repo base access is drwxrws---? ... yes
update hook up-to-date? ... yes
update hooks in repos are links: ...
...project list censored, all saying yes...
Running /home/git/gitlab-shell/bin/check
Check GitLab API access: OK
Check directories and files:
/home/git/repositories: OK
/home/git/.ssh/authorized_keys: OK
/usr/bin/redis-cli: OK
gitlab-shell self-check successful
Checking GitLab Shell ... Finished
Checking Sidekiq ...
Running? ... yes
Number of Sidekiq processes ... 1
Checking Sidekiq ... Finished
Checking GitLab ...
Database config exists? ... yes
Database is SQLite ... no
All migrations up? ... yes
GitLab config exists? ... yes
GitLab config outdated? ... no
Log directory writable? ... yes
Tmp directory writable? ... yes
Init script exists? ... yes
Init script up-to-date? ... yes
projects have namespace: ...
...project list censored, all saying yes...
Projects have satellites? ...
...project list censored, all saying yes...
Redis version >= 2.0.0? ... yes
Your git bin path is "/usr/bin/git"
Git version >= 1.7.10 ? ... yes (1.8.5)
Checking GitLab ... Finished