我已经从源代码安装了 GitLab (Ubuntu 16.04)。所以我尝试使用以下命令来备份我的 gitlab 系统:
sudo -u git -H bundle exec rake gitlab:backup:create RAILS_ENV=production
不幸的是,我只收到以下错误:
Could not locate Gemfile or .bundle / directory
我就是无法让它工作。
最佳答案
查找 gitlab-rails
文件夹(例如 /opt/gitlab/embedded/service/gitlab-rails/
)
然后尝试从该文件夹中执行相同的命令。
关于ubuntu - Gitlab导出: Could not locate Gemfile or .包/目录,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/52769372/