Gitlab web界面不允许我编辑文件

Gitlab web界面不允许我编辑文件,gitlab,Gitlab,我已经在CentOS 6.5 x64的新安装上安装了稳定版本7.0.0的Gitlab Omnibus 然后我在/var/opt/gitlab/git data/repositories中复制了我的旧gitlab存储库的内容(我运行的是一台Ubuntu机器,gitlab是从git安装的) 尝试从web界面编辑某些文件时出错: Your changes could not be committed, because the file has been changed. 如果我编辑一个维基页面,我会

我已经在CentOS 6.5 x64的新安装上安装了稳定版本7.0.0的Gitlab Omnibus

然后我在
/var/opt/gitlab/git data/repositories
中复制了我的旧gitlab存储库的内容(我运行的是一台Ubuntu机器,gitlab是从git安装的)

尝试从web界面编辑某些文件时出错:

Your changes could not be committed, because the file has been changed.
如果我编辑一个维基页面,我会得到500个错误



然后我尝试了以下命令:

gitlab-rake gitlab:satellites:create RAILS_ENV=production
我的wiki页面现在是可编辑的,但如果我编辑某个存储库文件,会返回相同的错误

然后我尝试删除
/var/opt/gitlab/git data/gitlab satellites/
的内容,但问题没有得到解决

现在,如果我尝试运行
gitlab rake gitlab:satellites:createrails\u ENV=production

config.eager_load is set to nil. Please update your config/environments/*.rb files accordingly:

  * development - set it to false
  * test - set it to false (unless you use a tool that preloads your test environment)
  * production - set it to true

rake aborted!
ActiveRecord::AdapterNotSpecified: 'production' database is not configured. Available: ["production"]

Tasks: TOP => gitlab:satellites:create => environment
(See full trace by running task with --trace)
Mi存储库拥有所有者身份
git:git
和权限
drwsrws---.

如何解决这些问题?

解决了此问题

我跑了

gitlab-rake gitlab:check RAILS_ENV=production
并手动修复那里报告的每个错误。现在一切都好了