4

推送后,我在 GitLab 中看不到提交。它仍然显示新创建的存储库将具有的页面。我已经尝试了故障排除指南,但错误仍然存​​在。

我的虚拟主机:

<VirtualHost *:80>
        ServerName git.example.net
        DocumentRoot /home/git/gitlab/public/
        <Directory /home/git/gitlab/public/>
                AllowOverride all
                Options -MultiViews
        </Directory>
</VirtualHost>

rake gitlab:check RAILS_ 显示以下内容:

    ENV=production
Checking Environment ...

Git configured for git user? ... yes
Has python2? ... yes
python2 is supported version? ... yes

Checking Environment ... Finished

Checking GitLab Shell ...

GitLab Shell version >= 1.7.0 ? ... OK (1.7.1)
Repo base directory exists? ... yes
Repo base directory is a symlink? ... no
Repo base owned by git:git? ... yes
Repo base access is drwxrws---? ... yes
update hook up-to-date? ... yes
update hooks in repos are links: ...
somerepo ... repository is empty

Checking GitLab Shell ... Finished

Checking Sidekiq ...

Running? ... yes

Checking Sidekiq ... Finished

Checking GitLab ...

Database config exists? ... yes
Database is SQLite ... no
All migrations up? ... yes
GitLab config exists? ... yes
GitLab config outdated? ... no
Log directory writable? ... yes
Tmp directory writable? ... yes
Init script exists? ... yes
Init script up-to-date? ... yes
Projects have satellites? ...
somerepo ... can't create, repository is empty
Redis version >= 2.0.0? ... yes
Your git bin path is "/usr/bin/git"
Git version >= 1.7.10 ? ... yes (1.7.10)

Checking GitLab ... Finished

/home/git 目录列表:

drwxr-xr-x 16 git  git  4096 Sep 17 20:45 gitlab
drwxr-xr-x  2 git  git  4096 Sep 17 20:09 gitlab-satellites
drwxr-xr-x  8 git  git  4096 Sep 17 21:40 gitlab-shell
drwxrws---  5 git  git  4096 Sep 17 21:37 repositories
4

1 回答 1

1

只需关闭合并请求并重新打开它。这将显示丢失的提交。可能是它的一个错误。

于 2017-04-12T04:59:07.910 回答