Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • G gitlabhq1
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 21
    • Issues 21
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 12
    • Merge requests 12
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • gpt
  • large_projects
  • gitlabhq1
  • Issues
  • #7647

Closed
Open
Created Aug 29, 2014 by Administrator@rootOwner

Changes could not be committed.

Created by: amouhzi

Message: Your changes could not be committed. Maybe the file was changed by another process or there was nothing to commit?

I did in one time upgrades from 6.7 to 6.8; 6.8 to 6.9; 6.9 to 7.1 ...

This is the error:

August 29, 2014 18:42 -> ERROR -> Command failed [1]: /usr/bin/git --git-dir=/home/git/gitlab-satellites/anezi/php5/.git --work-tree=/home/git/gitlab-satellites/anezi/php5 push origin master
remote: /home/git/lib/ruby/gems/2.1.0/gems/bundler-1.7.2/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 /home/git/lib/ruby/gems/2.1.0/gems/bundler-1.7.2/lib/bundler/spec_set.rb:85:in `map!'[K
remote: from /home/git/lib/ruby/gems/2.1.0/gems/bundler-1.7.2/lib/bundler/spec_set.rb:85:in `materialize'[K
remote: from /home/git/lib/ruby/gems/2.1.0/gems/bundler-1.7.2/lib/bundler/definition.rb:132:in `specs'[K
remote: from /home/git/lib/ruby/gems/2.1.0/gems/bundler-1.7.2/lib/bundler/definition.rb:177:in `specs_for'[K
remote: from /home/git/lib/ruby/gems/2.1.0/gems/bundler-1.7.2/lib/bundler/definition.rb:166:in `requested_specs'[K
remote: from /home/git/lib/ruby/gems/2.1.0/gems/bundler-1.7.2/lib/bundler/environment.rb:18:in `requested_specs'[K
remote: from /home/git/lib/ruby/gems/2.1.0/gems/bundler-1.7.2/lib/bundler/runtime.rb:13:in `setup'[K
remote: from /home/git/lib/ruby/gems/2.1.0/gems/bundler-1.7.2/lib/bundler.rb:121:in `setup'[K
remote: from /home/git/lib/ruby/gems/2.1.0/gems/bundler-1.7.2/lib/bundler/setup.rb:17:in `'[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
remote: error: hook declined to update refs/heads/master[K
To /home/git/repositories/anezi/php5.git
! [remote rejected] master -> master (hook declined)
error: failed to push some refs to '/home/git/repositories/anezi/php5.git'

bundle exec rake gitlab:env:info RAILS_ENV=production

[deprecated] I18n.enforce_available_locales will default to true in the future. If you really want to skip validation of your locale you can set I18n.enforce_available_locales = false to avoid this message.

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.2
Rake Version:   10.3.2
Sidekiq Version:2.17.0

GitLab information
Version:    7.2.0
Revision:   a044c4b
Directory:  /home/git/gitlab
DB Adapter: mysql2
URL:        https://git.anezi.net
HTTP Clone URL: https://git.anezi.net/some-project.git
SSH Clone URL:  [email protected]:some-project.git
Using LDAP: no
Using Omniauth: no

GitLab Shell
Version:    1.9.7
Repositories:   /home/git/repositories/
Hooks:      /home/git/gitlab-shell/hooks/
Git:        /usr/bin/git

bundle exec rake gitlab:check RAILS_ENV=production

Onlly this message is not Ok:

[deprecated] I18n.enforce_available_locales will default to true in the future. If you really want to skip validation of your locale you can set I18n.enforce_available_locales = false to avoid this message.

The others are Ok.

When I try this comand in terminal: /usr/bin/git --git-dir=/home/git/gitlab-satellites/anezi/php5/.git --work-tree=/home/git/gitlab-satellites/anezi/php5 push origin master It gives me:

Counting objects: 9, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (5/5), done.
Writing objects: 100% (5/5), 437 bytes | 0 bytes/s, done.
Total 5 (delta 4), reused 0 (delta 0)
remote: GitLab: You are not allowed to access master!
remote: error: hook declined to update refs/heads/master
To /home/git/repositories/anezi/php5.git
 ! [remote rejected] master -> master (hook declined)
error: failed to push some refs to '/home/git/repositories/anezi/php5.git'

Is it because of this line in the upgrade doc 6.7-to-6.8.md: sudo chmod u+rwx,g=rx,o-rwx /home/git/gitlab-satellites ?

Assignee
Assign to
Time tracking