【问题标题】:GitLab Activity section shows recent changes with a big delayGitLab 活动部分显示了最近的更改,但延迟很大
【发布时间】:2016-07-26 21:18:45
【问题描述】:

自从我将 GitLab CE 升级到 8.6 它停止显示最近的更改,例如在活动部分 也没有显示 MR 的最新提交。

现在运行最新版本 (8.6.4) 仍然是同样的问题。

正如您在下面看到的那样,检查看起来不错

root@server:~# sudo gitlab-rake gitlab:check
Checking GitLab Shell ...

GitLab Shell version >= 2.6.12 ? ... OK (2.6.12)
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
hooks directories in repos are links: ... 
Administrator / projectX ... ok
Running /opt/gitlab/embedded/service/gitlab-shell/bin/check
Check GitLab API access: OK
Check directories and files: 
    /var/opt/gitlab/git-data/repositories: OK
    /var/opt/gitlab/.ssh/authorized_keys: OK
Test redis-cli executable: redis-cli 2.8.24
Send ping to redis server: PONG
gitlab-shell self-check successful

Checking GitLab Shell ... Finished

Checking Sidekiq ...

Running? ... yes
Number of Sidekiq processes ... 1

Checking Sidekiq ... Finished

Checking Reply by email ...

Reply by email is disabled in config/gitlab.yml

Checking Reply by email ... Finished

Checking LDAP ...

LDAP is disabled in config/gitlab.yml

Checking LDAP ... Finished

Checking GitLab ...

Git configured with autocrlf=input? ... yes
Database config exists? ... yes
All migrations up? ... yes
Database contains orphaned GroupMembers? ... no
GitLab config exists? ... yes
GitLab config outdated? ... no
Log directory writable? ... yes
Tmp directory writable? ... yes
Uploads directory setup correctly? ... yes
Init script exists? ... skipped (omnibus-gitlab has no init script)
Init script up-to-date? ... skipped (omnibus-gitlab has no init script)
projects have namespace: ... 
Administrator / projectX ... yes
Redis version >= 2.8.0? ... yes
Ruby version >= 2.1.0 ? ... yes (2.1.8)
Your git bin path is "/opt/gitlab/embedded/bin/git"
Git version >= 2.7.3 ? ... yes (2.7.4)
Active users: 21

Checking GitLab ... Finished

试图:

  1. 重启 GitLab
  2. 清除缓存

更新 版本升级到最新版本有帮助

【问题讨论】:

  • 这里的解决方案 gitlab.com/gitlab-org/gitlab-ce/issues/2675 没有帮助:验证存储库目录中的链接“hooks -> /opt/gitlab/embedded/service/gitlab-shell/hooks”。
  • 大约 2 分钟(可能正好 2 分钟)
  • 在进行任何更改之后(例如推送新分支)。我运行 gitlab-rake cache:clear ,它仍然等待 2 分钟以显示更改。所以看起来它与缓存问题有关
  • @Thomas 谢谢,但我的问题是延迟(2 分钟),而不是根本看不到变化

标签: gitlab gitlab-omnibus


【解决方案1】:

升级到下一个版本的软件确实有帮助。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2016-05-09
    • 1970-01-01
    • 2019-01-27
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多