gitlab无法显示某些项目?

46 views
Skip to first unread message

Yifan Gao

unread,
May 3, 2014, 1:03:50 PM5/3/14
to ustc...@googlegroups.com

某些项目 打开 File页面 会返回500错误(We’re sorry, but something went wrong.)

不知道这类仓库有没有办法修复。


-- 
Yifan Gao

Bojie Li

unread,
May 3, 2014, 3:42:41 PM5/3/14
to USTC_LUG
仓库本身没有问题,是 GitLab 在把 README.textile 转换成 HTML 时出错了。只有首页和 README.md 是500,其他 commit 页面都是正常的。其他仓库大多数都是 README.md,markdown 格式没有问题。

log 在 /home/git/gitlab/log/production.log:
ActionView::Template::Error (cannot load such file -- redcloth):
    10:       %pre.clean
    11:         = readme.data
    12:     - elsif markup?(readme.name)
    13:       = render_markup(readme.name, readme.data)
  app/helpers/application_helper.rb:226:in `render_markup'
  app/views/projects/tree/_readme.html.haml:13:in `_app_views_projects_tree__readme_html_haml___2033614344845254172_34842440'
  app/views/projects/tree/_tree.html.haml:48:in `_app_views_projects_tree__tree_html_haml__4043872662488834738_33473540'
  app/views/projects/tree/show.html.haml:6:in `_app_views_projects_tree_show_html_haml__1647307923595075352_35264120'
  app/controllers/projects/tree_controller.rb:6:in `show'
  app/controllers/application_controller.rb:59:in `set_current_user_for_thread'

我试着重装了 RedCloth gem,重启了 gitlab,问题依旧。你看看吧。


--
-- 来自USTC LUG
请使用gmail订阅,不要灌水。
更多信息more info:http://groups.google.com/group/ustc_lug?hl=en?hl=en

---
You received this message because you are subscribed to the Google Groups "USTC_LUG" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ustc_lug+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages