Skip to content

15.11-stable, Gitaly shutdown, unsupported Git version: "2.36.6" #15

@supar

Description

@supar
docker compose up

...
gitlab-gitaly-1        | time="2023-06-06T10:32:10Z" level=info msg="Starting Gitaly, version 15.11.6"
gitlab-gitaly-1        | time="2023-06-06T10:32:10.351Z" level=info msg="grpc prometheus histograms enabled" latencies="[0.001 0.005 0.025 0.1 0.5 1 10 30 60 300 1500]"
gitlab-gitaly-1        | time="2023-06-06T10:32:18.417Z" level=info msg="License database preloaded"
gitlab-gitaly-1        | time="2023-06-06T10:32:18.419Z" level=error msg="failed to clean up memory cgroups" error="list gitaly process directory: open /sys/fs/cgroup/memory/gitaly: no such file or directory"
gitlab-gitaly-1        | time="2023-06-06T10:32:18.419Z" level=error msg="failed to clean up cpu cgroups" error="list gitaly process directory: open /sys/fs/cgroup/cpu/gitaly: no such file or directory"
gitlab-gitaly-1        | time="2023-06-06T10:32:18.978Z" level=warning msg="Git has not been properly configured, falling back to Git found on PATH" resolvedPath=/usr/bin/git
gitlab-gitaly-1        | time="2023-06-06T10:32:19.030Z" level=error msg="Gitaly shutdown" error="unsupported Git version: \"2.36.6\""
...

Resolve "unsupported Git version" in gitaly/config.yml

# # Git settings
[git]
# bin_path = "/usr/bin/git"
bin_path = "/usr/local/bin/gitaly-git-v2.39"

May be to build gitaly image with linked git binary?

/usr/bin/git -> /usr/local/bin/gitaly-git-v2.39

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions