Cannot use web interface to create/edit/delete files
Created by: stayallive
When trying to edit a file via the web interface the following output is generated in the githost.log
October 19, 2014 23:25 -> ERROR -> Command failed [1]: /usr/bin/git --git-dir=/home/git/gitlab-satellites/stayallive/test/.git --work-tree=/home/git/gitlab-satellites/stayallive/test push origin master
remote: /usr/local/rvm/gems/ruby-2.1.3@global/gems/bundler-1.7.3/lib/bundler/spec_set.rb:92:in `block in materialize': Could not find rake-10.3.2 in any of the sources (Bundler::GemNotFound)[K
remote: from /usr/local/rvm/gems/ruby-2.1.3@global/gems/bundler-1.7.3/lib/bundler/spec_set.rb:85:in `map!'[K
remote: from /usr/local/rvm/gems/ruby-2.1.3@global/gems/bundler-1.7.3/lib/bundler/spec_set.rb:85:in `materialize'[K
remote: from /usr/local/rvm/gems/ruby-2.1.3@global/gems/bundler-1.7.3/lib/bundler/definition.rb:132:in `specs'[K
remote: from /usr/local/rvm/gems/ruby-2.1.3@global/gems/bundler-1.7.3/lib/bundler/definition.rb:177:in `specs_for'[K
remote: from /usr/local/rvm/gems/ruby-2.1.3@global/gems/bundler-1.7.3/lib/bundler/definition.rb:166:in `requested_specs'[K
remote: from /usr/local/rvm/gems/ruby-2.1.3@global/gems/bundler-1.7.3/lib/bundler/environment.rb:18:in `requested_specs'[K
remote: from /usr/local/rvm/gems/ruby-2.1.3@global/gems/bundler-1.7.3/lib/bundler/runtime.rb:13:in `setup'[K
remote: from /usr/local/rvm/gems/ruby-2.1.3@global/gems/bundler-1.7.3/lib/bundler.rb:121:in `setup'[K
remote: from /usr/local/rvm/gems/ruby-2.1.3@global/gems/bundler-1.7.3/lib/bundler/setup.rb:17:in `<top (required)>'[K
remote: from /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'[K
remote: from /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'[K
To /home/git/repositories/stayallive/test.git
! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to '/home/git/repositories/stayallive/test.git'
Check outputs:
/home/git/gitlab# sudo -u git -H bundle exec rake gitlab:check RAILS_ENV=production SANITIZE=true
Checking Environment ...
Git configured for git user? ... yes
Checking Environment ... Finished
Checking GitLab Shell ...
GitLab Shell version >= 2.0.1 ? ... OK (2.0.1)
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
Satellites access is drwxr-x---? ... yes
hooks directories in repos are links: ...
[... removed for lenght, all: ok]
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
Test redis-cli executable: redis-cli 2.8.4
Send ping to redis server: PONG
gitlab-shell self-check successful
Checking GitLab Shell ... Finished
Checking Sidekiq ...
Running? ... yes
Number of Sidekiq processes ... 1
Checking Sidekiq ... Finished
Checking LDAP ...
LDAP is disabled in config/gitlab.yml
Checking LDAP ... Finished
Checking GitLab ...
Database config exists? ... yes
Database is SQLite ... no
All migrations up? ... yes
Database contains orphaned GroupMembers? ... no
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: ...
[... removed for length, all: yes]
Projects have satellites? ...
[... removed for length, all: yes]
Redis version >= 2.0.0? ... yes
Ruby version >= 2.0.0 ? ... yes (2.1.2)
Your git bin path is "/usr/bin/git"
Git version >= 1.7.10 ? ... yes (1.9.1)
Checking GitLab ... Finished
/home/git/gitlab# sudo -u git -H bundle exec rake gitlab:env:info RAILS_ENV=production
System information
System: Ubuntu 14.04
Current User: git
Using RVM: no
Ruby Version: 2.1.2p95
Gem Version: 2.2.2
Bundler Version:1.7.3
Rake Version: 10.3.2
Sidekiq Version:2.17.0
GitLab information
Version: 7.4.0.rc1
Revision: 564c413
Directory: /home/git/gitlab
DB Adapter: mysql2
URL: https://XXX
HTTP Clone URL: https://XXX/some-project.git
SSH Clone URL: git@XXX:some-project.git
Using LDAP: no
Using Omniauth: yes
Omniauth Providers: github, twitter
GitLab Shell
Version: 2.0.1
Repositories: /home/git/repositories/
Hooks: /home/git/gitlab-shell/hooks/
Git: /usr/bin/git
I have seen this error before, but then it could not even start Gitlab itself so I'm not sure where or what is going wrong...
This occurs on 7.3.2 and 7.4.0.rc1 (I upgraded to check if that was the issue).