git lab 观察项目files时500错误
来源:互联网 发布:淘宝装修添加友情链接 编辑:程序博客网 时间:2024/06/01 08:56
刚将git lab从3.0升级到4.0,很多项目导入进来。打开项目的files页面,出现500 错误。
进入服务器,观察日志:/home/gitlab/gitlab/log/production.log 文件中找到错误:
Started GET "/cloudengine/package/tree/master" for 127.0.0.1 at 2013-01-07 10:41:04 +0800Processing by TreeController#show as HTML Parameters: {"project_id"=>"cloudengine/package", "id"=>"master"} Rendered shared/_ref_switcher.html.haml (2.7ms) Rendered shared/_clone_panel.html.haml (0.9ms) Rendered tree/_head.html.haml (5.5ms) Rendered tree/_tree_item.html.haml (4.1ms) Rendered tree/_tree.html.haml (6.9ms) Rendered tree/show.html.haml within layouts/project_resource (13.2ms)Completed 500 Internal Server Error in 54msActionView::Template::Error (Permission denied - (/home/gitlab/gitlab/tmp/cache/assets/sprockets%2F31f4736e6c39e984d230e798c530da2020130107-1340-1xps2q7, /home/gitlab/gitlab/tm\p/cache/assets/CB6/C90/sprockets%2F31f4736e6c39e984d230e798c530da20)): 1: %tr{ class: "tree-item #{tree_hex_class(tree_item)}" } 2: %td.tree-item-file-name 3: = tree_icon(type) 4: %strong= link_to truncate(tree_item.name, length: 40), project_tree_path(@project, tree_join(@id || @commit.id, tree_item.name)) 5: %td.tree_time_ago.cgray 6: %span.log_loading.hide app/helpers/tree_helper.rb:33:in `tree_icon' app/views/tree/_tree_item.html.haml:3:in `_app_views_tree__tree_item_html_haml___1248346142396777318_33157860' app/helpers/tree_helper.rb:21:in `block in render_tree' app/helpers/tree_helper.rb:15:in `each' app/helpers/tree_helper.rb:15:in `render_tree' app/views/tree/_tree.html.haml:34:in `_app_views_tree__tree_html_haml___1664153310566467946_59134580' app/views/tree/show.html.haml:3:in `_app_views_tree_show_html_haml__592423701844535987_55745220' app/controllers/tree_controller.rb:17:in `show'
chmod -R 777 ./tmp
重新启动,一切OK.
- git lab 观察项目files时500错误
- git "fatal: no files added" 错误
- lab simulation files' hierarchy(systemverilog)
- git lab 合并分支
- git lab 打 Tag
- Lab 3:Git实战
- git更新代码提示错误:Checkout conflict with files: .....
- Git Reverting Files
- git ignore modified files
- git rm Untracked files
- git 提交ignore files
- git add init files
- git clean untracked files
- git ignore files配置
- git删除untracked files
- git untracked files
- git错误error: Your local changes to the following files would be overwritten
- git错误解决:error: The following untracked working tree files would be overwritten by merge:
- 从需求角度谈谈开发组织框架(scrum)
- 利用Java Apache POI 生成Word文档
- Spring MVC和Struts2的区别
- WebBrowser控件使用技巧分享
- oracle 表空间下表的容量
- git lab 观察项目files时500错误
- python xml解析之ElementTree 基本读操作示例
- 地图纠偏(火星坐标转wgs-84坐标/wgs-84坐标转火星坐标)
- ABAP 调用smartforms打印
- It产品销售
- oracle dba 学习日志3(backup)
- 如何统计钣金文档中向上和向下折弯的个数
- Cocos2d 中对图片的各种操作
- 判断对象指针是否可用