How to check the version of GitLab?

后端 未结 15 1408
我寻月下人不归
我寻月下人不归 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:15

    If you are using a self-hosted version of GitLab then you may consider running this command.

    grep gitlab /opt/gitlab/version-manifest.txt

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

    Get information about GitLab and the system it runs on :

    bundle exec rake gitlab:env:info RAILS_ENV=production
    

    Example output of gitlab:env:info

    System information
    System:     Arch Linux
    Current User:   git
    Using RVM:  yes
    RVM Version:    1.20.3
    Ruby Version:   2.0.0p0
    Gem Version:    2.0.0
    Bundler Version:1.3.5
    Rake Version:   10.0.4
    
    GitLab information
    Version:    5.2.0.pre
    Revision:   4353bab
    Directory:  /home/git/gitlab
    DB Adapter: mysql2
    URL:        http://gitlab.arch
    HTTP Clone URL: http://gitlab.arch/some-project.git
    SSH Clone URL:  git@gitlab.arch:some-project.git
    Using LDAP: no
    Using Omniauth: no
    
    GitLab Shell
    Version:    1.4.0
    Repositories:   /home/git/repositories/
    Hooks:      /home/git/gitlab-shell/hooks/
    Git:        /usr/bin/git
    

    Read this article, it will help you.

    0 讨论(0)
  • 2020-12-12 14:17
    cat /opt/gitlab/version-manifest.txt |grep gitlab-ce|awk '{print $2}'
    
    0 讨论(0)
提交回复
热议问题