Ruby on rails GitLab 7-0无法推送或克隆
您好,我尝试了各种链接和配置设置来解决我的问题。但我不能这么做。 如果您仍然觉得该问题是抄袭的或没有用,我请求您发表评论,我将删除该问题,不会打扰任何人。 我在本地网络的新ubuntu 12.04 64位机器上安装了gitlab 7-0 stable。 我的服务器域名是192.168.1.1(我局域网内的一些静态IP) 在此之后,我可以登录管理员和用户。我可以创建项目,通过web UI将所有基础工作分组。 但是我无法使用ssh从局域网中的其他系统克隆代码或将代码推送到服务器 sudo./bin/check的结果为Ruby on rails GitLab 7-0无法推送或克隆,ruby-on-rails,ruby,git,vpn,gitlab,Ruby On Rails,Ruby,Git,Vpn,Gitlab,您好,我尝试了各种链接和配置设置来解决我的问题。但我不能这么做。 如果您仍然觉得该问题是抄袭的或没有用,我请求您发表评论,我将删除该问题,不会打扰任何人。 我在本地网络的新ubuntu 12.04 64位机器上安装了gitlab 7-0 stable。 我的服务器域名是192.168.1.1(我局域网内的一些静态IP) 在此之后,我可以登录管理员和用户。我可以创建项目,通过web UI将所有基础工作分组。 但是我无法使用ssh从局域网中的其他系统克隆代码或将代码推送到服务器 sudo./bin/
Check GitLab API access: OK
Check directories and files:
/home/git/repositories/: OK
/home/git/.ssh/authorized_keys: OK
Test redis-cli executable: redis-cli 2.2.12
Send ping to redis server: PONG
我所有的系统状态都是绿色的
怀疑这可能是gitlab.yml、nginx、unicorn配置的问题
有人能帮我吗
更新:
myconfig/gitlab.yml
production: &base
## GitLab settings
gitlab:
## Web server settings (note: host is the FQDN, do not include http://)
host: 192.168.1.37
port: 80
https: false
email_from: example@example.com
default_projects_limit: 10
## Default project features settings
default_projects_features:
issues: true
merge_requests: true
wiki: true
snippets: false
visibility_level: "private" # can be "private" | "internal" | "public"
issues_tracker:
## Gravatar
gravatar:
enabled: true # Use user avatar image from Gravatar.com (default: true)
ldap:
enabled: false
host: '_your_ldap_server'
port: 636
uid: 'sAMAccountName'
method: 'ssl' # "tls" or "ssl" or "plain"
bind_dn: '_the_full_dn_of_the_user_you_will_bind_with'
password: '_the_password_of_the_bind_user'
allow_username_or_email_login: true
satellites:
# Relative paths are relative to Rails.root (default: tmp/repo_satellites/)
path: /home/git/gitlab-satellites/
## Backup settings
backup:
path: "tmp/backups" # Relative paths are relative to Rails.root (default: tmp/backups/)
# keep_time: 604800 # default: 0 (forever) (in seconds)
## GitLab Shell settings
gitlab_shell:
path: /home/git/gitlab-shell/
# REPOS_PATH MUST NOT BE A SYMLINK!!!
repos_path: /home/git/repositories/
hooks_path: /home/git/gitlab-shell/hooks/
# Git over HTTP
upload_pack: true
receive_pack: true
ssh_port: 22
git:
bin_path: /usr/local/bin/git
max_size: 5242880 # 5.megabytes
# Git timeout to read a commit, in seconds
timeout: 10
extra:
development:
<<: *base
test:
<<: *base
gravatar:
enabled: true
gitlab:
host: localhost
我也有类似的问题 按照安装说明操作时,可以使用
nologin
选项创建git
用户。但在我的Linux机器(openSUSE)上,这会阻止通过SSH进行拉和推
我编辑了文件/etc/passwd
,查找以git
开头的行,并用/bin/bash
替换了行尾(在/bin/false
之前)
不需要重新启动任何东西。你应该能够拉和推
user: git
gitlab_url: http://192.168.1.37
http_settings:
self_signed_cert: false
repos_path: /home/git/repositories/
auth_file: /home/git/.ssh/authorized_keys
redis:
bin: /usr/bin/redis-cli
host: localhost
port: 6379
namespace: resque:gitlab
log_level: INFO
audit_usernames: false
~