【问题标题】:GitLab broken UI after upgrade from 6.4 to 6.5GitLab 从 6.4 升级到 6.5 后 UI 损坏
【发布时间】:2014-01-24 13:20:12
【问题描述】:

昨天我将 GitLab 从 6.4.3 更新到 6.5.1,结果 UI 损坏(见截图 https://www.evernote.com/shard/s4/sh/ca64f23a-ea3d-4ef9-bfb6-d6d7d2123ebe/d58835f794611fd3dd3c84397e7b5576

我认为这可能与此版本中引入的新 Bootstrap 3 响应式 UI 有关。它是 6.5.1 的一般问题还是只是我的实例?我注意到演示版 http://demo.gitlab.com/ 仍在运行 6.5.0 并且 UI 似乎还可以。

非常感谢您的任何建议。

【问题讨论】:

标签: twitter-bootstrap gitlab


【解决方案1】:

OP kocour 结束in the comments,如“Graphs lost after upgrading to Gitlab 6.0”;

我的错...我只是忘记预编译 assest 使用:

sudo -u git -H bundle exec rake assets:clean assets:precompile cache:clear RAILS_ENV=production

原答案:

issue 6151 跟踪这些问题:“新布局/响应问题”

GitLab 6.5.1 中的 UI 看起来不像 6.4.3 中那么精致,我猜主要是因为新版本的引导程序。

  • 移动视图 - 无法访问项目列表 (issue 6114)
  • 警告块中的填充不好,顶部块应该是警告块
  • 移动设备上的切换菜单真的很难看,

我想 pull requests 很快就会修正并修复这种情况。

【讨论】:

  • 好吧,我的错...我只是忘记使用 sudo -u git -H bundle exec rake assets:clean assets:precompile cache:clear RAILS_ENV=production 预编译 assest
  • @kocour 好的。为了提高知名度,我已将您的结论包含在答案中。
【解决方案2】:

只执行

sudo -u git -H bundle exec rake assets:clean assets:precompile cache:clear RAILS_ENV=production

没有为我解决问题,在执行命令之前删除 <gitlab_home>/tmp/cache/assets 文件夹后解决。

【讨论】:

    猜你喜欢
    • 2018-01-28
    • 2019-10-10
    • 1970-01-01
    • 1970-01-01
    • 2014-12-14
    • 2016-09-14
    • 2012-11-28
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多