How to check the version of GitLab?

后端 未结 15 1409
我寻月下人不归
我寻月下人不归 2020-12-12 13:49

How to check which version of GitLab is installed on the server?

I am about version specified in GitLab changelog:
https://gitlab.com/gitlab-org/gitlab-foss/b

相关标签:
15条回答
  • 2020-12-12 14:00

    You can view GitLab's version at: https://your.domain.name/help

    Or via terminal: gitlab-rake gitlab:env:info

    0 讨论(0)
  • 2020-12-12 14:03

    The easiest way is to paste the following command:

    cat /opt/gitlab/version-manifest.txt | head -n 1
    

    and there you get the version installed. :)

    0 讨论(0)
  • 2020-12-12 14:06

    cd /opt/gitlab

    cat version-manifest.txt

    Example:

    gitlab-ctl 6.8.2-omnibus
    gitlab-rails v6.8.2

    Current gitlab version is 6.8.2

    0 讨论(0)
  • 2020-12-12 14:06

    If you are an admin and if you want to see the Gitlab version (and more you didn't know about) click on the wrench/admin menu icon and under Components you can see a lot , especially if you are using Omnibus.

    0 讨论(0)
  • 2020-12-12 14:08

    I have Version: 12.2.0-ee and I tried the URL via (https://yourgitlab/help ) but I have not got this information. In the other hand I got this with gitlab-rake with success into the command line:

    sudo gitlab-rake gitlab:env:info
    

    ... GitLab information Version: 12.2.0-ee ...

    0 讨论(0)
  • 2020-12-12 14:10

    It can be retrieved using REST, see Version API :

    curl --header "PRIVATE-TOKEN: 9koXpg98eAheJpvBs5tK" https://gitlab.example.com/api/v4/version
    

    For authentication see Personal access tokens documentation.

    0 讨论(0)
提交回复
热议问题