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
  • #3678

Closed
Open
Created Apr 23, 2013 by Administrator@rootOwner

Unable to push to certain Repos after 4.0 - 5.0 upgrade

Created by: sivaramsk

I recently upgrade from 4.0 to 5.0. I have two different groups under which there are couple of repos - like this

group1/repo1 group1/repo2 group1/repo3

group2/repo1 group2/repo2

The group1/repo1 has around 15 users using and has no issues for pushing after the upgrade. But the group2/repo1 is failing with the following error when trying to push. I saw some post with the same error https://github.com/gitlabhq/gitlabhq/pull/1719. But that was 6 months ago and I am not sure how relevant the problem is.

Counting objects: 13, done.
Delta compression using up to 4 threads.
Total 7 (delta 6), reused 0 (delta 0)
remote: Empty compile time value given to use lib at hooks/update line 10[K
remote: Use of uninitialized value in require at hooks/update line 11.[K
remote: Can't locate Gitolite/Hooks/Update.pm in @INC (@INC contains:  /etc/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14 /usr/local/lib/site_perl .) at hooks/update line 11.[K
remote: BEGIN failed--compilation aborted at hooks/update line 11.[K
remote: error: hook declined to update refs/heads/SGBRANCH5_2[K
To [email protected]:legacy/sg.git
 ! [remote rejected] SGBRANCH5_2 -> SGBRANCH5_2 (hook declined)
error: failed to push some refs to '[email protected]:legacy/storegrid.git'
Done

As of now I worked around the issue by commenting out the line

use Gitolite::Hooks::Update;

in hooks update script. Since I don't use any update as of now, Am I right here?

Assignee
Assign to
Time tracking