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

Closed
Open
Created Jun 02, 2013 by Administrator@rootOwner

Error in sideband demultiplxer: hook doesn't read all data

Created by: mgorbach

After moving from gitolite to gitlab (and gitlab-shell), I'm sometimes seeing errors pushing to repositories. This doesn't happen all the time, but it does happen, and the error is something I hadn't seen before. During the push, git says "error in sideband demultiplexer." The commit appears to complete, despite this error. Looking around, it looks like it may be a problem with gitlab's post-receive hook. The contents of the post-receive hook (in my 5.2 stable gitalb version) is: cat hooks/post-receive

!/usr/bin/env ruby

This file was placed here by GitLab.

IT IS DEPRECATED NOW.

All GitLab logic handled by update hook

This script doesn't appear to read all the data that was sent to it. According to a number of online references, not reading everything from the post-receive hook can sometimes cause this specific demultiplexer error.

References: http://www.ioncannon.net/system-administration/1362/example-git-pre-receive-and-post-receive-hooks-to-avoid-a-signal-13-error/ http://stackoverflow.com/questions/4582849/git-responds-with-error-in-sideband-demultiplexer http://stackoverflow.com/questions/9592908/error-in-sideband-demultiplexer-with-a-git-post-receive-hook

Gitlab should probably update to either remove this hook file completely (since it's deprecated), or make sure it does still read the data.

Assignee
Assign to
Time tracking