Skip to content
GitLab
项目 群组 主题 代码片段
  • /
  • 帮助
    • 帮助
    • 支持
    • 社区论坛
    • 提交反馈
  • 登录
  • L large
  • 项目信息
    • 项目信息
    • 动态
    • 标记
    • 成员
  • 仓库
    • 仓库
    • 文件
    • 提交
    • 分支
    • 标签
    • 贡献者统计
    • 分支图
    • 比较修订版本
  • 议题 21
    • 议题 21
    • 列表
    • 看板
    • 服务台
    • 里程碑
  • 合并请求 12
    • 合并请求 12
  • CI/CD
    • CI/CD
    • 流水线
    • 作业
    • 产物
    • 计划
  • 部署
    • 部署
    • 环境
    • 发布
  • 软件包与镜像库
    • 软件包与镜像库
    • 软件包库
    • 容器镜像库
    • Terraform 模块
    • 模型实验
  • 监控
    • 监控
    • 事件
  • 分析
    • 分析
    • 价值流
    • CI/CD
    • 仓库
  • Wiki
    • Wiki
  • 代码片段
    • 代码片段
  • 动态
  • 分支图
  • 创建新议题
  • 作业
  • 提交
  • 议题看板
收起侧边栏
  • 王权利
  • large
  • 议题
  • #7610

All images in help section returns either "404 Not Found" or "500 Internal Server Error" response

Created by: alhashash

When opening the help section, no images are displayed (For example, in backup and workflow/groups sections).

I tried recompiling assets and restarting gitlab/nginx but got the same errors. The .png image files are available at the same location as the .md files and git status shows no change.

For example, .../help/workflow/groups/transfer_project.png returns 404 response. production.log shows:

Started GET "/help/workflow/groups/transfer_project.png" for 192.168.1.19 at 2014-08-26 20:03:56 +0300
Processing by NamespacesController#show as HTML
  Parameters: {"id"=>"help/workflow/groups/transfer_project.png"}
Completed 404 Not Found in 12ms (Views: 4.4ms | ActiveRecord: 2.3ms)

.../help/raketasks/backup_hrz.png returns 500 response. production.log shows:

Started GET "/help/raketasks/backup_hrz.png" for 192.168.1.19 at 2014-08-26 19:57:15 +0300
Processing by HelpController#show as PNG
  Parameters: {"category"=>"raketasks", "file"=>"backup_hrz"}
Completed 500 Internal Server Error in 6ms

ActionView::MissingTemplate (Missing template errors/not_found with {:locale=>[:en], :formats=>[:png], :variants=>[], :handlers=>[:erb, :builder, :raw, :ruby, :slim, :coffee, :haml]}. Searched in:
  * "/home/git/gitlab/app/views"
  * "/home/git/gitlab/vendor/bundle/ruby/gems/semantic-ui-sass-0.16.1.0/app/views"
  * "/home/git/gitlab/vendor/bundle/ruby/gems/kaminari-0.15.1/app/views"
  * "/home/git/gitlab/vendor/bundle/ruby/gems/devise-3.2.4/app/views"
  * "/home/git/gitlab"
  * "/"
):
  app/controllers/application_controller.rb:140:in `not_found!'
  app/controllers/help_controller.rb:12:in `show'

Here is the setup information:

System information
System:
Current User:   git
Using RVM:      no
Ruby Version:   2.0.0p353
Gem Version:    2.0.14
Bundler Version:1.7.2
Rake Version:   10.3.2
Sidekiq Version:2.17.0

GitLab information
Version:        7.2.0
Revision:       935ed64
Directory:      /home/git/gitlab
DB Adapter:     postgresql
URL:            https://xxx.xxxxxx.com
HTTP Clone URL: https://xxx.xxxxxx.com/some-project.git
SSH Clone URL:  git@xxx.xxxxxx.com:some-project.git
Using LDAP:     no
Using Omniauth: no

GitLab Shell
Version:        1.9.7
Repositories:   /home/git/repositories/
Hooks:          /home/git/gitlab-shell/hooks/
Git:            /usr/bin/git
指派人
分配到
工时统计